on a Linux AlphaServer system. Finally I succeeded. To prevent others
from reinventing the whieel, just for the record, this is what I needed:
Use an up-to-date version of GCC (4.1.1 or newer).
In the Makefiles, use:
Code: Select all
FC=gfortran
CPP_ = [...] | cpp -P -C -traditional-cpp >$*.f
FFLAGS = -O -mfp-trap-mode=su -ffree-form
The "-m" flag prevents a runtime underflow SIGSEGV.
Hence, all supporting libraries (BLAS, LAPACK etc.) should be
compiled with the same "-m" flag (either the fp-trap-mode or
ieee), otherwise the executable will SIGSEGV when calling a
library routine.
Rob.