Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link warnings #52

Open
ryagal opened this issue Mar 16, 2021 · 0 comments
Open

Link warnings #52

ryagal opened this issue Mar 16, 2021 · 0 comments

Comments

@ryagal
Copy link

ryagal commented Mar 16, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant