[SOLVED] Segmentation fault in Anaddb

Phonons, DFPT, electron-phonon, electric-field response, mechanical response…

Moderators: mverstra, joaocarloscabreu

Locked
zhoubo
Posts: 1
Joined: Mon Mar 18, 2013 8:34 am

[SOLVED] Segmentation fault in Anaddb

Post by zhoubo » Mon Mar 18, 2013 9:12 am

Dear Abinit users,

Segmentation fault occured when calculting the Raman susceptibility tensors of orthorhomic HfO2

The five datasets abinit calculations finished successfully. The DDB file seems OK. Anaddb failed after "gtblk9 : found blok number 2 agree with specifications". Other psudopotentials also give the same failure.

Gdb gives:

atom 24 5.431951E+00 3.767871E-01 -5.278292E-02
1.237077E-02 5.269255E+00 1.204176E-01
-2.521210E-01 3.135770E-02 4.924270E+00
gtblk9 : enter gtblk9
gtblk9 : found blok number 2 agree with specifications
[New Thread 0x2b05b07c5bd0 (LWP 28119)]

Program received signal SIGSEGV, Segmentation fault.
0x00000000004155de in dtchi (
blkval=(( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ( 0, 0) ), dchide=Cannot access memory at address 0xb1fa8
) at dtchi.F90:81
81 d3cart(1,:,:,:,:,:,:) = reshape(blkval(1,:),&
Current language: auto; currently fortran

The input files are attached.
Any suggetion is appreciated.

===================================================================================
After several dirty debugs, problem sovled. It is a typical "Heap array " problem. One sovlution is " ulimited -s unlimited"

I think this is a small bug in build system.

Thanks
===================================================================================
Dr. Zhou bo
Northwest univesity. Xi'an China

Locked