Fail to run 2 example jobs


Click here for full thread
  • Guest -
The Fortran runtime error is possibly a GCC version problem?
Hi - I have received a similar error (though in a different place) after building nwchem6 with GCC 4.6.1:

"At line 623 of file psp_generator_input.F (unit = 99, file = '/tmp/gelb/pysim/single-config/junk.inp')
Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE"

When I rebuilt with GCC 4.4.6, this error disappeared. There was a change in the compiler that had something to do with this (GCC Bug 44477), but I'm not sure what.

(Also - in doing this I discovered that if your 'gfortran' compiler is named, say, 'gfortran-4.6', then the stuff in config/makefile.h doesn't see it and all the compilation flags get set incorrectly.)

Cheers,

Lev Gelb