Hi everybody,
I'm having the problem that intermittently (and I haven't quite figured out the system behind when it does and does not happen), `calc_ecmwf_p` tries to allocate 2 ExaBytes of memory and (predictably) crashes. The line where this happens is the following: WPS/util/src/calc_ecmwf_p.F at 884c1d15ffc97407cb174a64e540eaf873aad997 · wrf-model/WPS.
The error is:
Could somebody help with this issue?
Thanks!
PS:
One hint might be that in the cases where it works correctly, calc_ecmwf_p writes this line as the next in the logfile: "WARNING: Either SOILHGT or SOILGEO are required to create 3-d GHT field, which is required for a correct vertical interpolation in real."
So maybe it finds some (malformed) height fields in the files which confuses it? No idea why this should happen only sometimes though... I tried to look into the FILE_ML (with xxd because I don't know how to inspect these custom intermediate files) and I could find some mentions of "HGT" but not of "SOILHGT" or "SOILGEO"
I'm having the problem that intermittently (and I haven't quite figured out the system behind when it does and does not happen), `calc_ecmwf_p` tries to allocate 2 ExaBytes of memory and (predictably) crashes. The line where this happens is the following: WPS/util/src/calc_ecmwf_p.F at 884c1d15ffc97407cb174a64e540eaf873aad997 · wrf-model/WPS.
The error is:
In file 'calc_ecmwf_p.f90', around line 292: Error allocating 2506657909410179716 bytes: Cannot allocate memory
Error termination. Backtrace:
#0 0x403ca4 in ???
#1 0x405ff9 in ???
#2 0x7ffff6878cf2 in ???
#3 0x4016dd in ???
#4 0xffffffffffffffff in ???
srun: error: l10511: task 0: Exited with exit code 1
srun: launch/slurm: _step_signal: Terminating StepId=6789817.0
Could somebody help with this issue?
Thanks!
PS:
One hint might be that in the cases where it works correctly, calc_ecmwf_p writes this line as the next in the logfile: "WARNING: Either SOILHGT or SOILGEO are required to create 3-d GHT field, which is required for a correct vertical interpolation in real."
So maybe it finds some (malformed) height fields in the files which confuses it? No idea why this should happen only sometimes though... I tried to look into the FILE_ML (with xxd because I don't know how to inspect these custom intermediate files) and I could find some mentions of "HGT" but not of "SOILHGT" or "SOILGEO"
Last edited: