add the USE_F90_ALLOCATABLE option to Spack (#47190)
Signed-off-by: Jeff Hammond <jehammond@nvidia.com>
This commit is contained in:
parent
2761e650fa
commit
19137b2653
@ -46,6 +46,7 @@ class Nwchem(Package):
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
variant("openmp", default=False, description="Enables OpenMP support")
|
||||
variant("f90allocatable", default=False, description="Use F90 allocatable instead of MA")
|
||||
variant(
|
||||
"armci",
|
||||
values=("mpi-ts", "mpi-pr", "armcimpi", "mpi3", "openib", "ofi"),
|
||||
@ -158,6 +159,9 @@ def install(self, spec, prefix):
|
||||
if spec.satisfies("+openmp"):
|
||||
args.extend(["USE_OPENMP=y"])
|
||||
|
||||
if spec.satisfies("+f90allocatable"):
|
||||
args.extend(["USE_F90_ALLOCATABLE=1"])
|
||||
|
||||
if self.spec.variants["armci"].value == "armcimpi":
|
||||
armcimpi = spec["armci"]
|
||||
args.extend(["ARMCI_NETWORK=ARMCI"])
|
||||
|
Loading…
Reference in New Issue
Block a user