[mpich-discuss] Fatal error in MPI_Init

Jayesh Krishna jayesh at mcs.anl.gov
Mon Jul 27 11:00:06 CDT 2009


Hi,
 Did you recompile your code with MPICH2 ? Which version of MPICH2 are you
using ? How are you launching your MPI job (the command used to launch
your job) ? Are you able to run non-MPI programs (Does "mpiexec -n 2
hostname" work ?)?
 
(PS: The error message)
Regards,
Jayesh

  _____  

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Luiz Carlos da
Costa Junior
Sent: Friday, July 24, 2009 10:56 PM
To: MPICH Discuss
Subject: [mpich-discuss] Fatal error in MPI_Init


Dears sirs,

I got the following message when I tried to run my code under Windows XP:


Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(394): Initialization failed
MPID_Init(90)........: channel initialization failed
MPID_Init(357).......: PMI_Init returned -1
[0] PMI_Init failed: FAIL - init called when another process has exited
without calling init

job aborted:
rank: node: exit code[: error message]
0: amsterdam: 1: Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(394): Initialization failed
MPID_Init(90)........: channel initialization failed
MPID_Init(357).......: PMI_Init returned -1
1: amsterdam: -1073741515
2: amsterdam: -1073741515
3: amsterdam: -1073741515
4: amsterdam: -1073741515


This software can be compiled against Linux (using Intel) and Windows
(using Open Watcom).
Under Linux, it works normally.
Under Windows, I got the message above.
SMPD seems to be ok once the distributed CPI program works normally.
If I link my code with MPICH1-1.2.6 and run with "mpirun", it also works
fine.

The weird thing is that I could already make it work with
MPICH2/Windows/Open Watcom.

Do you have any clue regarding the reason of this error?
What can I be doing wrong?

Thanks in advance,
LC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090727/dd587d12/attachment.htm>


More information about the mpich-discuss mailing list