[mpich-discuss] MPICH2 On Windows 64 bit and Mingw-w64 compilers

Jayesh Krishna jayesh at mcs.anl.gov
Fri Jan 7 10:41:04 CST 2011


Hi,
 Can you try running your program with the "-localroot" option and let us know if it works for you (mpiexec -n 2 -localroot icpi.exe)?

Regards,
Jayesh

----- Original Message -----
From: "Arun Murthy" <arun.murthy at fluidyn.com>
To: mpich-discuss at mcs.anl.gov
Sent: Friday, January 7, 2011 12:56:17 AM
Subject: [mpich-discuss] MPICH2 On Windows 64 bit and Mingw-w64 compilers

Hi

I am trying to use MPICH2 on Windows 7 64bit (installed from 
mpich2-1.3.1-win-x86-64.msi) along with Mingw-w64 compiler suite 
(mingw-w64-1.0-bin_i686-mingw_20101129).

I tried to compile-link the example "icpi.c" using following command:

C:\MinGW\mingw-w64-1.0-bin_i686-mingw_20101129\bin\x86_64-w64-mingw32-gcc.exe 
-I"C:\Program Files\MPICH2\include" icpi.c -L"C:\Program 
Files\MPICH2\lib" -lmpi -o icpi.exe

I could get the executable, but it doesn't run with any number of 
processors. When run with mpiexec, it aborts without any message. I 
could run the pre-built "cpi.exe" with any number of CPU's. I don't have 
MS Visual Studio on my machine. Can anyone help?

By the way, the 32-bit version of MPICH1 (1.2.5 SDK.gcc) works well with 
Mingw-w32 compiler suite.

Thanks
Arun


_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list