Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optimized Spack recipe for OpenFOAM on hpc6a #114

Open
mhuguesaws opened this issue Jul 25, 2023 · 0 comments
Open

Add optimized Spack recipe for OpenFOAM on hpc6a #114

mhuguesaws opened this issue Jul 25, 2023 · 0 comments

Comments

@mhuguesaws
Copy link
Collaborator

Install Spack v0.20.x

 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

spack mirror add v0.20.1 https://binaries.spack.io/v0.20.1
spack buildcache keys --install --trust

Install OpenFOAM 2206

spack compiler find
spack install openfoam@2206
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant