Using gfortran's -finit-local-zero flag seems like a good idea. Read about it here.
However, FMS/fmstot.f fails with this error:
gfortran -o FMS/fmstot.o -c -O3 -ffree-line-length-none -finit-local-zero FMS/fmstot.f
FMS/fmstot.f:45.26:
Error: Automatic array 'bmat' at (1) cannot have an initializer
FMS/fmstot.f:43.34:
complex gtr(ipmin:ipmax,nex),gtrloc(ipmin:ipmax,nex) !KJ I added i
1
Error: Automatic array 'gtr' at (1) cannot have an initializer
FMS/fmstot.f:43.58:
complex gtr(ipmin:ipmax,nex),gtrloc(ipmin:ipmax,nex) !KJ I added i
1
Error: Automatic array 'gtrloc' at (1) cannot have an initializer
scons: *** [FMS/fmstot.o] Error 1
Using gfortran's
-finit-local-zeroflag seems like a good idea. Read about it here.However,
FMS/fmstot.ffails with this error: