Lesson 13

Date: 4/25/2018
High Performance Computing (part II: MPI)
Linux System Administration


MPI run on a cluster

Exercise
  • Make sure all the cluster VMs - master, n01, n02 are running:
    virsh list
    

  • Login to master as user edward.
    There should be directory MPI with an MPI compiled code, ex3.x, left from the previous class.

  • cd MPI and create file called machines with a list of the hosts for MPI run:
    master  slots=2
    n01  slots=1
    n02  slots=1
    

  • Verify that MPI can run across these hosts by executing a Linux system command through mpiexec:
    mpiexec -n 4 -hostfile machines uname -n
    

  • Start MPI run ex3.x on 4 CPUs across three VMs:
    mpiexec -n 4 -hostfile machines ex3.x
    



  • Take me to the Course Website