Compile problem of VASP 4.6 on IBM Power6

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
deltz
Newbie
Newbie
Posts: 15
Joined: Sun Aug 06, 2006 6:23 am
License Nr.: 176, upgraded to paw

Compile problem of VASP 4.6 on IBM Power6

#1 Post by deltz » Tue May 06, 2008 10:23 am

I modified the makefile.sp2 and which is successful on IBM Power5, during the compilation, there's no error, and everything seems to be ok, but i try to run some test job, it failed to work, and the error report stated as"segmentation fault",this generally happens when the arrays are ovewdlowed, well, the strange thing is that the old binary file "vasp" which is compiled on Power5 works fine on the new platform. Can anyone give some advices, thanks in advance.


“ERROR: 0031-250 task 1: Segmentation fault
ERROR: 0031-250 task 2: Segmentation fault
ERROR: 0031-250 task 4: Segmentation fault
ERROR: 0031-250 task 6: Segmentation fault
ERROR: 0031-250 task 7: Segmentation fault
ERROR: 0031-250 task 5: Segmentation fault
ERROR: 0031-250 task 3: Segmentation fault
ERROR: 0031-250 task 0: Terminated”
Last edited by deltz on Tue May 06, 2008 10:23 am, edited 1 time in total.

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

Compile problem of VASP 4.6 on IBM Power6

#2 Post by admin » Wed May 07, 2008 7:37 am

why at all did you modify the makefile (as the executable for Power5 works) and what modifications were made in the makefile?
Last edited by admin on Wed May 07, 2008 7:37 am, edited 1 time in total.

deltz
Newbie
Newbie
Posts: 15
Joined: Sun Aug 06, 2006 6:23 am
License Nr.: 176, upgraded to paw

Compile problem of VASP 4.6 on IBM Power6

#3 Post by deltz » Thu May 08, 2008 6:11 am

well, i just change the OFLAG parameter by "OFLAGS = -O4 -qarch=auto", the original setting is -O3 -qarch=auto, and the modified makefile works for power5.
Last edited by deltz on Thu May 08, 2008 6:11 am, edited 1 time in total.

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

Compile problem of VASP 4.6 on IBM Power6

#4 Post by admin » Thu May 08, 2008 11:46 am

just replacing -O4 by -O3 really should work. Are you able to run vasp
-- serial (with the serial executable)
-- parallel with 1 node only
on the Power 6 machine? This is to check whether this error is due to the parallel executable (the different precompiler options generate slightly different code in some subroutines; only the serial executable runs) or due to parallelization problems (hardware, MPI installation; both executables run)
Last edited by admin on Thu May 08, 2008 11:46 am, edited 1 time in total.

deltz
Newbie
Newbie
Posts: 15
Joined: Sun Aug 06, 2006 6:23 am
License Nr.: 176, upgraded to paw

Compile problem of VASP 4.6 on IBM Power6

#5 Post by deltz » Mon May 12, 2008 7:52 am

well, serial and parallel with 1 node both work fine.
Last edited by deltz on Mon May 12, 2008 7:52 am, edited 1 time in total.

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

Compile problem of VASP 4.6 on IBM Power6

#6 Post by admin » Wed May 14, 2008 9:12 am

this indicates that the error is not actually vasp-related but due to a communication error or a bug/incompatibility of the MPI installation on your machines
Last edited by admin on Wed May 14, 2008 9:12 am, edited 1 time in total.

Post Reply