Skip to content

Commit

Permalink
Add working build on ascent.
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronrutherford committed Oct 10, 2023
1 parent 360bf94 commit 4974e9b
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
8 changes: 8 additions & 0 deletions buildsystem/spack/ascent/bsub.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,19 @@ which unzip
export MY_CLUSTER=ascent
. buildsystem/spack/load_spack.sh &&
spack develop --no-clone --path=$(pwd) exago@develop &&
spack develop --clone --force FORCE --path=$(pwd)/hiop hiop@develop &&
cd $(pwd)/hiop &&
git submodule update --init --recursive &&
cd - &&
spack mirror add local file://$SPACK_MIRROR &&
# This is necessary?
spack mirror add spack-public file://$SPACK_MIRROR &&
spack mirror list &&
cp /gpfs/wolf/proj-shared/csc359/src/coinhsl-archive-2019.05.21.tar.gz . &&
# Need to load self-installed patch since it is not available on compute nodes
spack concretize -f &&
spack install patch &&
spack load patch &&
jsrun -n 1 -c 40 buildsystem/spack/configure_modules.sh 40

EXIT_CODE=$?
Expand Down
2 changes: 2 additions & 0 deletions buildsystem/spack/ascent/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Configure python
module load python/3.9-anaconda3
module load unzip/6.0
module load autoconf/2.69

BASE=/gpfs/wolf/proj-shared/csc359/exago/spack-ci
export SPACK_INSTALL=$BASE/install
Expand Down
36 changes: 36 additions & 0 deletions buildsystem/spack/ascent/spack.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
spack:
specs:
- patch
- exago@develop+cuda cuda_arch=70
view: false
concretizer:
Expand Down Expand Up @@ -68,6 +69,41 @@ spack:
- spec: [email protected]
modules: [openblas/0.3.17-omp]
buildable: false
tar:
externals:
- spec: [email protected]
modules: [tar/1.34]
buildable: false
curl:
externals:
- spec: [email protected]
modules: [curl/7.79.0]
buildable: false
git:
externals:
- spec: [email protected]
modules: [git/2.35.1]
buildable: false
texinfo:
externals:
- spec: [email protected]
modules: [texinfo/6.5]
buildable: false
autoconf:
externals:
- spec: [email protected]
modules: [autoconf/2.69]
buildable: false
gmp:
externals:
- spec: [email protected]
modules: [gmp/6.2.1]
buildable: false
metis:
externals:
- spec: [email protected]
modules: [metis/5.1.0]
buildable: false
perl:
externals:
- spec: [email protected]
Expand Down

0 comments on commit 4974e9b

Please sign in to comment.