Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] Building OpenMPI v. 1.4.3 in VS2008
From: Alan Nichols (anichols_at_[hidden])
Date: 2011-06-07 11:37:22


I'm currently trying to build OpenMPI v. 1.4.3 from source, in VS2008. Platform is Win7, SP1 installed ( I realize that this is possibly not an ideal approach as v. 1.5.3 has installers for Windows binaries. However for compatibility with other programs I need to use v. 1.4.3 if at all possible; also as I have many other libraries build under VS2008, I need to use the VS2008 compiler if at all possible).

Following the README.WINDOWS file I found, I used CMake to build a Windows .sln file. I accepted the default CMake settings, with the exception that I only created a Release build of OpenMPI. Upon my first attempt to build the solution, I got an error about a missing file stdint.h. I was able to fix this by including the stdint.h from VS2010. However I now get new errors referencing


__asm__ __volatile__("": : :"memory")

These look to me like linux-specific problems -- is it even possible to do what I'm attempting, or are the code bases and compiler fundamentally at odds here? If it is possible can you explain where my error lies?

Thanks for your help,

Alan Nichols