Page 1 of 1

bader charge error

Posted: Mon Feb 14, 2022 1:18 pm
by omerelmutasim_elfaki
Dear all
I did bader charge analysis, but i got the below error:
The files are attached in the following drobox link:
https://www.dropbox.com/s/2hwim24n2bi05 ... r.zip?dl=0


Error:

" At line 200 of file /tmp/bigdft-suite/bigdft/src/tools/bader/dipole_mod.f90
Fortran runtime error: Index '1' of dimension 1 of array 'ions%atomic_num' above upper bound of 0

Error termination. Backtrace:
#0 0x7f5d9996b2ed in ???
#1 0x7f5d9996bed5 in ???
#2 0x7f5d9996c2a7 in ???
#3 0x5562c8b2a39f in __dipole_mod_MOD_dipole_output
at /tmp/bigdft-suite/bigdft/src/tools/bader/dipole_mod.f90:200
#4 0x5562c8b09196 in charge
at /tmp/bigdft-suite/bigdft/src/tools/bader/main.f90:96
#5 0x5562c8b08cf8 in main
at /tmp/bigdft-suite/bigdft/src/tools/bader/main.f90:41
"

Re: bader charge error

Posted: Mon Feb 14, 2022 1:30 pm
by ferenc_karsai
Please post your calculation according to the forum guidelines (POSCAR, INCAR, KPOINTS, POTCAR) so that we can reproduce the calculation.

Re: bader charge error

Posted: Mon Feb 14, 2022 1:37 pm
by omerelmutasim_elfaki
Sorry, please find the below dropbox link for the input files:
https://www.dropbox.com/sh/jt4vuln4yuti ... gZ6Aa?dl=0

Re: bader charge error

Posted: Tue Feb 15, 2022 8:24 am
by ferenc_karsai
Which version of VASP did you use?

Re: bader charge error

Posted: Tue Feb 15, 2022 8:25 am
by ferenc_karsai
And compiler toolchain?

Re: bader charge error

Posted: Wed Feb 16, 2022 7:30 pm
by ferenc_karsai
I tried to run it, the calculation takes too long for testing on our machines.
How far did the calculation go until you got the error? Please provide your stdout.

Re: bader charge error

Posted: Thu Feb 17, 2022 10:08 am
by omerelmutasim_elfaki
Dear Dr. ferenc karsai
I re-installed it again and it works now.
Thanks a lot for your swift responses.
Regards

Re: bader charge error

Posted: Thu Feb 17, 2022 10:27 am
by ferenc_karsai
I'm glad that it works for you now.