This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cluster:156 [2017/04/04 14:06] hmeij07 |
cluster:156 [2017/04/05 14:42] (current) hmeij07 [OpenHPC page 3] |
||
---|---|---|---|
Line 90: | Line 90: | ||
</ | </ | ||
- | Finish | + | Finish |
+ | {{: | ||
+ | |||
+ | As user '' | ||
+ | |||
+ | < | ||
+ | |||
+ | module avail | ||
+ | module spider | ||
+ | which mpicc | ||
+ | module load gnu/5.4.0 | ||
+ | module load openmpi/ | ||
+ | which gcc | ||
+ | which mpicc | ||
+ | mpicc -O3 / | ||
+ | cp / | ||
+ | which prun | ||
+ | find / | ||
+ | module spider prun | ||
+ | module load prun/1.1 | ||
+ | which prun | ||
+ | sbatch job.mpi | ||
+ | squeue | ||
+ | |||
+ | </ | ||
+ | |||
+ | You do need to install the Infiniband section so you can run over ethernet with OpenMPI | ||
+ | |||
+ | < | ||
+ | |||
+ | yum -y groupinstall " | ||
+ | yum -y install infinipath-psm | ||
+ | systemctl enable rdma | ||
+ | systemctl start rdma | ||
+ | |||
+ | # recipe is missing this: flavor openmpi | ||
+ | |||
+ | yum -y --installroot=/ | ||
+ | |||
+ | # remake vnfs | ||
+ | |||
+ | </ | ||
+ | |||
+ | The following shows up when running MPI over ethernet | ||
+ | |||
+ | < | ||
+ | |||
+ | [prun] Master compute host = n29 | ||
+ | [prun] Resource manager = slurm | ||
+ | [prun] Launch cmd = mpirun ./a.out | ||
+ | -------------------------------------------------------------------------- | ||
+ | [[49978, | ||
+ | was unable to find any relevant network interfaces: | ||
+ | |||
+ | Module: OpenFabrics (openib) | ||
+ | Host: n31 | ||
+ | |||
+ | Another transport will be used instead, although this may result in | ||
+ | lower performance. | ||
+ | -------------------------------------------------------------------------- | ||
+ | |||
+ | | ||
+ | --> Process # 2 of 8 is alive. -> n29.localdomain | ||
+ | --> Process # 3 of 8 is alive. -> n29.localdomain | ||
+ | --> Process # 0 of 8 is alive. -> n29.localdomain | ||
+ | --> Process # 1 of 8 is alive. -> n29.localdomain | ||
+ | --> Process # 6 of 8 is alive. -> n31.localdomain | ||
+ | --> Process # 7 of 8 is alive. -> n31.localdomain | ||
+ | --> Process # 4 of 8 is alive. -> n31.localdomain | ||
+ | --> Process # 5 of 8 is alive. -> n31.localdomain | ||
+ | |||
+ | </ | ||
+ | See page 4 for ib0 configuration which is incomplete on the recipe. | ||
+ | |||
+ | [[cluster: | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: |