Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dynamic link for Intel fortran XE 2011.4.191 1

Status
Not open for further replies.

physicsteacher

Technical User
Jul 28, 2011
2
RO
Hello, I am new to Intel fortran XE 2011.4.191. I read the mkl_userguide and I folowed the link instructions found there. I used for a DYNAMIC LINK for 64 architecture the following instructions

OPTS = -ipo -O3 -xHost -fpp -openmp -parallel -warn unused
LIB= -L/opt/intel/composerxe-2011.4.191/mkl/lib/intel64 -I/opt/intel/composerxe-2011.4.191/mkl/include/intel64/lp64 -lmkl_rt -lsvml -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm
and I received
ipo: remark #11000: performing multi-file optimizations
ipo-1: remark #11006: generating object file /tmp/ipo_iforteRPwab1.o
ipo-4: remark #11006: generating object file /tmp/ipo_iforteRPwab4.o
ipo-3: remark #11006: generating object file /tmp/ipo_iforteRPwab3.o
ipo-2: remark #11006: generating object file /tmp/ipo_iforteRPwab2.o
ld: wave_dvr_potentials.x: hidden symbol `__intel_cpu_indicator_init' in /opt/intel/composerxe-2011.4.191/compiler/lib/intel64/libirc.a(cpu_disp.o) is referenced by DSO
ld: final link failed: Bad value
make: *** [wave_dvr_potentials.x] Error 1

The same answer if I cut -lmkl_rt or -liomp5 or -I<MKL_Include> part.
I don't know what mean referenced by DSO and what is this intel_cpu_indicator_init. Can anyone help me? Why my makefile does not work while it was good for 10. x version of Intel Fortran?
 
DSO = Dynamic Shared Object - the Linux term for what Windows calls DLLs.

You don't need the -I bit in the LIB=. -I refers to include files. There are no include files referenced when linking, only when compiling.

What does your LD_LIBRARY_PATH look like? It is probably picking up an earlier version instead of the one for your compiler.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top