- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
mpif90 -o pxa-lnxem64.x sizes.o COMS.o CALL_FORWARD_C.o chord.o dersig.o dertau.o drdnor.o evecl.o evec2.o intsr1.o INVERSE_C.o IO_COEF.o lancos3e.o matr.o max1d2.o mist.o mpi_parameter.o multsend.o pwk.o REC_SORT.o scvd.o sig1.o STRING.o zolgrid.o ITER_GL1CAR_C.o ITER_GL1CAR_C_IN_FR.o ITER_GL1CAR_MC.o ITER_GL1CAR_M.o MAIN.o max2_5ce1.o -lmkl_solver -lmkl_lapack -lmkl_intel_thread -lmkl_em64t -lguide -lpthread -lmpi
/opt/intel/Compiler/11.0/081/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail /opt/intel/Compiler/11.0/081/mkl/lib/em64t/libmkl_lapack.so: undefined reference to `mkl_serv_load_fun'
/opt/intel/Compiler/11.0/081/mkl/lib/em64t/libmkl_lapack.so: undefined reference to `mkl_serv_load_thread_fun'
/opt/intel/Compiler/11.0/081/mkl/lib/em64t/libmkl_intel_thread.so: undefined reference to `mkl_serv_load_lapack_fun'
/opt/intel/Compiler/11.0/081/mkl/lib/em64t/libmkl_intel_thread.so: undefined reference to `mkl_serv_load_lapack_dll'
/opt/intel/Compiler/11.0/081/mkl/lib/em64t/libmkl_lapack.so: undefined reference to `mkl_serv_load_dll' make[1]: *** [pixelinv] Error 1
make[1]: Leaving directory `/people4/jliu17/WORKS/2.5D_FD/Inversion_MPI' make: *** [lnxem64] Error 2
Any thoughts on what might be missing here?
Thanks!!
Roberta
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Roberta,
For linking Intel64 libraries, you need to link lp64 or ilp64 libraries.
Please try to link the following linking lines:
$MKLPATH/libmkl_solver_ilp64.a -Wl,--start-group $MKLPATH/libmkl_intel_ilp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -openmp -lpthread
Where MKLPATH environment variable should point to the directory with MKL libraries
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Roberta,
For linking Intel64 libraries, you need to link lp64 or ilp64 libraries.
Please try to link the following linking lines:
$MKLPATH/libmkl_solver_ilp64.a -Wl,--start-group $MKLPATH/libmkl_intel_ilp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -openmp -lpthread
Where MKLPATH environment variable should point to the directory with MKL libraries
--Gennady
It looks like the originally quoted library selection may have been based partly on some earlier version of MKL.
The ifort -openmp option already inserts the -lpthread reference, so that is redundant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like the originally quoted library selection may have been based partly on some earlier version of MKL.
The ifort -openmp option already inserts the -lpthread reference, so that is redundant.
/opt/intel/Compiler/11.0/081/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/opt/intel/Compiler/11.0/081/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
You could put the environment variables in your mpi command line by appropriate option such as -genv or other means described in the docs for the mpi of your choice. This would be getting more into the territory of the HPC forum. If you are combining mkl_thread with MPI, you must consider the degree to which your MPI supports it and which special requirements it imposes, as well as whether it requires adherence to the standard about replacing MPI_INIT by MPI_INIT_THREAD.
Intel MPI I_MPI_PIN_DOMAIN has been tested with mkl_thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could put the environment variables in your mpi command line by appropriate option such as -genv or other means described in the docs for the mpi of your choice. This would be getting more into the territory of the HPC forum. If you are combining mkl_thread with MPI, you must consider the degree to which your MPI supports it and which special requirements it imposes, as well as whether it requires adherence to the standard about replacing MPI_INIT by MPI_INIT_THREAD.
Intel MPI I_MPI_PIN_DOMAIN has been tested with mkl_thread.
MKLLIBSEM64 = -lmkl_solver_lp64_sequential -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_intel_thread -lguide -lpthread -llibimf -llibm
Error message
/opt/intel/Compiler/11.0/081/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
lancos3e.o: In function `lancz_':
lancos3e.f:(.text+0x8e3): undefined reference to `timer_pardiso_'
lancos3e.f:(.text+0x954): undefined reference to `pardiso_'
lancos3e.f:(.text+0xc24): undefined reference to `pardiso_'
lancos3e.f:(.text+0x1080): undefined reference to `pardiso_'
lancos3e.f:(.text+0x1d3b): undefined reference to `pardiso_'
make[1]: *** [pixelinv] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
--Vipin
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page