- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to compile an application program called Parallel Ocean Program (http://climate.lanl.gov/Models/POP/).
I am using ifort and mpiifort to compile the program. I am also using Intel Trace analyzer and collector libraries to
trace the communication patterns, etc. once the executable is created.
All the object files are successfully created but I get the following errors at the linking stage:
/opt/intel/impi/3.2.0.011/lib/libmpiif.so: undefined reference to `MPIR_Err_return_comm'
/opt/intel/impi/3.2.0.011/lib/libmpiif.so: undefined reference to `MPID_Wtime_todouble'
/opt/intel/impi/3.2.0.011/lib/libmpiif.so: undefined reference to `MPIR_Grequest_set_lang_f77'
/opt/intel/impi/3.2.0.011/lib/libmpiif.so: undefined reference to `MPIR_Keyval_set_fortran90'
/opt/intel/impi/3.2.0.011/lib/libmpiif.so: undefined reference to `MPID_Wtick'
/opt/intel/impi/3.2.0.011/lib/libmpiif.so: undefined reference to `MPIR_Keyval_set_fortran'
/opt/intel/impi/3.2.0.011/lib/libmpiif.so: undefined reference to `MPIR_Err_create_code'
/opt/intel/impi/3.2.0.011/lib/libmpiif.so: undefined reference to `b_use_gettimeofday'
mpiifort -link-info returns the following:
ifort -I/opt/intel/impi/3.2.0.011/include -I/opt/intel/impi/3.2.0.011/include -L/opt/intel/impi/3.2.0.011/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker $libdir -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/3.2 -lmpi -lmpiif -lmpigi -lrt -lpthread -ldl
Any help would be appreciated.
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you clarify your system configuration and compiler version? The output from the ifort -V command would be helpful.
Best regards,
Andrey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, could you provide the exact link command you are using at link stage?
Best regards,
Andrey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, could you provide the exact link command you are using at link stage?
Best regards,
Andrey
Any resolution to this problem. I'm getting it compiling gromacs and the link step uses mpiicc
Gene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In response to the original post, as Andrey mentioned, it would be great to have some information regarding the system, the compiler version, etc. Additionally, I see that you're using Intel MPI libraries available from the /opt/intel/impi/3.2.0.011/lib directory. If you're running an Intel 64 machine, this will be pulling the 32-bit version of the libraries. If you'd like to use the 64-bit versions, use the lib64, bin64, and include64 directories instead.
Gene, can you also verify that yourPATH
and LD_LIBRARY_PATH
are set accordingly? This might a simple issue of the Makefile not being able to see all Intel MPI libraries. I would recommend sourcing the appropriate mpivars.
directory before linking.
Hope this helps,
~Gergana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HTH,
Herbert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HTH,
Herbert
Thank you, Herbert, for you comment and investigation.
This is common situation when a customer experiences problems with different packages installed on a system.
Best wishes
Dmitry
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page