diff --git a/var/spack/repos/builtin/packages/nwchem/package.py b/var/spack/repos/builtin/packages/nwchem/package.py index 09a8c6ed85..fb2aa60167 100644 --- a/var/spack/repos/builtin/packages/nwchem/package.py +++ b/var/spack/repos/builtin/packages/nwchem/package.py @@ -67,12 +67,16 @@ def install(self, spec, prefix): "MRCC_METHODS=y", # TCE extra module "IPCCSD=y", # TCE extra module "EACCSD=y", # TCE extra module + "V=1", # verbose build ] ) if self.spec.satisfies("@7.2.0:"): args.extend(["NWCHEM_MODULES=all python gwmol"]) + args.extend(["USE_HWOPT=n"]) else: args.extend(["NWCHEM_MODULES=all python"]) + # archspec flags are injected through the compiler wrapper + filter_file("(-mtune=native|-mcpu=native|-xHost)", "", "src/config/makefile.h") # TODO: query if blas/lapack/scalapack uses 64bit Ints # A flag to distinguish between 32bit and 64bit integers in linear