[SOLVED] atompaw compilation
Posted: Wed May 19, 2010 6:47 pm
I tried to compile atompaw with intel 11.1 compiler but it ends with this error message:
anderson_realmix.f90:(.text+0x122c): undefined reference to `dgesdd_'
basis.o: In function `basis_mp_diagonalizer_':
basis.f90:(.text+0x36720): undefined reference to `dsyev_'
basis.f90:(.text+0x3745c): undefined reference to `dsyev_'
make: *** [atompaw] Erreur 1
my makefile is the following:
LIBDIR=/opt/intel/Compiler/11.1/064/mkl/lib/em64t
LIBS= -L$(LIBDIR) -lmkl -lmkl_lapack -lmkl_em64t -lguide -lpthread -lm
F90 = /opt/intel/Compiler/11.1/064/bin/intel64/ifort
F90FLAGS = -O3
#F90FLAGS = -O3 -tpp7 / -g -O2 -O2 -tpp7 -xW -mp -static
LDFLAGS = $(F90FLAGS)
I am not sure if all the needed libraries are in the directory "/opt/intel/Compiler/11.1/064/mkl/lib/em64t", below is the list of the libraries in this directory:
libmkl_avx.so libmkl_core.a libmkl_intel_sp2dp.so libmkl_scalapack_lp64.so
libmkl_blacs_ilp64.a libmkl_core.so libmkl_intel_thread.a libmkl_sequential.a
libmkl_blacs_intelmpi_ilp64.a libmkl_def.so libmkl_intel_thread.so libmkl_sequential.so
libmkl_blacs_intelmpi_ilp64.so libmkl_gf_ilp64.a libmkl_lapack95_ilp64.a libmkl_solver_ilp64.a
libmkl_blacs_intelmpi_lp64.a libmkl_gf_ilp64.so libmkl_lapack95_lp64.a libmkl_solver_ilp64_sequential.a
libmkl_blacs_intelmpi_lp64.so libmkl_gf_lp64.a libmkl_lapack.so libmkl_solver_lp64.a
libmkl_blacs_lp64.a libmkl_gf_lp64.so libmkl_mc3.so libmkl_solver_lp64_sequential.a
libmkl_blacs_openmpi_ilp64.a libmkl_gnu_thread.a libmkl_mc.so libmkl_vml_avx.so
libmkl_blacs_openmpi_lp64.a libmkl_gnu_thread.so libmkl_p4n.so libmkl_vml_def.so
libmkl_blacs_sgimpt_ilp64.a libmkl_intel_ilp64.a libmkl_pgi_thread.a libmkl_vml_mc2.so
libmkl_blacs_sgimpt_lp64.a libmkl_intel_ilp64.so libmkl_pgi_thread.so libmkl_vml_mc3.so
libmkl_blas95_ilp64.a libmkl_intel_lp64.a libmkl_scalapack_ilp64.a libmkl_vml_mc.so
libmkl_blas95_lp64.a libmkl_intel_lp64.so libmkl_scalapack_ilp64.so libmkl_vml_p4n.so
libmkl_cdft_core.a libmkl_intel_sp2dp.a libmkl_scalapack_lp64.a locale
I don't know if there are any missing libraries here?
I hope someone will be able to help me.
Thanks a lot,
Best Regards
ppy
anderson_realmix.f90:(.text+0x122c): undefined reference to `dgesdd_'
basis.o: In function `basis_mp_diagonalizer_':
basis.f90:(.text+0x36720): undefined reference to `dsyev_'
basis.f90:(.text+0x3745c): undefined reference to `dsyev_'
make: *** [atompaw] Erreur 1
my makefile is the following:
LIBDIR=/opt/intel/Compiler/11.1/064/mkl/lib/em64t
LIBS= -L$(LIBDIR) -lmkl -lmkl_lapack -lmkl_em64t -lguide -lpthread -lm
F90 = /opt/intel/Compiler/11.1/064/bin/intel64/ifort
F90FLAGS = -O3
#F90FLAGS = -O3 -tpp7 / -g -O2 -O2 -tpp7 -xW -mp -static
LDFLAGS = $(F90FLAGS)
I am not sure if all the needed libraries are in the directory "/opt/intel/Compiler/11.1/064/mkl/lib/em64t", below is the list of the libraries in this directory:
libmkl_avx.so libmkl_core.a libmkl_intel_sp2dp.so libmkl_scalapack_lp64.so
libmkl_blacs_ilp64.a libmkl_core.so libmkl_intel_thread.a libmkl_sequential.a
libmkl_blacs_intelmpi_ilp64.a libmkl_def.so libmkl_intel_thread.so libmkl_sequential.so
libmkl_blacs_intelmpi_ilp64.so libmkl_gf_ilp64.a libmkl_lapack95_ilp64.a libmkl_solver_ilp64.a
libmkl_blacs_intelmpi_lp64.a libmkl_gf_ilp64.so libmkl_lapack95_lp64.a libmkl_solver_ilp64_sequential.a
libmkl_blacs_intelmpi_lp64.so libmkl_gf_lp64.a libmkl_lapack.so libmkl_solver_lp64.a
libmkl_blacs_lp64.a libmkl_gf_lp64.so libmkl_mc3.so libmkl_solver_lp64_sequential.a
libmkl_blacs_openmpi_ilp64.a libmkl_gnu_thread.a libmkl_mc.so libmkl_vml_avx.so
libmkl_blacs_openmpi_lp64.a libmkl_gnu_thread.so libmkl_p4n.so libmkl_vml_def.so
libmkl_blacs_sgimpt_ilp64.a libmkl_intel_ilp64.a libmkl_pgi_thread.a libmkl_vml_mc2.so
libmkl_blacs_sgimpt_lp64.a libmkl_intel_ilp64.so libmkl_pgi_thread.so libmkl_vml_mc3.so
libmkl_blas95_ilp64.a libmkl_intel_lp64.a libmkl_scalapack_ilp64.a libmkl_vml_mc.so
libmkl_blas95_lp64.a libmkl_intel_lp64.so libmkl_scalapack_ilp64.so libmkl_vml_p4n.so
libmkl_cdft_core.a libmkl_intel_sp2dp.a libmkl_scalapack_lp64.a locale
I don't know if there are any missing libraries here?
I hope someone will be able to help me.
Thanks a lot,
Best Regards
ppy