[Wien] compile SRC_qtl

John Rundgren jru at kth.se
Thu Jun 18 16:46:52 CEST 2009


I use compiler intel_for11.0.081 together with library intel_mkl10.1.1.019, and I get the following diagnosis when I compile SRC_qtl:

l2main.f:(.text+0x3073): undefined reference to `zgemm_'

My Makefile contains the following link and library statements:

FC       = ifort
CC       = gcc-4.3
LINKER  = $(FC)
FOPT    = -FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML -traceback
FGEN    = 
LDFLAGS = $(FOPT) -L/opt/intel/mkl/10.1.1.019/lib/32 -pthread -i-static
R_LIBS  = -lmkl_lapack -lmkl -liomp5 -lmkl_32 -lguide -lmkl_core 
C_LIBS  = $(R_LIBS)

How, exactly, should these statements be written for a successful compilation of SRC_qtl ?

The above statements work for all other SRC directories,
Regards,
Rundgren_1472

John Rundgren
Department of Theoretical Physics,
Royal Institute of Technology (KTH),
AlbaNova University Center, SE-10691 Stockholm, Sweden
fax +46 8 5537 8216, voice +46 8 5537 8171,
home page http://www.theophys.kth.se/~jru


More information about the Wien mailing list