Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2159 Discussions

error LNK2001: unresolved external symbol

geng__peng
Beginner
1,025 Views

Hi, I am using the fortran90 with mpi. I followed the steps on this website to link the mpi with visual studio 2017. But it didn't work. It shows error LNK2001 to every MPI commands. Like error LNK2001: unresolved external symbol _MPI_ALLREDUCE; error LNK2001: unresolved external symbol _MPI_BARRIER  .etc. I can not even compile the test.f90 code.

https://software.intel.com/en-us/mpi-developer-guide-windows-configuring-a-visual-studio-project

These attached pictures show my configuration. Is there any problem? Have someone met the same problem before? How can I solve it?

Thanks a lot!

0 Kudos
0 Replies
Reply