diff options
author | Satish Balay <balay@mcs.anl.gov> | 2024-11-11 08:52:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-11 08:52:20 -0600 |
commit | f458392c1b223d628bffe1ce72d7a86118f3fc75 (patch) | |
tree | 18cb6c04a342da9afff291d6fe8a01d194356d10 /var | |
parent | 8c962a94b0c2d5ebe8371774966d32fea4a5bbcc (diff) | |
download | spack-f458392c1b223d628bffe1ce72d7a86118f3fc75.tar.gz spack-f458392c1b223d628bffe1ce72d7a86118f3fc75.tar.bz2 spack-f458392c1b223d628bffe1ce72d7a86118f3fc75.tar.xz spack-f458392c1b223d628bffe1ce72d7a86118f3fc75.zip |
petsc: use --with-exodusii-dir [as exodus does not have 'libs()' to provide value for --with-exodusii-lib] (#47506)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/petsc/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py index 0a0d61da85..918b2e8367 100644 --- a/var/spack/repos/builtin/packages/petsc/package.py +++ b/var/spack/repos/builtin/packages/petsc/package.py @@ -514,6 +514,9 @@ class Petsc(Package, CudaPackage, ROCmPackage): else: hdf5libs = ":hl" + if "+exodusii+fortran" in spec and "+fortran" in spec: + options.append("--with-exodusii-fortran-bindings") + # tuple format (spacklibname, petsclibname, useinc, uselib) # default: 'gmp', => ('gmp', 'gmp', True, True) # any other combination needs a full tuple @@ -553,7 +556,7 @@ class Petsc(Package, CudaPackage, ROCmPackage): ("parallel-netcdf", "pnetcdf", True, True), ("moab", "moab", False, False), ("random123", "random123", False, False), - "exodusii", + ("exodusii", "exodusii", False, False), "cgns", "memkind", "p4est", |