Hi,
I just wrote a simple code for Broadcast a MSG . The code is working fine .
But i got this 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 2071 failed on node n1 (192.168.11.28) with exit status 4.
-----------------------------------------------------------------------------
the code is :
MPI_Bcast(message1,100,MPI_CHAR,0,MPI_COMM_WORLD);
if (rank !=0)
creat(message1,022); // Create a file
This Code is making File on Non Zero rank. But i got error which i have
written above.
Please Help me in this regard
Waiting for reply
Thanx
Imran
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
|