Problem compiling the simplest MPI program

tim18
Total Points:
66,417
Status Points:
66,417
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

8292 users have contributed to 31239 threads and 99116 posts to date.
In the past 24 hours, we have 10 new thread(s) 14 new posts(s), and 23 new user(s).

In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to Pipeline buffer between stages? The post with the most views is Very amusing...  Escalated as

Please welcome our newest member amirsam7