Hi Tal,

The released Windows binaries are built only for Microsoft VS compilers.

If you want to use gcc and g++, you have to build Open MPI by yourself using CMake.  Just select "MSYS Makefiles" as the generator, you can build binaries under MinGW. Please note that, this is only supported for 32bit MinGW, and there may be run-time problems, as it is still experimental.


Regards,
Shiqing

On 2012-02-26 7:33 AM, Tal Regev wrote:
Hi all,
I am using windows 7 64 bit,
and i want to compile with mpicc and mpic++.
i download OpenMPI_v1.5.4-1_win32.exe
and when i compile with it, it say i need lc.exe.
there is a way to config mpicc and mpic++ to use customize compiler?
I want that mpicc.exe will use mingw gcc -> gcc.exe
and mpic++ will use mingw g++ -> g++.exe.
can you help me what I need to do?

thx Tal.


_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
---------------------------------------------------------------
Shiqing Fan
High Performance Computing Center Stuttgart (HLRS)
Tel: ++49(0)711-685-87234      Nobelstrasse 19
Fax: ++49(0)711-685-65832      70569 Stuttgart
http://www.hlrs.de/organization/people/shiqing-fan/
email: fan@hlrs.de