Problem compiling the simplest MPI program

tim18
Total Points:
68,767
Status Points:
68,767
Black Belt
May 7, 2008 6:35 AM PDT
Rate
 
#1
As this is a link error, not a compile error, and you did not show the link command, the first suspicion is that you didn't include the MPI libraries in the link.  The usual way of building an MPI application is to replace the ifort command with the MPI wrapper, usually mpif77 or mpif90, which provides all the MPI include and library paths.  Your book should have recommendations on how this is done.  Adding all the necessary paths to your project also would accomplish it.


Intel Software Network Forums Statistics

8478 users have contributed to 31609 threads and 100661 posts to date.
In the past 24 hours, we have 30 new thread(s) 108 new posts(s), and 167 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member zhpn