NOAA-GFDL / mkmf

Other
10 stars 51 forks source link

Use of -fltconsistency in linux-intel.mk #5

Closed adcroft closed 9 years ago

adcroft commented 9 years ago

FFLAGS_REPRO in linux-intel.mk contains "-fltconsistency" (Line 25) which leads to bad values for some ocean-only experiments in MOM6. Everything works on Gaea (ncrc-intel.mk) which has "-fp-model source" instead of "-fltconsistency".

Is -fltconsistency preferred? If so, we need to use in on Gaea too and then figure out why the model gives bad values. Otherwise, can we have FFLAGS_REPRO in linux-intel.mk set to the same as ncrc_intel.mk?

underwoo commented 9 years ago

-fltconsistency is a deprecated flag. It should be replaced with -fpmodel source.