Segmentation fault

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
jvelev
Newbie
Newbie
Posts: 1
Joined: Sat Dec 18, 2010 12:37 am

Segmentation fault

#1 Post by jvelev » Tue Apr 05, 2011 11:24 pm

Hello,

I have been having problems running VASP version greater than 5.2.2. I compiled version 5.2.11 with PGI with the same makefile I use for the 5.2.2 version. It compiles fine but when I try to run gives a segmentation fault somewhere midway through the calculation (actually right after the first non-self-consistent steps)

[c2818:12643] *** Process received signal ***
[c2818:12644] *** Process received signal ***
[c2818:12644] Signal: Segmentation fault (11)
[c2818:12644] Signal code: Address not mapped (1)
[c2818:12644] Failing at address: 0x70
[c2818:12646] *** Process received signal ***
[c2818:12646] Signal: Segmentation fault (11)
[c2818:12646] Signal code: Address not mapped (1)
[c2818:12646] Failing at address: 0x70
[c2818:12643] Signal: Segmentation fault (11)
[c2818:12643] Signal code: Address not mapped (1)
[c2818:12643] Failing at address: 0x70
[c2818:12645] *** Process received signal ***
[c2818:12645] Signal: Segmentation fault (11)
[c2818:12645] Signal code: Address not mapped (1)
[c2818:12645] Failing at address: 0x70
[c2818:12646] *** End of error message ***
[c2818:12643] *** End of error message ***
[c2818:12644] *** End of error message ***
[c2818:12645] *** End of error message ***
----------------------------------------------------------------------mpirun noticed that process rank 3 with PID 12646 on node c2818.local exited on signal 11 (Segmentation fault).
----------------------------------------------------------------------

Anyone having a problem like that?
Also where can I get makefiles for Intel and GFortran for Linux? The ones distributed with the source are obsolete (and there isn't one for Gfortran).
Last edited by jvelev on Tue Apr 05, 2011 11:24 pm, edited 1 time in total.

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

Segmentation fault

#2 Post by admin » Tue May 31, 2011 5:37 pm

1) please always use the makefiles which are delivered with the respective release of the code.
2) for the intel compiler please use the makefile.linux_ifc_P4 (please replace ifc by ifort)
Last edited by admin on Tue May 31, 2011 5:37 pm, edited 1 time in total.

Post Reply