Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] mpic++-wrapper-data.txt msvc10 Release/Debug 1.5.4
From: MM (finjulhich_at_[hidden])
Date: 2011-11-18 15:44:43


Hello,

 

Compiling boost mpi library uses mpic++ to get the compile flags to pass to
cl.exe and link libs to pass to the linker.

In my case:

>>> mpic++ -showme:compile

/I"C:\Program Files\openmpi\bin/../include" /TP /EHsc /MD

>>> mpic++ -showme:link

/link /LIBPATH:"C:\Program Files\openmpi\bin/../lib" libmpi_cxx.lib
libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib Ws2_32.lib
shlwapi.lib

 

To choose Release build or Debug build, is it possible to use
mpic++-wrapper-data.txt to specify both options?

 

Release

/MD

libmpi_cxx.lib libmpi.lib libopen-pal.lib libopen-rte.lib advapi32.lib
Ws2_32.lib shlwapi.lib

 

Debug

/MDd

libmpi_cxxd.lib libmpid.lib libopen-pald.lib libopen-rted.lib advapi32.lib
Ws2_32.lib shlwapi.lib

is there a debug version of "advapi32.lib Ws2_32.lib shlwapi.lib"

 

For now, I will just override that file for Release, build boost mpi,
override for Debug, build for Debug.

 

thanks,

 

MM