[Thermo_pw-forum] compilation error
H.Benaissa
ben_usto at yahoo.fr
Sat Sep 10 14:12:27 CEST 2016
Dear Andrea,
I tried to compile the beta version 6.0I got an error about undefined reference
could you please help to solve it
this is my make.inc file
DFLAGS = -D__INTEL -D__FFTW3 -D__MPI -D__PARA -D__SCALAPACK
IFLAGS = -I$(TOPDIR)/include -I../include/ -I/usr/local/include -I/opt/intel/composer_xe_2013.1.117/mkl/include
MPIF90 = mpiifort
#F90 = ifort
CC = icc
F77 = ifort
BLAS_LIBS = -lmkl_intel_lp64 -lmkl_sequential -lmkl_coreSCALAPACK_LIBS = -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64FFT_LIBS = -lfftw3
the error message :
../qe/thermo_qe.a(paw_add_onecenter.o): In function `paw_xc_potential':
/home/group/espresso-6.0-beta/thermo_pw/qe/paw_add_onecenter.f90:145: undefined reference to `add_small_mag_'
/home/group/espresso-6.0-beta/thermo_pw/qe/paw_add_onecenter.f90:169: undefined reference to `compute_g_'
../qe/thermo_qe.a(paw_add_onecenter.o): In function `compute_rho_spin_lm':
/home/group/espresso-6.0-beta/thermo_pw/qe/paw_add_onecenter.f90:1089: undefined reference to `add_small_mag_'
../qe/thermo_qe.a(paw_add_onecenter.o): In function `compute_pot_nonc':
/home/group/espresso-6.0-beta/thermo_pw/qe/paw_add_onecenter.f90:1185: undefined reference to `compute_g_'
/home/group/espresso-6.0-beta/thermo_pw/qe/paw_add_onecenter.f90:1168: undefined reference to `add_small_mag_'
../qe/thermo_qe.a(paw_add_onecenter.o): In function `paw_add_onecenter_mp_compute_rho_spin_lm_':
/home/group/espresso-6.0-beta/thermo_pw/qe/paw_add_onecenter.f90:1089: undefined reference to `add_small_mag_'
make[3]: *** [thermo_pw.x] Erreur 1
make[3]: quittant le répertoire « /home/group/espresso-6.0-beta/thermo_pw/src »
make[2]: *** [thermo_pw] Erreur 1
make[2]: quittant le répertoire « /home/group/espresso-6.0-beta/thermo_pw »
make[1]: *** [thermo_pw] Erreur 1
make[1]: quittant le répertoire « /home/group/espresso-6.0-beta/install »
make: *** [thermo_pw] Erreur 1
-H.BenaissaUSTO-MB
More information about the Thermo_pw-forum
mailing list