Failure in reading WFK file

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
sheng
Posts: 64
Joined: Fri Apr 11, 2014 3:44 pm

Failure in reading WFK file

Post by sheng » Tue Oct 28, 2014 4:32 am

Hi all, I am using abinit v7.8.2 installed in a rocks cluster.
I notice that the reading of the wavefunction file (WFK) fails whenever I activate the KGB 3-level parallelization.
Some part of the log file is:

Code: Select all

Indeed, critical differences between current calculation and
  restart file have been detected in:
        * the plane-wave cutoff
================================================================================
-inwffil : will read wavefunctions from disk file DPi_DS1_WFK
 Relative gap for number of plane waves between process:     0.00

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.


The error appears whenever I include the option irdwfk or getwfk in my input file.
I have tested the usability of the WFK file by using the cut3d utility.
The problem did not arise when I run serial or normal mpi calculation.

Jordan
Posts: 282
Joined: Tue May 07, 2013 9:47 am

Re: Failure in reading WFK file

Post by Jordan » Tue Oct 28, 2014 10:30 am

Could you provide your input file and your files file ?
Maybe the standard ouput (log) files too.

Is it with the abinit from your liblzma issue ?

Jordan

sheng
Posts: 64
Joined: Fri Apr 11, 2014 3:44 pm

Re: Failure in reading WFK file

Post by sheng » Wed Oct 29, 2014 2:51 pm

Yes this is the abinit with the liblzma problem.
I have attached a log file where a loop is used with getwfk but resulted in error.
Thanks.
Attachments
DP_files.log
(75 Bytes) Downloaded 270 times
DP_in.log
(980 Bytes) Downloaded 288 times
log.log
(368.9 KiB) Downloaded 276 times

Jordan
Posts: 282
Joined: Tue May 07, 2013 9:47 am

Re: Failure in reading WFK file

Post by Jordan » Thu Oct 30, 2014 9:38 am

Hi,

Well, it seems that there is something wrong in the code but there is not really enough information in the backtrace.
I would say that the segmentation fault occurs because the ecut is different in the _WFK file and the current dtset.
I would suggest to try to restart with getden -1 instead of getwfk -1

If you can recompile abinit exactly the same way be with no optimization and a full backtrace report setting

Code: Select all

FCFLAGS_OPTIM="-O0"
FCFLAGS_EXTRA="-g -fcheck=all"

and just use this version of abinit to run the dtset 2 (set dtset 1 jdtset 2 in your input file) so we can see what the problem is.
You will have for sure warning about temporary arrays, just ignore them

Jordan

Locked