User Tools

Site Tools


strutture:cnaf:clusterhpc:using_the_cnaf_hpc_cluster

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
strutture:cnaf:clusterhpc:using_the_cnaf_hpc_cluster [2021/02/16 14:20]
dcesini@infn.it [Alternative MPI multinode submission]
strutture:cnaf:clusterhpc:using_the_cnaf_hpc_cluster [2021/03/05 14:54]
dcesini@infn.it [Alternative MPI multinode submission]
Line 126: Line 126:
 </code> </code>
  
-==== 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 197: Line 197:
 2) Use this command to launch mpirun: 2) Use this command to launch mpirun:
  
-    mpirun --machinefile /home/HPC/username/machinefile.txt -x PSM_SHAREDCONTEXTS_MAX=8 -np $NPROC /home/HPC/username/executablename+    mpirun --machinefile /home/HPC/username/machinefile.txt -x PSM_SHAREDCONTEXTS_MAX=8 -np $LSB_DJOB_NUMPROC /home/HPC/username/executablename
  
 A possible bsub submission is:   A possible bsub submission is:  
Line 211: Line 211:
     echo $LSB_HOSTS | awk '{split($0,array," ")} END {for (i in array) printf ("%s\n",array[i])}' | awk '{count[$0]++} END {for (word in count) print word,"slots=" count[word]}' > /home/HPC/username/mymachine.txt     echo $LSB_HOSTS | awk '{split($0,array," ")} END {for (i in array) printf ("%s\n",array[i])}' | awk '{count[$0]++} END {for (word in count) print word,"slots=" count[word]}' > /home/HPC/username/mymachine.txt
  
-    mpirun --machinefile /home/HPC/username/machinefile.txt -x PSM_SHAREDCONTEXTS_MAX=8 -np $NPROC /home/HPC/username/executablename+    mpirun --machinefile /home/HPC/username/machinefile.txt -x PSM_SHAREDCONTEXTS_MAX=8 -np $LSB_DJOB_NUMPROC /home/HPC/username/executablename
 ==== Submitting GPU Jobs ==== ==== Submitting GPU Jobs ====
  
strutture/cnaf/clusterhpc/using_the_cnaf_hpc_cluster.txt ยท Last modified: 2021/03/05 14:54 by dcesini@infn.it