Is there a way to avoid crashing on a lexical error? e.g.
PGFIO-F-225/list-directed read/internal file/lexical error-- unknown token type. In source file ./e_trinit.f, at line number 72
I have code that was built using the xlf compiler which responds to these types of errors with
1525-097 A READ statement using decimal base input found the invalid digit 'P' in the input file. The program will recover by assuming a zero in its place.
But when run with PGI (pgi 13.10 sandybridge) the execution is immediately aborted.
Is there a trap or something I can set/unset?