Unallocated diagnosticInfo in actor
A further write-up is here: https://jira.iter.org/browse/IMAS-4382
A demo actor for testing this behaviour was made here: https://git.iter.org/projects/IMEX/repos/fc2k-testing-framework/commits/6084272b6bf9ff94a3997488e5df5a8736b42740#diagnostic_python/fortran/diagnostic.f90 note the allocation on line 25.
I haven't yet investigated fully, but I suspect from Michal's comments that the issue is that diagnosticInfo
is not allocated properly when OutputFlag != 0
.
When the OutputFlag == 0
, then this is not checked by the actor wrapper, so I guess it likely evaded detection up-to now (it also affects only a small number of scenarios we've run).