Skip to content

Commit

Permalink
Enable mpi variant for pflogger as a workaround for the pflogger buil…
Browse files Browse the repository at this point in the history
…d system
  • Loading branch information
climbfuji committed Jan 18, 2024
1 parent 1b0a363 commit 46d609d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu-ci-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ jobs:
# Add additional variants for MET packages, different from config/common/packages.yaml
spack config add "packages:met:variants:+python +grib2 +graphics +lidar2nc +modis"
# https://github.com/spack/spack/issues/42137
spack config add "packages:pflogger:+mpi"
# Concretize and check for duplicates
spack concretize 2>&1 | tee log.concretize.intel-2022.1.0
${SPACK_STACK_DIR}/util/show_duplicate_packages.py -d log.concretize.intel-2022.1.0 -i fms -i crtm -i esmf -i mapl
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ubuntu-rnd-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
# Add additional variants for MET packages, different from config/common/packages.yaml
spack config add "packages:met:variants:+python +grib2 +graphics +lidar2nc +modis"
# https://github.com/spack/spack/issues/42137
spack config add "packages:pflogger:+mpi"
# Overrides for spack build and staging areas to speed up builds,
# separate from the default site config locations to avoid conflicts
spack config add "config:build_stage:/home/ubuntu/spack-stack/CI/tmp/build_stage"
Expand Down Expand Up @@ -130,6 +133,9 @@ jobs:
# Add additional variants for MET packages, different from config/common/packages.yaml
spack config add "packages:met:variants:+python +grib2 +graphics +lidar2nc +modis"
# https://github.com/spack/spack/issues/42137
spack config add "packages:pflogger:+mpi"
# Overrides for spack build and staging areas to speed up builds,
# separate from the default site config locations to avoid conflicts
spack config add "config:build_stage:/home/ubuntu/spack-stack/CI/tmp/build_stage"
Expand Down
6 changes: 6 additions & 0 deletions configs/sites/aws-pcluster/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ packages:
- libfabric-aws/1.16.0~amzn4.0
- openmpi/4.1.4

### Modification of common packages

# https://github.com/spack/spack/issues/42137
pflogger:
variants: +mpi

### All other external packages listed alphabetically
autoconf:
externals:
Expand Down

0 comments on commit 46d609d

Please sign in to comment.