File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -36,29 +36,23 @@ Launching
36
36
When properly configured, Open MPI obtains both the list of hosts and
37
37
how many processes to start on each host from LSF directly. Hence, it
38
38
is unnecessary to specify the ``--hostfile ``, ``--host ``, or ``-n ``
39
- options to ``mpirun ``. Open MPI will use PBS/Torque -native mechanisms
39
+ options to ``mpirun ``. Open MPI will use LSF -native mechanisms
40
40
to launch and kill processes (``ssh `` is not required).
41
41
42
42
For example:
43
43
44
- .. error :: TODO Need LSF specific content here
45
-
46
44
.. code-block :: sh
47
45
48
- # Allocate a PBS job with 4 nodes
49
- shell$ qsub -I -lnodes=4
46
+ # Allocate a job using 4 nodes with 2 processors per node and run the job on the nodes allocated by LSF
47
+ shell$ bsub -n 8 -R " span[ptile=2] " " mpirun mpi-hello-world "
50
48
51
- # Now run an Open MPI job on all the nodes allocated by PBS/Torque
52
- shell$ mpirun mpi-hello-world
53
49
54
50
This will run the MPI processes on the nodes that were allocated by
55
51
LSF. Or, if submitting a script:
56
52
57
- .. error :: TODO Need LSF specific content here
58
-
59
53
.. code-block :: sh
60
54
61
55
shell$ cat my_script.sh
62
56
#! /bin/sh
63
57
mpirun mpi-hello-world
64
- shell$ qsub -l nodes=4 my_script.sh
58
+ shell$ bsub -n 8 -R " span[ptile=2] " < my_script.sh
You can’t perform that action at this time.
0 commit comments