Selector-mpi (flory): Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
(Initial commit)
 
No edit summary
Line 3: Line 3:
= Command line parameters =
= Command line parameters =


{{Template Parameter Table|1=
{{Command Option Table|1=
{{Template Parameter|-i <implementation>|Set MPI implementation|required=no}}
{{Command Option|long=implementation|short=i|type=string|Set MPI implementation}}
{{Template Parameter|-o                 | Shortcut for '-i gnu-openmpi'|required=no}}
{{Command Option|                   short=o           |Shortcut for <code>-i gnu-openmpi</code>|required=no}}
{{Template Parameter|-s                 | Shows available MPI implementations or package versions for <implementation>. To see package versions, -i or -o  must specified first, otherwise MPI implementations will be shown.|required=no}}
{{Command Option|long=show          |short=s           |Shows available MPI implementations or package versions for implementation. To see package versions, <code>-i</code> or <code>-o</code> must specified first, otherwise MPI implementations will be shown.}}
{{Template Parameter|-f                 | Full (almost) clean of path. Cleans out extraneous path entries that the typical user does not need (e.g., sbin directories).|required=no}}
{{Command Option|long=fullclean    |short=f           |Full (almost) clean of path. Cleans out extraneous path entries that the typical user does not need (e.g., sbin directories).}}
{{Template Parameter|-c                 | Cleans all paths by removing entries that this script adds, also does a '-f' for a full cleanup. NOTE: If this is specified, the script will clean the path and ignore all other options, except for verbose and quiet.|required=no}}
{{Command Option|long=clean        |short=c           |Cleans all paths by removing entries that this script adds, also does a <code>-f</code> for a full cleanup. '''NOTE''': If this is specified, the script will clean the path and ignore all other options, except for verbose and quiet.}}
{{Template Parameter|-v                 | Be Verbose|required=no}}
{{Command Option|long=verbose      |short=v           | Be Verbose}}
{{Template Parameter|-q                 | Be quiet.|required=no}}
{{Command Option|long=quiet        |short=q           | Be quiet.}}
{{Template Parameter|-h                 | Show the help text.|required=no}}
{{Command Option|long=help          |short=h           | Show the help text.}}
{{Template Parameter|package versions  | List of package versions to use. The default version will be used for any unspecified package. See examples below.|default=default|required=no}}
}}
}}
<code>package versions</code> List of package versions to use. The default version will be used for any unspecified package. See examples below.





Revision as of 12:40, 19 April 2017

The script selector-mpi, located in the /home/bgo/shared/bin directory, makes it easy to setup the environment for supported MPI implementations and packages.

Command line parameters

1Long form options are prefixed with --; 2Short form options are prefixed with -.
Long form1 Short form2 Option type Required? Description
implementation i string No Set MPI implementation
o No Shortcut for -i gnu-openmpi
show s No Shows available MPI implementations or package versions for implementation. To see package versions, -i or -o must specified first, otherwise MPI implementations will be shown.
fullclean f No Full (almost) clean of path. Cleans out extraneous path entries that the typical user does not need (e.g., sbin directories).
clean c No Cleans all paths by removing entries that this script adds, also does a -f for a full cleanup. NOTE: If this is specified, the script will clean the path and ignore all other options, except for verbose and quiet.
verbose v No Be Verbose
quiet q No Be quiet.
help h No Show the help text.

package versions List of package versions to use. The default version will be used for any unspecified package. See examples below.


Examples

Example 1

Example 2

Example 3