If the GFORTRAN_ERROR_DUMPCORE variable is set to ‘y’, ‘Y’ or ‘1’ (only the first letter is relevant) then library run-time errors cause core dumps. To disable the core dumps, set the variable to ‘n’, ‘N’, ‘0’. Default is not to core dump unless the -fdump-core compile option was used.