Hi,
I am trying to get LAM/MPI and IMPI working. I got lam started on a
machine. On the same machine I got a IMPI server running and here is the
command used: /impi_server -v -server 1 -p 9999
Then I try start a client using the following command:
opt/lammpi/bin/mpirun -v -client 0 132.26.65.155:9999 -np 2
/home/pravenj/povray/povray31/source/mpi-unix/mpi-x-povray
+L/home/pravenj/povray/povray31/include
+i/home/pravenj/povray/povray31/source/mpi-unix/chess2.pov
+o/home/pravenj/povray/povray31/source/mpi-unix/chess2.png +NH032 +NW032
/home/pravenj/povray/povray31/source/mpi-unix/pov320.ini
And I get the following error:
------------------------------------------------------------------------
-----
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.
PID 11176 failed on node n0 (127.0.0.1) due to signal 11.
------------------------------------------------------------------------
-----
Can anyone suggest me what I did wrong.
Pravin
The trace of the execution using the verbose mode are below:
>From Server:
Authentication not specified on command line.
Checking environment variables.
IMPI_AUTH_NONE enabled.
server_auths[0] = 0
IMPI server version 0 started on host medusa.lab.ac.uab.edu
IMPI server listening on port 9999 for 1 connection(s).
138.26.68.111:9999
IMPI server: Entering main server loop.
IMPI server: Accept from: 138.26.68.111
IMPI server: A client has successfully connected
Waiting for IMPI_CMD_AUTH from client
Read inital auth from client.
Waiting for IMPI_Client_auth from client
Got auth mask from client: 0x1
Checking server_auth[0]: 0 (IMPI_AUTH_NONE)
Server and client have agreed on IMPI_AUTH_NONE.
Sending IMPI_Server_auth to client, 0.
WARNING: Client from 138.26.68.111 has connected with IMPI_AUTH_NONE
Sending IMPI_CMD_IMPI to client 0
Sending num_clients = 1 to client 0
Setting poll_clients[i].fd to 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x1000 from client 0
Bytes to be read 8
last_sent = -1, IMPI_INDEX_MAX = 15
Sending COLL:0x100000 to clients
Bytes of coll data to be sent 8
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x1100 from client 0
Bytes to be read 4
last_sent = 1, IMPI_INDEX_MAX = 15
Sending COLL:0x110000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x1200 from client 0
Bytes to be read 4
last_sent = 2, IMPI_INDEX_MAX = 15
Sending COLL:0x120000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x1300 from client 0
Bytes to be read 4
last_sent = 3, IMPI_INDEX_MAX = 15
Sending COLL:0x130000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x1400 from client 0
Bytes to be read 4
last_sent = 4, IMPI_INDEX_MAX = 15
Sending COLL:0x140000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x1500 from client 0
Bytes to be read 4
last_sent = 5, IMPI_INDEX_MAX = 15
Sending COLL:0x150000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x1600 from client 0
Bytes to be read 4
last_sent = 6, IMPI_INDEX_MAX = 15
Sending COLL:0x160000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x2000 from client 0
Bytes to be read 16
last_sent = 7, IMPI_INDEX_MAX = 15
Sending COLL:0x200000 to clients
Bytes of coll data to be sent 16
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x2100 from client 0
Bytes to be read 4
last_sent = 8, IMPI_INDEX_MAX = 15
Sending COLL:0x210000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x2200 from client 0
Bytes to be read 4
last_sent = 9, IMPI_INDEX_MAX = 15
Sending COLL:0x220000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x2300 from client 0
Bytes to be read 4
last_sent = 10, IMPI_INDEX_MAX = 15
Sending COLL:0x230000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x2400 from client 0
Bytes to be read 4
last_sent = 11, IMPI_INDEX_MAX = 15
Sending COLL:0x240000 to clients
Bytes of coll data to be sent 4
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x3000 from client 0
Bytes to be read 32
last_sent = 12, IMPI_INDEX_MAX = 15
Sending COLL:0x300000 to clients
Bytes of coll data to be sent 32
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading COLL:0x3100 from client 0
Bytes to be read 16
last_sent = 13, IMPI_INDEX_MAX = 15
Sending COLL:0x310000 to clients
Bytes of coll data to be sent 16
Going to read from client 0.
Reading from client 0 (fd: 4)
Reading IMPI_CMD_DONE from client 0
last_sent = 14, IMPI_INDEX_MAX = 15
Sending IMPI_CMD_DONE to clients
Setting poll_clients[i].fd to 4
>From Client:
5241 /home/pravenj/povray/povray31/source/mpi-unix/mpi-x-povray running
on n0 (o)
5242 /home/pravenj/povray/povray31/source/mpi-unix/mpi-x-povray running
on n0 (o)
Before MPI init
Before MPI init
WARNING: IMPI server requested IMPI_AUTH_NONE authentication protocol
------------------------------------------------------------------------
-----
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.
PID 5242 failed on node n0 (127.0.0.1) due to signal 11.
------------------------------------------------------------------------
-----
|