Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] OpenMPI at windows
From: Shiqing Fan (fan_at_[hidden])
Date: 2012-02-27 17:47:17

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


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_at_[hidden]

Shiqing Fan
High Performance Computing Center Stuttgart (HLRS)
Tel: ++49(0)711-685-87234      Nobelstrasse 19
Fax: ++49(0)711-685-65832      70569 Stuttgart
email: fan_at_[hidden]