I'm trying to run some ELNES simulations using relaxed SQS supercells, but am running into some unexpected errors when generating the potentials. Here's the text that's printed to stdout when the error occurs; looks like it almost found enough charge, but I'm uncertain about that radius (seems like it's in $a_0$ units, in which case it's way too large):
Calculating atomic potentials ...
overlapped atomic potential and density for unique potential 0
FRNRM Could not integrate enough charge to reach required z.
Atom type Z= 7 charge found= 6.9999998940294272 r= 40.447304179253848
Cannot determine Norman radius -- quitting.
FRNRM-1
...
And here's the associated stderr output:
Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG IEEE_DENORMAL
Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG IEEE_DENORMAL
STOP
At line 107 of file rdpot.f90 (unit = 3)
Fortran runtime error: Cannot open file 'pot.bin': No such file or directory
...
And that's followed by a failed backtrace. That error printed to stdout seems to be raised at this line, but I'm not fluent in Fortran nor familiar enough with the code to fully understand how that section of code works.
I've run successful simulations using the same settings for perfect crystals (i.e. not SQS supercells). I've tried messing around with a variety of settings, but this error seems to happen at the very beginning of the process, before anything I've got control over with cards (or if it is something I have control over, I don't know what cards to use).
Here's the contents of the feff.inp file I am using (same as the successful runs, excepting .cif location, target, and ELNES orientation):
TITLE AlGdN
EDGE K
CONTROL 1 0 0 0 0 0
PRINT 0 0 0 0 0 0
COREHOLE RPA
CIF E:\Users\...\CONTCAR_x0p083.cif
TARGET 74
EXCHANGE 0 0 0 0
FMS 8 0
EQUIVALENCE 2
EGRID
e_grid 0 35.0 0.1
SCF 5 0 100 0.2 1
ELNES 4 0.07 0
200 0 1 1
1 -1 -2
10 1
50 1
0 0
END
And in case it's useful, here's the final electronic configuration from the last successful simulation I had with the non-SQS cell:
Electronic configuration
type l N_el
0 0 1.654
0 1 3.709
0 2 0.026
0 3 0.000
1 0 0.768
1 1 1.209
1 2 0.631
1 3 0.000
2 0 1.654
2 1 3.709
2 2 0.026
2 3 0.000
I'm also willing to share one of the SQS .cif files in question if you'd like it to help reproduce this.
I don't actually know if this is a FEFF bug, or if there're some settings I've got messed up, or if I'm trying to do something that's just fundamentally not going to work. I am happy to help troubleshoot further, and can share any information that would be useful to that end! In the meantime, I'm also curious if there are any workarounds to get these simulations running.
I'm trying to run some ELNES simulations using relaxed SQS supercells, but am running into some unexpected errors when generating the potentials. Here's the text that's printed to$a_0$ units, in which case it's way too large):
stdoutwhen the error occurs; looks like it almost found enough charge, but I'm uncertain about that radius (seems like it's inAnd here's the associated
stderroutput:And that's followed by a failed backtrace. That error printed to
stdoutseems to be raised at this line, but I'm not fluent in Fortran nor familiar enough with the code to fully understand how that section of code works.I've run successful simulations using the same settings for perfect crystals (i.e. not SQS supercells). I've tried messing around with a variety of settings, but this error seems to happen at the very beginning of the process, before anything I've got control over with cards (or if it is something I have control over, I don't know what cards to use).
Here's the contents of the
feff.inpfile I am using (same as the successful runs, excepting.ciflocation, target, and ELNES orientation):And in case it's useful, here's the final electronic configuration from the last successful simulation I had with the non-SQS cell:
I'm also willing to share one of the SQS
.ciffiles in question if you'd like it to help reproduce this.I don't actually know if this is a FEFF bug, or if there're some settings I've got messed up, or if I'm trying to do something that's just fundamentally not going to work. I am happy to help troubleshoot further, and can share any information that would be useful to that end! In the meantime, I'm also curious if there are any workarounds to get these simulations running.