Skip to content

Commit

Permalink
Override mache for Anvil with Gnu and OpenMPI
Browse files Browse the repository at this point in the history
The old version of gcc on Anvil can't build Albany so we want to
build our own library stack with a newer gcc.
  • Loading branch information
xylar committed Mar 7, 2023
1 parent 9e8b196 commit 2541ef9
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude: "docs|.git"
exclude: "docs|.git|conda/spack"
default_stages: [commit]
fail_fast: true

Expand Down
124 changes: 124 additions & 0 deletions conda/spack/anvil_gnu_openmpi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
spack:
specs:
- cmake
- gcc
- openmpi+cxx+pmi "schedulers=slurm"
- hdf5+cxx+fortran+hl+mpi
- netcdf-c+mpi~parallel-netcdf
- netcdf-fortran
- parallel-netcdf+cxx+fortran
{{ specs }}
concretizer:
unify: true
packages:
all:
compiler: [[email protected]]
providers:
mpi: [openmpi]
bison:
externals:
- spec: [email protected]
prefix: /usr
buildable: false
bzip2:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/gcc-6.5.0/bzip2-1.0.6-mbwr6sk
buildable: false
curl:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/gcc-6.5.0/curl-7.72.0-bnppi6e
buildable: false
diffutils:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/gcc-6.5.0/diffutils-3.7-lmwmgqg
buildable: false
findutils:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/gcc-6.5.0/findutils-4.6.0-ef3lzvf
buildable: false
gettext:
externals:
- spec: [email protected]
prefix: /usr
buildable: false
libiconv:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/intel-20.0.4/libiconv-1.16-gcutq6m
buildable: false
libxml2:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/intel-20.0.4/libxml2-2.9.10-dwvqy3m
buildable: false
m4:
externals:
- spec: [email protected]
prefix: /usr
buildable: false
openssl:
externals:
- spec: [email protected]
prefix: /usr
buildable: false
tar:
externals:
- spec: [email protected]
prefix: /usr
buildable: false
xz:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/intel-20.0.4/xz-5.2.5-6uopvxd
buildable: false
zlib:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/soft/chrysalis/spack/opt/spack/linux-centos8-x86_64/intel-20.0.4/zlib-1.2.11-dudhhig
buildable: false
cmake:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/gcc-6.5.0/cmake-3.20.3-vedypwm
modules:
- cmake/3.20.3-vedypwm
buildable: false
perl:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/software/centos7/spack-latest/opt/spack/linux-centos7-x86_64/gcc-6.5.0/perl-5.30.3-co3kopi
modules:
- perl/5.30.3-co3kopi
buildable: false
gcc:
externals:
- spec: [email protected]
prefix: /gpfs/fs1/soft/bebop/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/gcc-11.3.0-zr6ek74
modules:
- gcc/11.3.0
buildable: false
slurm:
externals:
- spec: slurm@17-11-7-1
prefix: /usr
buildable: false
config:
install_missing_compilers: false
compilers:
- compiler:
spec: [email protected]
paths:
cc: /gpfs/fs1/soft/bebop/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/gcc-11.3.0-zr6ek74/bin/gcc
cxx: /gpfs/fs1/soft/bebop/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/gcc-11.3.0-zr6ek74/bin/g++
f77: /gpfs/fs1/soft/bebop/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/gcc-11.3.0-zr6ek74/bin/gfortran
fc: /gpfs/fs1/soft/bebop/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/gcc-11.3.0-zr6ek74/bin/gfortran
flags: {}
operating_system: centos7
target: x86_64
modules: []
environment: {}
extra_rpaths: []

0 comments on commit 2541ef9

Please sign in to comment.