I got an error when tried the mpirun on mpi program. The following is
the error message:
[clement_at_kfc TestMPI]$ mpicc -g -o test main.c
[clement_at_kfc TestMPI]$ mpirun -np 2 test
mpirun noticed that job rank 1 with PID 0 on node "localhost" exited on
[kfc:28466] ERROR: A daemon on node localhost failed to start as expected.
[kfc:28466] ERROR: There may be more information available from
[kfc:28466] ERROR: the remote shell (see above).
[kfc:28466] The daemon received a signal 11.
1 additional process aborted (not shown)
I am using openmpi-1.0rc4 and running on Linux Redhat Fedora Core 4.
The kernal is 2.6.12-1.1456_FC4. My building procedure is as below:
1. ./configure --prefix=/home/clement/openmpi --with-devel-headers
2. make all install
3. login root. add openmpi's path and lib in /etc/bashrc
4. see the $PATH and $LD_LIBRARY_PATH as below
[clement_at_kfc TestMPI]$ echo $PATH
[clement_at_kfc TestMPI]$ echo $LD_LIBRARY_PATH
5. go to mpi program's directory
6. mpicc -g -o test main.c
7. mpirun -np 2 test
Any idea of this problem. Many thanks.
Clement Kam Man Chu
School of Computer Science & Software Engineering
Monash University, Caulfield Campus
Ph: 61 3 9903 1964