1MPIEXEC(1)            User Contributed Perl Documentation           MPIEXEC(1)
2
3
4

NAME

6       mpiexec.slurm - Run an MPI program under Slurm
7

SYNOPSIS

9       mpiexec.slurm args executable pgmargs
10
11       where args are comannd line arguments for mpiexec (see below),
12       executable is the name of the eecutable and pgmargs are command line
13       arguments for the executable. For example the following command will
14       run the MPI program a.out on 4 processes:
15
16               mpiexec.slurm -n 4 a.out
17
18       mpiexec.slurm supports the following options:
19
20                [-n nprocs]
21                [-host hostname]
22                [-verbose]
23                [-nostdin]
24                [-allstdin]
25                [-nostdout]
26                [-pernode]
27                [-config config_file]
28                [-help|-?]
29                [-man]
30

DESCRIPTION

32       The mpiexec.slurm
33

OPTIONS

35       -n <np>
36           Specify the number of processes to use
37
38       -host hostname
39           Name of host on which to run processes
40
41       -verbose
42           Increase the verbosity of mpiexec.slurm informational messages.
43           Multiple -verbose's  will further increase mpiexec.slurm's
44           verbosity. By default only errors will be displayed.
45
46       -nostdin
47           Do not connect the standard input stream of process 0 to the
48           mpiexec process.  If the process attempts to read from stdin, it
49           will see an end-of-file.
50
51       -allstdin
52           Send the standard input stream of mpiexec.slurm to all processes.
53           Each character typed to mpiexec (or read from a file) is duplicated
54           numproc times, and sent to each process. This permits every process
55           to read, for example, configuration information from the input
56           stream.
57
58       -nostdout
59           Do not connect the standard output and error streams of each
60           process back to the mpiexec.slurm process. Standard output and
61           error will be respectively writte in files of the form job.ojobid
62           and job.ejobid for batch jobs, and directly to the controlling
63           terminal for interactive jobs.
64
65       -pernode
66           Allocate only one process per compute node. For SMP nodes, only one
67           processor will be allocated a job. This flag is used to implement
68           multiple level parallelism with MPI between nodes, and threads
69           within a node, assmuming the code is set up to do that.
70
71       -config <config_file>
72           Process executable and arguments are specified in the given
73           configuration file.  This flag permits the use of heterogeneous
74           jobs using multiple executables. No executable is given on the
75           command line when using the -config flag. If config_file is "-",
76           then the configuration is read from standard input. In this case
77           the flag -nostdin is mandatory, as it is not possible to separate
78           the contents of the configuration file from process input. The
79           config_file can contain lines beginning with "#", that are
80           considered comments and ignored and and one or more lines with the
81           following format:
82
83                   -n XX : executable [args]
84
85           where XX is the number of processes to be used, executable is the
86           name of the program to run and args are its arguments. For example:
87
88                   # Sample mpiexec config file
89                   # Launch two instance of foo
90                   -n 2 : foo
91                   # and three instances of bar
92                   -n 3 bar
93
94           There is no support for hostname task layout in a config file at
95           the moment.
96
97       -help|-?
98           Display a brief help page
99
100
101
102perl v5.38.0                      2023-10-21                        MPIEXEC(1)
Impressum