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
3636When properly configured, Open MPI obtains both the list of hosts and
3737how many processes to start on each host from LSF directly. Hence, it
3838is 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
4040to launch and kill processes (``ssh `` is not required).
4141
4242For example:
4343
44- .. error :: TODO Need LSF specific content here
45-
4644.. code-block :: sh
4745
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 "
5048
51- # Now run an Open MPI job on all the nodes allocated by PBS/Torque
52- shell$ mpirun mpi-hello-world
5349
5450 This will run the MPI processes on the nodes that were allocated by
5551LSF. Or, if submitting a script:
5652
57- .. error :: TODO Need LSF specific content here
58-
5953.. code-block :: sh
6054
6155 shell$ cat my_script.sh
6256 #! /bin/sh
6357 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