Selector-mpi (flory): Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
No edit summary
Line 9: Line 9:
{{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).}}
{{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).}}
{{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.}}
{{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.}}
{{Command Option|long=verbose      |short=v            | Be Verbose}}
{{Command Option|long=verbose      |short=v            | Be verbose}}
{{Command Option|long=quiet        |short=q            | Be quiet.}}
{{Command Option|long=quiet        |short=q            | Be quiet.}}
{{Command Option|long=help          |short=h            | Show the help text.}}
{{Command Option|long=help          |short=h            | Show the help text.}}
Line 15: Line 15:


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


= Examples =
= Examples =

Revision as of 13:41, 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