Skip to content

Commit

Permalink
nci-openmpi: do not rely on implicit import of spack.package
Browse files Browse the repository at this point in the history
* Spack is planning on removing the implicit import of spack.package.
  See spack/spack#39380
* Recommended changes from the code review have been add.
  See #21
  • Loading branch information
harshula committed Feb 12, 2024
1 parent 5a1c6cb commit 198d992
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/nci-openmpi/package.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## Adapted from https://github.com/spack/spack/blob/v0.20.0/var/spack/repos/builtin/packages/openmpi/package.py
## Scott Wales 2023
# Adapted from https://github.com/spack/spack/blob/v0.20.0/var/spack/repos/builtin/packages/openmpi/package.py
# Scott Wales 2023
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *

class NciOpenmpi(Package):
"""
Expand All @@ -14,6 +15,8 @@ class NciOpenmpi(Package):
externals:
- spec: [email protected]
prefix: /apps/openmpi/4.1.4
modules:
- openmpi/4.1.4
buildable: False
"""

Expand Down

0 comments on commit 198d992

Please sign in to comment.