[Spglib-users] installation problem
Brought to you by:
atztogo
From: n16031320 <n16...@ma...> - 2016-04-10 20:50:41
|
Dear users and devlopers: I got some trouble when I tried to install ShengBTE. First, I install the spglib ver. 1.9.1 , I follow the step on the website, the terminal showed that "Libraries have been installed in : /usr/local/lib", so I think I install it completely. Then I tried to install ShengBTE, I use gfortran and lapack from apt-get, but I got the error: - mpif90 -O3 -g -o ../ShengBTE conductivity.o config.o data.o input.o iterations.o misc.o gruneisen.o phonon_routines.o integrals.o processes.o scaling.o symmetry.o wedgetc.o dos_routines.o ShengBTE.o -g -pthread   -llapack -lblas -L/usr/local/lib symmetry.o: In function `__symmetry_MOD_get_operations': /home/yh/download/ShengBTE/Src/symmetry.f90:93: undefined reference to「spg_get_symmetry_」 /home/yh/download/ShengBTE/Src/symmetry.f90:95: undefined reference to「spg_get_international_」 symmetry.o: In function `__symmetry_MOD_get_num_operations': /home/yh/download/ShengBTE/Src/symmetry.f90:56: undefined reference to「spg_get_multiplicity_」 collect2: error: ld returned 1 exit status make: *** [../ShengBTE] Error 1 - here is my arch.make file: export FFLAGS=-O3 -g export LDFLAGS=-g -pthread    export MPIFC=mpif90 export LAPACK= -llapack -lblas export LIBS= -llapack -lblas -L/usr/local/lib which part I did wrong? Could you please help me fix it ? I really need to use this software. Thank you in advance! -- Yao-Hong Huang Master student Tainan, Taiwan National Cheng Kung University Department of Mechanical Engineering |