I'm afraid our Windows support person has moved on to greener pastures, and so we don't actually support it any more (in fact, the 1.7 version specifically removed the support code).
Our friends in the cygwin world have a module that allows you to continue using OMPI on those systems - you might check it out
On May 7, 2013, at 8:16 AM, Nenad Vujicic <nenadus_at_[hidden]> wrote:
> Hello everyone,
> I'm having troubles with building OpenMPI v1.6.4 (actually all v1.6 and v1.7 versions) release sources (in both x86 and x64 modes) on Windows machine using VS 2010 and VS 2012 compilers and cmake v184.108.40.206. Just to note, I tried it with VS2008 too and it worked fine in x86 mode, but failed in x64 mode. Here is error I get with VS2010 and VS2012 when I execute 'cmake-gui ..' and push Configure:
> CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeFortranInformation.cmake:27 (get_filename_component):
> get_filename_component called with incorrect number of arguments
> Call Stack (most recent call first):
> contrib/platform/win32/CMakeModules/setup_f77.cmake:18 (include)
> contrib/platform/win32/CMakeModules/ompi_configure.cmake:616 (INCLUDE)
> CMakeLists.txt:99 (BEGIN_CONFIGURE)
> If I naively mask off using setup_F77 from ompi_configure.cmake (because I don't wan't Fortran support), I get following compile error:
> 1>------ Build started: Project: libmpi_cxx, Configuration: Debug Win32 ------
> 1> file.cc
> 1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h(199): warning C4005: 'inline' : macro redefinition
> 1> c:\dependencies\openmpi\openmpi-1.6.4\build\opal\include\opal_config.h(1093) : see previous definition of 'inline'
> 1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.
> Do you have idea what I should patch to make it working with MS compilers?
> Best regards,
> users mailing list