aws-samples / aws-samples/aws-parallelcluster-hpc-quickstart

Add optimized Spack recipe for OpenFOAM on hpc6a

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
17
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Install Spack v0.20.x
```bash
export SPACK_ROOT=/shared/spack
git clone -c feature.manyFiles=true -b releases/v0.20 https://github.com/spack/spack $SPACK_ROOT
echo "export SPACK_ROOT=$SPACK_ROOT" >> $HOME/.bashrc
echo "source \$SPACK_ROOT/share/spack/setup-env.sh" >> $HOME/.bashrc
source $HOME/.bashrc
```

Add Spack cache
```bash
spack mirror add v0.20.1 https://binaries.spack.io/v0.20.1
spack buildcache keys --install --trust
```

Install OpenFOAM 2206
```bash
spack compiler find
spack install openfoam@2206
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.