Re: [mpich-discuss] Problem Running MPI on cluster
Does your mpi_hello_world binary exist in the same directory on all the machines you are trying to run on? Can you try running this: /usr/lib64/mpich/bin/mpirun -n 4 -f host_file hostname If it outputs the names of the hosts in your hostfile, we can be confident that your mpirun and ssh setup is functioning correctly. Ken On 10/21/2014 12:09 AM, Md. Amjad Hossain wrote:
Hi I am trying to run simple hello world program on cluster nodes. I am running it by following command but getting errors:
Command: /usr/lib64/mpich/bin/mpirun -n 4 -f host_file ./mpi_hello_world
errors: [[email protected] <mailto:[email protected]>] control_cb (./pm/pmiserv/pmiserv_cb.c:202): assert (!closed) failed [[email protected] <mailto:[email protected]>] HYDT_dmxu_poll_wait_for_event (./tools/demux/demux_poll.c:77): callback returned error status [[email protected] <mailto:[email protected]>] HYD_pmci_wait_for_completion (./pm/pmiserv/pmiserv_pmci.c:197): error waiting for event [[email protected] <mailto:[email protected]>] main (./ui/mpich/mpiexec.c:331): process manager error waiting for completion
Before running the command I am setting variables MPIRUN =mpi diretory and MPI_HOSTS=host_file. The "host_file" has four nodes and they can ssh to each other without password.
MPICH version I am running is: 3.0.4. The MPI code is attached.
Any help to solve the problem please?
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
Kenneth Raffenetti