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 in Mingw
From: Shiqing Fan (fan_at_[hidden])
Date: 2012-01-25 10:54:18


Hi,

Are you using 32 bit Windows or 64 bit? Because as far as I know, the
build for 64 bit windows with MinGW is not working. Which CMake
Generator did you use? Did you run CMake from the MSYS command window?

Thanks,
Shiqing

On 2012-01-24 9:24 PM, Temesghen Kahsai wrote:
> Hello,
>
> I am having truble compiling openmpi (version 1.5.5rc2r25765 - nightly
> built) on Mingw. I am running Windows 7 and the latest version of Mingw.
> I keep on getting the following error:
>
> In file included from ../../opal/include/opal_config_bottom.h:258:0,
> from ../../opal/include/opal_config.h:2327,
> from asm.c:19:
> ../../opal/win32/win_compat.h:93:14: error: conflicting types for
> 'ssize_t'
> c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/sys/types.h:118:18:
> note: previous declaration of 'ssize_t' wa
> s here
> In file included from ../../opal/include/opal_config_bottom.h:258:0,
> from ../../opal/include/opal_config.h:2327,
> from asm.c:19:
> ../../opal/win32/win_compat.h:321:0: warning: "OPAL_HAVE_HWLOC"
> redefined [enabled by default]
> ../../opal/include/opal_config.h:1876:0: note: this is the location of
> the previous definition
> In file included from ../../opal/include/opal_config.h:2327:0,
> from asm.c:19:
> ../../opal/include/opal_config_bottom.h:559:0: warning: "PF_UNSPEC"
> redefined [enabled by default]
> c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:368:0:
> note: this is the location of the previous definition
> ../../opal/include/opal_config_bottom.h:562:0: warning: "AF_INET6"
> redefined [enabled by default]
> c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:329:0:
> note: this is the location of the previous definition
> ../../opal/include/opal_config_bottom.h:565:0: warning: "PF_INET6"
> redefined [enabled by default]
> c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:392:0:
> note: this is the location of the previous definition
>
>
> Thank you.
>
> T
> _______________________________________________
> users mailing list
> users_at_[hidden]
> 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_at_[hidden]