compiling vasp-----undefined reference
Posted: Fri Jul 04, 2008 1:04 pm
I install ifort 9.1.043and mkl 9.1.023 to compile vasp.
First I set in .bashrc
source /opt/intel/fc/9.1.043/bin/ifortvars.sh
source /opt/intel/mkl/9.1.023/tools/environment/mklvars32.sh
And add in etc/ld.so.conf
/opt/intel/fc/9.1.043/lib
/opt/intel/mkl/9.1.023/lib/32
Then make vasp.4.lib successfully,But compiling vasp.4.6 errorneous. I edit in makefile:
BLAS=-L/opt/intel/mkl/9.1.023/lib/32 -lmkl_p4 -lguide -lpthread
LINK = -L/opt/intel/mkl/9.1.023/lib/32 -lsvml
FFT3D = fftw3d.o fft3dlib.o /usr/local/lib/libfftw3.a
Then it gave me error:many undefined reference...
First I set in .bashrc
source /opt/intel/fc/9.1.043/bin/ifortvars.sh
source /opt/intel/mkl/9.1.023/tools/environment/mklvars32.sh
And add in etc/ld.so.conf
/opt/intel/fc/9.1.043/lib
/opt/intel/mkl/9.1.023/lib/32
Then make vasp.4.lib successfully,But compiling vasp.4.6 errorneous. I edit in makefile:
BLAS=-L/opt/intel/mkl/9.1.023/lib/32 -lmkl_p4 -lguide -lpthread
LINK = -L/opt/intel/mkl/9.1.023/lib/32 -lsvml
FFT3D = fftw3d.o fft3dlib.o /usr/local/lib/libfftw3.a
Then it gave me error:many undefined reference...