bug of state.F90 ?  [SOLVED]

Total energy, DFT+U, BigDFT,...

Moderator: amadon

bug of state.F90 ?

Postby wxiaom86 » Sat Jan 14, 2017 5:17 pm

When I am doing nscf to get the wave function for a large number of bands, I came across the following error. So what does it mean and how to solve it?

--------------------------
--- !BUG
src_file: gstate.F90
src_line: 615



mpi_rank: 0
message: |
Error: overflow of mcg integer for size of the full wf. Recompile with large int or reduce system size
...

Action : contact ABINIT group.
Action : contact ABINIT group.



leave_new: decision taken to exit ...
application called MPI_Abort(MPI_COMM_WORLD, 13) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=13
:
system msg for write_line failure : Bad file descriptor

--------------------------------

Best,
Xiaoming Wang
University of Toledo
wxiaom86
 
Posts: 14
Joined: Tue Nov 29, 2016 7:28 pm

Re: bug of state.F90 ?  [SOLVED]

Postby Jordan » Mon Jan 23, 2017 9:34 am

It means the total number of wave function coefficients is larger than the maximal value you can store in a "int" type,
Namely, number of kpt*number of bands*number of spinors * number of plane waves is larger than 2^32-1
To handle such a calculation, you can
1) Recompile to user 64bit int (long int)
2) parallelize over kpt/band/planewaves to share the memory : see paral_kgb and autoparal variables
Jordan
 
Posts: 281
Joined: Tue May 07, 2013 9:47 am


Return to Ground state

Who is online

Users browsing this forum: No registered users and 3 guests