tags 840186 +patch tags 840186 +pending thanks On Fri, Nov 18, 2016 at 01:18:23AM +0000, Apra, Edoardo wrote: > The attached patch disables the gfortran flag -march=native. > Same patch can be found at the URL > http://www.nwchem-sw.org/images/Disable_march_native.patch.gz
> --- nwchem-6.6/src/config/makefile.h 2016-11-17 22:29:09.794581240 +0000 > +++ nwchem-6.6/src/config/makefile.h.orig 2016-11-17 22:26:29.497599135 > +0000 > @@ -1956,7 +1956,7 @@ > FOPTIONS += -ff2c -fno-second-underscore > endif > ifeq ($(GNU_GE_4_6),true) > - FOPTIONS += -mtune=native > + FOPTIONS += -march=native -mtune=native > FOPTIONS += -finline-functions > else > ifeq ($(_GOT3DNOW),Y) Thanks Edoardo, I've applied it to our packaging repository and will look at uploading a new package with this patch later today. Michael