Initial Setup (flory): Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
In [//www.wikipedia.org/wiki/High-performance_computing High-Performance computing] (HPC) there are several [//www.wikipedia.org/wiki/Compiler compiler] and [//www.wikipedia.org/wiki/Message_passing message passing] systems for users to choose. Selecting a combination of compiler and message passing systems for a particular computational job is an involved process | In [//www.wikipedia.org/wiki/High-performance_computing High-Performance computing] (HPC) there are several [//www.wikipedia.org/wiki/Compiler compiler] and [//www.wikipedia.org/wiki/Message_passing message passing] systems for users to choose. Selecting a combination of compiler and message passing systems for a particular computational job is an involved process that depends upon the intricacies of the calculation and the specifications of the HPC system. This initial setup tutorial will guide the user in setting up a new account to use the most common combination of compiler and message passing system: [//gcc.gnu.org GNU Compiler Collection], and [//www.open-mpi.org Open MPI]. | ||
__TOC__ | __TOC__ | ||
Line 9: | Line 9: | ||
{{Cmd|ls {{HPC-Base-Dir}}/bin|output=<pre>lmp-config pw.x-config selector-compiler selector-mpi</pre>}} | {{Cmd|ls {{HPC-Base-Dir}}/bin|output=<pre>lmp-config pw.x-config selector-compiler selector-mpi</pre>}} | ||
The {{ | The {{Code|selector-compiler}} and {{Code|selector-mpi}} scripts will be used for setting up a new account. | ||
== GNU Compiler Collection == | === GNU Compiler Collection === | ||
== Open MPI == | To setup the GNU Compiler Collection for the currently running environment: | ||
{{ | {{Cmd|source {{HPC-Base-Dir}}/bin/selector-compiler -g|output=<pre>Setup GNU compiler and libraries.</pre>}} | ||
=== Open MPI === | |||
To setup Open MPI that has been compiled with the GNU compiler for the currently running environment: | |||
{{Cmd|source {{HPC-Base-Dir}}/bin/selector-mpi -o|output=<pre>Set MPI to Open MPI with GNU compiler.</pre>}} | |||
== Make Changes permenant == |
Revision as of 14:19, 14 December 2016
In High-Performance computing (HPC) there are several compiler and message passing systems for users to choose. Selecting a combination of compiler and message passing systems for a particular computational job is an involved process that depends upon the intricacies of the calculation and the specifications of the HPC system. This initial setup tutorial will guide the user in setting up a new account to use the most common combination of compiler and message passing system: GNU Compiler Collection, and Open MPI.
Set Defaults
Most of the scripts and programs are located in the
path and it's sub-directories. For the curious, to see what is currently in
, use the Template:Code command. You should see something like this:
user $
ls {{HPC-Base-Dir}}Parameter unnamed not defined. For correct usage see template's documention./bin
lmp-config pw.x-config selector-compiler selector-mpi
The Template:Code and Template:Code scripts will be used for setting up a new account.
GNU Compiler Collection
To setup the GNU Compiler Collection for the currently running environment:
user $
source {{HPC-Base-Dir}}Parameter unnamed not defined. For correct usage see template's documention./bin/selector-compiler -g
Setup GNU compiler and libraries.
Open MPI
To setup Open MPI that has been compiled with the GNU compiler for the currently running environment:
user $
source {{HPC-Base-Dir}}Parameter unnamed not defined. For correct usage see template's documention./bin/selector-mpi -o
Set MPI to Open MPI with GNU compiler.