Problem compiling the simplest MPI program

elfmade
May 10, 2008 1:14 AM PDT
Rate
 
#6 Reply to #5
Thanks for both of you guys...Now i have another small problem i hope.. When i'm trying to run de exe file after the program was finally succesfull compiled it give me this error "MPI_COMM_RANK : Null communicator"...I found out this may because the older version of the file mpif.h that come with the program above ( pi.f and mpif.h could be found at this addres ftp://info.mcs.anl.gov/pub/mpi/usingmpi-1st/examples/simplempi/ ) is incompatible with the librarie that comes with the program MPICH ( http://www-unix.mcs.anl.gov/mpi/mpich1/mpich-nt/ )...If i take the new version of mpif.h file that come MPIH program, it give the following error during the compilation "Error: This symbol has multiply declared DEC$ ATTRIBUTES DLLIMPORT attribute. [MPIPRIV] mpif.h"...What should i do next!!1..Thank you

Intel Software Network Forums Statistics

8290 users have contributed to 31236 threads and 99110 posts to date.
In the past 24 hours, we have 8 new thread(s) 22 new posts(s), and 30 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 comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing...  Escalated as

Please welcome our newest member zq.x