[Wien] failed compilation wien2k

Jeff DeReus jdereus at gmail.com
Mon Aug 31 20:26:34 CEST 2009


library flags are fine. set compiler flag for opterons (-xW).

# Linux PC system with IFC 10 compiler + mkl 10 (-ip is broken; -static does
not give traceback-lines)
linuxif9:FC:ifort
linuxif9:MPF:ifort
linuxif9:CC:cc
linuxif9:FOPT:-FR -mp1 -w -prec_div  -pc80 -pad -align -DINTEL_VML -xW
-traceback
linuxif9:FPOPT:$(FOPT)
linuxif9:LDFLAGS:$(FOPT) -L/opt/intel/mkl/10.2.1.017/lib/em64t -pthread
linuxif9:R_LIBS: -L/opt/intel/mkl/10.2.1.017/lib/em64t -lmkl_lapack -lguide
-lmkl_core
linuxif9:DPARALLEL:'-DParallel'
linuxif9:RP_LIBS: -lmlk_intel_lp64 -lmkl_sequential -lmkl_scalapack
-lmkl_blacs_lp64 $(R_LIBS) -L/opt/fftw-2.1.5/libfftw.a
linuxif9:MPIRUN:mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_


however, and i cannot determine where this is coming from, i now get more
errors than previously.

follown.o: In function `follown_':
follown.f:(.text+0x697): undefined reference to `dsyev_'
follown.o: In function `stepper_':
follown.f:(.text+0xede): undefined reference to `dsyev_'
follown.o: In function `maxeigen_':
follown.f:(.text+0x1209): undefined reference to `dsyev_'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_pds_c_blklu_unsym_omp_pardiso'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_lapack_cpptrs'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_blas_crot'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_pds_blklu_omp_pardiso'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_blas_lp64_izamax'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_lapack_lp64_zpotf2'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_lapack_claeh2'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_blas_dsyrk'
<snip>

/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_pds_lp64_sp_blkslv_pardiso'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_pds_lp64_sp_blkslv_unsym_pardiso'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_pds_get_proc_pardiso'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_pds_blkslv_unsym_pardiso'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_lapack_cgbtrf'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_pds_blkldl_omp_pardiso'
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so: undefined reference to
`mkl_pds_sp_blklu_unsym_omp_pardiso'
make[1]: *** [aim] Error 1
make[1]: Leaving directory `/scratch/wein2k/SRC_aim'
make: *** [real] Error 2

where is the mkl_lapack lib trying to call these from?

again, any information is appreciated.

Thank you,
JD

On Mon, Aug 31, 2009 at 11:36 AM, Pawel Lesniak <lesniak at ifmpan.poznan.pl>wrote:

> Pawel Lesniak pisze:
>
>> Jeff DeReus pisze:
>>
>>> I am trying to compile WIEN2K_09 and running into some issues.  I was
>>> hoping to get some assistance from the user community.
>>>
>>> I am running CentOS5.3 on dual core dell machines, intel non-commercial
>>> compilers and mkl.
>>> there is no mkl_em64t anywhere on my system so i have had to comment that
>>> out in order to get a compilation to come close to completing properly.  if
>>> anyone has information pertaining to the missing mkl_em64t, it would be most
>>> appreciated.
>>>
>>> here is the section of my siteconfig relevant to the IFC 10 selection.  i
>>> have had to explicitly define the location of the lapack and mkl_core
>>> libraries for them to be found.
>>>
>>> # Linux PC system with IFC 10 compiler + mkl 10 (-ip is broken; -static
>>> does not give traceback-lines)
>>> linuxif9:FC:ifort
>>> linuxif9:MPF:ifort
>>> linuxif9:CC:cc
>>> linuxif9:FOPT:-FR -mp1 -w -prec_div  -pc80 -pad -align -DINTEL_VML
>>> -traceback
>>> linuxif9:FPOPT:$(FOPT)
>>> linuxif9:LDFLAGS:  $(FOPT) -L/opt/intel/mkl/10.0.2.017/lib/em64t <
>>> http://10.0.2.017/lib/em64t> -pthread -i-static
>>> linuxif9:R_LIBS:-L/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so <
>>> http://10.2.1.017/lib/em64t/libmkl_lapack.so> -lguide -L/opt/intel/mkl/
>>> 10.2.1.017/lib/em64t/libmkl_core.so <
>>> http://10.2.1.017/lib/em64t/libmkl_core.so>
>>> #-lmkl_em64t
>>> linuxif9:DPARALLEL:'-DParallel'
>>> linuxif9:RP_LIBS:-lmkl_intel_lp64 -lmkl_scalapack_lp64 -lmkl_blacs_lp64
>>> -lmkl_sequential  -L /opt/local/fftw/lib/ -lfftw_mpi -lfftw
>>> linuxif9:MPIRUN:mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_
>>>
>>>
> Sorry for double post - my email client made some "corections".
>
>> current:FOPT:-FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML -xSSE4.1
>> current:FPOPT:$(FOPT)
>> current:LDFLAGS:$(FOPT) -L/opt/intel/mkl/10.1.0.015/lib/em64t -pthread
>> current:DPARALLEL:'-DParallel'
>> current:R_LIBS:-lmkl_lapack -lmkl -liomp5
>> current:RP_LIBS:-lmkl_scalapack -lmkl_blacs_lp64 $(R_LIBS)
>> /opt/fftw3_ifort-11.0/lib/libfftw3.a
>>
>> This is for my Intel64 platform, ifort 11, mkl 10.1 - works ok.
>> In your config error is obvious:
>> -L is to set PATH to library
>> to link dynamically to library in file
>>
> /opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so
>
>> you should use sth like:
>>
> -L/opt/intel/mkl/10.2.1.017/lib/em64t -lmkl_lapack
>
>> Correct your config, or use my (and change path to mkl) - whichever you
>> like.
>>
>
> Regards,
> Pawel Lesniak
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20090831/1e94b05e/attachment.htm>


More information about the Wien mailing list