metno / snap

Severe Nuclear Accident Programme
GNU General Public License v3.0
23 stars 6 forks source link

removing all associate statements, fix segfault in ifort #92 #93

Closed heikoklein closed 2 years ago

heikoklein commented 2 years ago

Intel compiler put all associate variables on the stack, which isn't large enough for SNAPs typical arrays. When using the -heap-array option with the intel compiler, the binary has heavy memory leaks. See #92.

Not all code changed has been tested, in particular the special output (aircraft doserates/column-concentrations) and the fimex-reading. The latter is done by the automated test, not sure about the special outputs.

magnusuMET commented 2 years ago

Tested by adapting a routine run and running ncdiff on master and this PR. Fixed an issue on global threshold height