Page 1 of 1

Compilation problem!!

Posted: Wed Oct 10, 2007 7:03 am
by Kitaura
Dear Sirs,

I have encountered compilation problem.
My condition is
Fedora core 5
Intel Fortran compiler 9
Intel CMKL 9

After type 'make', compilation proceeds and finally the following message appears. VASP binary created in this compilation process dose not work at all. VASP do not create any output files when I tried to calculate sample test files.
Any comments and helps are greatly appreciated.

ld: warning: i386:x86-64 architecture of input file `../vasp.4.lib/libdmy.a(timing_.o)' is incompatible with i386 output
ld: warning: i386:x86-64 architecture of input file `../vasp.4.lib/libdmy.a(derrf_.o)' is incompatible with i386 output
ld: warning: i386:x86-64 architecture of input file `../vasp.4.lib/libdmy.a(dclock_.o)' is incompatible with i386 output

Compilation problem!!

Posted: Wed Oct 10, 2007 7:23 am
by admin
for some reason, the processor optimization must have been mixed up for the compilation of the files in vasp.4.lib and vasp.4.6: it seems that you compiled vasp for/on a i386 (32bit) processor (OFLAG in Makefile) whereas the files in vasp.4.lib have been compiled for x86-64 bit architecture.
please always compile vasp.4.lib and vasp.4.6 on the same machine, using the same compiler (release) and compatible compiler options.

Compilation problem!!

Posted: Thu Oct 11, 2007 3:13 am
by Kitaura
Thank you very much for your reply.
I have compiled vasp.4.lib and vasp.4.6 using same computer (Xeon 5160) and same compiler (Intel Fortran compiler 9.0), and have encountered the error message. Compiled VSAP dose not work. I do not have any idea how should I do. Any helps are greatly appreciated. Thanks in advance.