This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
strutture:cnaf:clusterhpc:using_the_cnaf_hpc_cluster [2021/02/16 14:17] dcesini@infn.it [An MPI submission script] |
strutture:cnaf:clusterhpc:using_the_cnaf_hpc_cluster [2021/03/05 14:54] dcesini@infn.it [Alternative MPI multinode submission] |
||
---|---|---|---|
Line 126: | Line 126: | ||
</ | </ | ||
- | ==== Submitting MPI Jobs ==== | + | ==== Submitting MPI Jobs via mpirun.lsf (obsolete)==== |
Currently only **OpenMPI** jobs have been tested on the HPC cluster. \\ | Currently only **OpenMPI** jobs have been tested on the HPC cluster. \\ | ||
Line 193: | Line 193: | ||
1) Create automatically the machine file to be using in the mpirun: | 1) Create automatically the machine file to be using in the mpirun: | ||
- | echo $LSB_HOSTS | awk ' | + | echo $LSB_HOSTS | awk ' |
2) Use this command to launch mpirun: | 2) Use this command to launch mpirun: | ||
- | mpirun --machinefile /home/HPC/tandric/ | + | mpirun --machinefile /home/HPC/username/ |
- | All together this became) Submit a script with: | + | A possible bsub submission is: |
- | bsub -q hpc_inf_SL7 | + | bsub -q hpc_inf_SL7 |
- | where in the run_this_example.sh script you have the previous commands. So in this case: | + | where in the run_this_example.sh script you launch |
----run_this_example.sh---- | ----run_this_example.sh---- | ||
Line 209: | Line 209: | ||
#!/bin/bash | #!/bin/bash | ||
- | echo $LSB_HOSTS | awk ' | + | echo $LSB_HOSTS | awk ' |
- | mpirun --machinefile /home/HPC/tandric/ | + | mpirun --machinefile /home/HPC/username/ |
==== Submitting GPU Jobs ==== | ==== Submitting GPU Jobs ==== | ||