OMP_STACKSIZE silently exceeded

Eatdirt eatdirt@protonmail.com
Mon Oct 7 16:45:00 GMT 2019


Hi there,
I just want to report something which is standard-compliant, but utterly
sad about the behaviour of OMP_STACKSIZE.

I am running a fortran code, compiled with version 8.3.1, simulation in
which it is difficult to correctly estimate the STACKSIZE used.

I can see that when OMP_STACKSIZE is exceeded, the code is not reporting
anything but continue to run, even compiled with -g. Some THREADPRIVATE
arrays are actually becoming "wild" and start containing random values
without triggering any errors. That's like we're back to the 80s for
debugging parallel code :)

I've checked that, indeed, exceeding OMP_STACKSIZE, is implementation
dependent, but if we could trigger some segfault on this, that would be
much welcome!!!

I can post more details if needed,
Cheers,
Chris.



More information about the Fortran mailing list