Page 1 of 1

VASP 5.2.2 Segfault For "Large" Systems

Posted: Tue Sep 08, 2009 12:33 pm
by tommy91779
Hello all,


I have recently compiled VASP 5.2.2 and have begun the testing process to compare against VASP 4.6 results obtained earlier. I have successfully run the parallel version of VASP 5.2.2 for "small" systems, in particular, a 4 atom, wurtzite primitive unit cell. Moving on to a larger system (i.e. 72 atoms) the program segfaults, showing the following error:

running on 4 nodes
distr: one band on 1 nodes, 4 groups
vasp.5.2.2 15Apr09 complex
POSCAR found : 2 types and 72 ions
LDA part: xc-table for Ceperly-Alder, standard interpolation
POSCAR, INCAR and KPOINTS ok, starting setup
WARNING: small aliasing (wrap around) errors must be expected
FFT: planning ...( 16 )
reading WAVECAR
WARNING: random wavefunctions but no delay for mixing, default for NELMDL
entering main loop
N E dE d eps ncg rms rms(c)
Segmentation fault



I am quite at a loss as to the problem. I have tried linking against other external libraries (i.e. netlib, Intel MKL, etc), MPI interfaces (i.e. OpenMPI, MPICH2) and have tried both Intel and Gnu Compilers. Currently, I am using the following


OpenMPI 1.2.6
Intel 10.1.X Fortran and C/C++ compilers
Intel MKL 10.2.X

I do not think this is a installation error, I think it might have something to do with array allocation however, I may be mistaken.


I eagerly await your reply,


Tom

VASP 5.2.2 Segfault For "Large" Systems

Posted: Tue Sep 08, 2009 2:36 pm
by alex
Hi there,

I'm currently using OpenMPI 1.2.6, Intel 11.0.83 (and the now co-delivered MKL) on a SLES 10 SP2.
If I remember correctly I had once issues with Intel 10. Intel 9.1.51 was used for a production executable before Intel11 and showed high stability. Also Intel 11.0.83 produces fine exes.
I also tried OpenMPI 1.3.2 with Intel 11.0.83 with no success.

Hth

alex

VASP 5.2.2 Segfault For "Large" Systems

Posted: Wed Sep 09, 2009 12:32 pm
by tommy91779
Alex,


Thank you for the suggestion. I have tried the Intel 11 compilers and recompiled our MPI however, we are still having issues with our "large" systems. I was wondering if you had any other suggestions?



Thanks in advance,

Tom

VASP 5.2.2 Segfault For "Large" Systems

Posted: Thu Sep 10, 2009 12:05 am
by forsdan
Sounds like a stack size problem. First try to compile with the option "-heap-arrays" to see if the seg fault disappears. If it helps please either keep the flag or increase the stack size as suggested in this previous thread:

http://cms.mpi.univie.ac.at/vasp-forum/ ... php?2.5776

The latter deals with the problem instead of just circumventing it by putting everything on the heap. Both alternatives however work just fine.

Hope this helps

Cheers,
/Dan

<span class='smallblacktext'>[ Edited Thu Sep 10 2009, 02:08AM ]</span>