When I link to MSMPI (I am using the MSMPI SDK installed from the installer) using the ifort compiler in Visual Studio, I receive the following warnings:
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>msmpifec.lib(mpifbind.obj) : warning LNK4099: PDB 'msmpifec.pdb' was not found with 'msmpifec.lib(mpifbind.obj)' or at 'XXXX'; linking object as if no debug info
Both of these warnings appear to be related to linking to msmpifec.lib (running dumpbin /directives msmpifec.lib shows the linker directive /DEFAULTLIB:LIBCMT and some other dumpbin operations indicate that the .pdb file is expected at X:\bt\1070745\repo\src\mpi\msmpi\fortran\msmpifec\obj\amd64\msmpifec.pdb which does not come with the SDK).
What is the recommended approach to avoiding these warnings (do I need to build this repo myself to produce the correct .pdb file and to set the runtime library to multithreaded DLL)?
Hello,
When I link to MSMPI (I am using the MSMPI SDK installed from the installer) using the ifort compiler in Visual Studio, I receive the following warnings:
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library 1>msmpifec.lib(mpifbind.obj) : warning LNK4099: PDB 'msmpifec.pdb' was not found with 'msmpifec.lib(mpifbind.obj)' or at 'XXXX'; linking object as if no debug info
Both of these warnings appear to be related to linking to msmpifec.lib (running dumpbin /directives msmpifec.lib shows the linker directive /DEFAULTLIB:LIBCMT and some other dumpbin operations indicate that the .pdb file is expected at X:\bt\1070745\repo\src\mpi\msmpi\fortran\msmpifec\obj\amd64\msmpifec.pdb which does not come with the SDK).
What is the recommended approach to avoiding these warnings (do I need to build this repo myself to produce the correct .pdb file and to set the runtime library to multithreaded DLL)?
Thanks.