[mpich-discuss] Fatal error in MPI_Init

Luiz Carlos da Costa Junior lcjunior at ufrj.br
Mon Jul 27 20:06:00 CDT 2009


Hi Jayesh,

I compile my code with OpenWatcom compiler.
The procedure I use is:

   1. create library files from mpich2.dll and fmpich2.dll (distributed with
   MPICH2 setup),
   2. compile all my code with the MPICH2 libraries
   3. run my code using "mpiexe -host hostname -n N myapplication"

I had already used procedure successfully before, but I don't know what is
happening now.
I have tried with MPICH2 versions 1.0.8 and the newer one 1.1.1, but the
error is the same.

I also tried to repeat this procedure on a computer without MPI's
installation, but I got the same.

As I told before, I'am able to run CPI and also non-MPI programs.
Any clue that can help me?

Thanks

2009/7/27 Jayesh Krishna <jayesh at mcs.anl.gov>

>  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/196068ed/attachment.htm>


More information about the mpich-discuss mailing list