Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
1828 Discussions

error LNK2001: unresolved external symbol

geng__peng
Beginner
197 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