MPI on an AWS cluster

909 Views Asked by At

I've been following the tutorial I found at mpitutorial.com, and I've been able to get by on that so far. However, after setting up my AWS cluster, I have hit a small snag. The program is only running on one processor, even with a host file, and the world size is still 1. As a result, I cannot practice with the send/receive code properly.

This is the output I get from mpirun -host master,node001 -n 4 ./mpi_hello_world:

Hello world from processor master, rank 0 out of 1 processors Hello world from processor master, rank 0 out of 1 processors Hello world from processor node001, rank 0 out of 1 processors Hello world from processor node001, rank 0 out of 1 processors

Can anyone tell me why the -host flag isn't actually running the processes on the other instance I started up?

1

There are 1 best solutions below

0
On BEST ANSWER

Using the mpich2 plugin from StarCluster fixes this issue. Thanks for your help, everybody!