Compilation problem!!

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
User avatar
Kitaura
Newbie
Newbie
Posts: 10
Joined: Mon Oct 08, 2007 11:07 pm
License Nr.: 756

Compilation problem!!

#1 Post by Kitaura » Wed Oct 10, 2007 7:03 am

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
Last edited by Kitaura on Wed Oct 10, 2007 7:03 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

Compilation problem!!

#2 Post by admin » Wed Oct 10, 2007 7:23 am

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.
Last edited by admin on Wed Oct 10, 2007 7:23 am, edited 1 time in total.

User avatar
Kitaura
Newbie
Newbie
Posts: 10
Joined: Mon Oct 08, 2007 11:07 pm
License Nr.: 756

Compilation problem!!

#3 Post by Kitaura » Thu Oct 11, 2007 3:13 am

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.
Last edited by Kitaura on Thu Oct 11, 2007 3:13 am, edited 1 time in total.

Post Reply