Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] segmentation fault

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] segmentation fault


Chronological Thread 
  • From: "Anglade Pierre-Matthieu" <anglade@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] segmentation fault
  • Date: Wed, 21 Nov 2007 15:13:52 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dnG0ZBpRz7jstFz6VMFn3k+DFfm1c9ZS1h22uH7a1tsyi34zxCAsUDBqcBm+SIyFmdjlG9sGGTft0hmMgdJbmpmY/A5L7h4qcJV9AxF/INzh30kC9qWAAMthlS49AMAebcaHjt7Q8n23RHEU/sfeQvTvqcn16wthJ6dMr+s+O00=

Hi,

Your input file looks correct. After testing it with Abinit 5.3.4 on a x86 I can only tell that Abinit should handle it without problem. I wonder if the segfault you witness can be related to any compilation bug: which compiler are you using and do the resulting Abinit binaries pass the self test ?
I would be quite surprised if they do.

Also, for such a system you might be interested in using the BigDFT (wavelet) part of Abinit.

Best regards

PMA

On Nov 21, 2007 1:54 PM, < guillermo.roman@uam.es> wrote:
I am new in abinit.
I am trying to calculate the Total Energies. I have to use 25 Hartrees and a 20 Ang cubic cell.
I get a "segmentation fault just before having calculated the first Etotal.
I though it was a problem of memory, so I reduce the parameters (ecut, acell) and I get a positive result. However, using these less demanding parameters I do a monitoring of the memory cost. I am runing in a Intel Xeon 64 dual core with 4Gb of memory. With 12.5 Ha and 40 bohr cubic cell I get a "segmentation fault" while abinit print:
P This job should need less than                     532.428 Mbytes of memory.
 Rough estimation (10% accuracy) of disk space for files :
 WF disk file :     34.002 Mbytes ; DEN or POT disk file :     16.002 Mbytes.

So, it seems that it is not a memory problem at all.

I am running a sequencial 5.4.4 version (I have tried 5.3 too)
the only WARNING I receive is related with low ecut I am using:
mkdenpos : WARNING -
 Density went < 0 at     36827 points
 and was set to  1.00E-14.  Lowest was  -0.90E-05.
 Likely due to too low boxcut or too low ecut for pseudopotential core charge.


I almost sure is a detail or something that it's missing in th input file

--------------------------------------------------------------
Here is easy the Input file:

# C6H6 molecule in a big box
#
#Definition of the unit cell
acell 40.0 40.0 40.0

#Definition of the atom
ntypat 2
znucl 1 6
natom 24
typat 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2
xangst
-2.5253  0.0064  0.0005
-1.2742  2.1434  0.0006
 1.2021  2.1407  0.0005
 2.4309 -0.0086  0.0005
 1.1848 -2.1480  0.0005
-1.2911 -2.1403  0.0005
-2.5253  0.0064  7.0005
-1.2742  2.1434  7.0006
 1.2021  2.1407  7.0005
 2.4309 -0.0086  7.0005
 1.1848 -2.1480  7.0005
-1.2911 -2.1403  7.0005
-0.7367  1.2078  0.0005
 0.6606  1.2074  0.0005
 1.3519 -0.0065  0.0005
 0.6470 -1.2126  0.0005
-0.7500 -1.2068  0.0005
-1.4463  0.0044  0.0005
-0.7367  1.2078  7.0005
 0.6606  1.2074  7.0005
 1.3519 -0.0065  7.0005
 0.6470 -1.2126  7.0005
-0.7500 -1.2068  7.0005
-1.4463  0.0044  7.0005

#Ionic Relaxation
#ionmov       4           #ionic relaxation by Cradient Conjugated
optcell      0               #optimize the cell shape and dimensions
#ntime       50
#tolmxf      5.0d-5       #hartree/Bohr

#SFC options
ixc         11                #PBE
iscf         17               #Pulay scheme for mixing SFC history (tried with 5 also)
#npulayit     3           #number of pulay
iprcel       0                #SFC precondition scheme Default
nsppol       1             #number of spin polarization

#Definition of the SCF procedure
nstep 30             #  SCF cycles
toldfe 1.0d-6
 diemac 2.0

#Definition of the planewave basis set
ecut 25.0 Ry

#Definition of the k-point grid
nkpt 1            # Only one k point is needed for isolated system,

#Debugging options
prtvol 1
istatr 5




--
Pierre-Matthieu Anglade



Archive powered by MHonArc 2.6.16.

Top of Page