Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] compiling OpenMPI 1.3.2 under Win Vista with MinGW 1.11-rc1
From: Shiqing Fan (fan_at_[hidden])
Date: 2009-06-16 08:31:59


Hello Kraus,

I suggest you to use Open MPI trunk version or the next coming release
1.3.3 which includes the CMake support for Windows platforms, and there
is a short description in README.WINDOWS file about how to use it. This
new CMake build system will generate Open MPI solution files for Visual
Studio automatically, so that you can compile the binaries easily. If
you have any difficulty or problem with that, I'm glad to help.

Best Regards,
Shiqing

Kraus Philipp wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello @all,
>
> I try to compile OpenMPI (1.3.2) with MinGW (MinGW 1.11-rc1) under Win
> Vista (32 Bit) only for developing and linking.
> On running make it breaks down with errors:
>
> c:/Library/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h:392:1:
> warning: this is the location of the previous definition
> event.c:38:18: misc.h: No such file or directory
>
> In file included from event.c:41:
> c:/Library/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:27:
> error: redefinition of `struct timezone'
> c:/Library/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40:
> error: conflicting types for 'gettimeofday'
> ../../opal/win32/ompi_time.h:179: error: previous declaration of
> 'gettimeofday' was here
>
> c:/Library/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40:
> error: conflicting types for 'gettimeofday'
> ../../opal/win32/ompi_time.h:179: error: previous declaration of
> 'gettimeofday' was here
>
> Under OSX & Gentoo Linux I had compiled this and earlier versions
> without problems (okay I'm not windows user actually
> so I have some using-problems with Visual Studio / MinGW compiling &
> linking).
>
> Can anyone help me or have some other solutions to compile MPI under
> Windows?
>
> Thanks a lot
>
> Phil
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
>
> iEYEARECAAYFAko3Y+UACgkQ6s0Ua5LeGukCaACgjaPpXaoyfgTD1OvaJVsg/A+M
> MvkAoK1Fj2fUk7S1KeNrYwZPsH+6kVIm
> =A2pW
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
--------------------------------------------------------------
Shiqing Fan                          http://www.hlrs.de/people/fan
High Performance Computing           Tel.: +49 711 685 87234
  Center Stuttgart (HLRS)            Fax.: +49 711 685 65832
Address:Allmandring 30               email: fan_at_[hidden]    
70569 Stuttgart