Hi all
I am trying to compile VASP in parallel on 64 bit CentOS linux. And it gives the error
/usr/bin/ld: warning: i386 architecture of input file `../vasp.4.lib/libdmy.a(derrf_.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `../vasp.4.lib/libdmy.a(dclock_.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `../vasp.4.lib/libdmy.a(drdatab.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `../vasp.4.lib/lapack_double.o' is incompatible with i386:x86-64 output
../vasp.4.lib/libdmy.a(drdatab.o): In function `rdatab_':
drdatab.f:(.text+0x4bf): undefined reference to `_gfortran_os_error'
collect2: ld returned 1 exit status
make: *** [vasp] Error 1
I have used the 64 bit mkl land fft libraries.
Have anybody any idea , what is the problem?
problem in compiling vasp on 64 bit machine
Moderators: Global Moderator, Moderator
problem in compiling vasp on 64 bit machine
Last edited by Isha on Sat Mar 19, 2011 7:11 am, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
problem in compiling vasp on 64 bit machine
please compile vasp.4.lib and vasp.4.6 CONSISTENTLY, i.e. with the same compiler, and for the same processor architecture
Last edited by admin on Mon Mar 21, 2011 1:07 pm, edited 1 time in total.
-
- Hero Member
- Posts: 583
- Joined: Tue Nov 16, 2004 2:21 pm
- License Nr.: 5-67
- Location: Germany
problem in compiling vasp on 64 bit machine
You are trying to link 32bit and 64bit together. Go to vasp4.lib directory, remove all *.o and *.a files, recompile. Should work.
alex
alex
Last edited by alex on Mon Mar 21, 2011 1:15 pm, edited 1 time in total.