프로그램 사용/openHPC

hpl/linpack openmpi slurm

구차니 2021. 1. 5. 19:13

mpirun

 

 

[링크 : http://www.brightcomputing.com/Blog/bid/151678/How-to-run-Linpack-across-a-Bright-Linux-cluster]

[링크 : http://www.open-mpi.org/faq/?category=slurm]

 

+ 2021.01.07

[링크 : https://juser.fz-juelich.de/record/851266/files/Parallel Programming (MPI) and Batch Usage (SLURM).pdf]

[링크 : https://thelinuxcluster.com/.../running-linpack-hpl-test-on-linux-cluster-with-openmpi-and-intel-compilers/]

[링크 : https://ulhpc-tutorials.readthedocs.io/en/latest/parallel/mpi/HPL/]

[링크 : https://stackoverflow.com/questions/13999415/how-do-you-specify-nodes-on-mpiruns-command-line]

[링크 : https://www.open-mpi.org/faq/?category=running#mpirun-scheduling]

 

mpirun 에 host 기재하기

% mpirun -host node1,node1,node2,node2 ...

mpirun 에 hostfile로 지정하기

% cat my_hosts
a slots=2 max_slots=20
b slots=2 max_slots=20
c slots=2 max_slots=20
d slots=2 max_slots=20

Suppose you issue the following command to run program a.out:


% mpirun -np 1 --hostfile my_hosts --host c a.out

[링크 : https://docs.oracle.com/cd/E19923-01/820-6793-10/ExecutingPrograms.html]