Skip to content
Snippets Groups Projects
Commit 59c03be8 authored by Fabian.Jakub's avatar Fabian.Jakub
Browse files

minor tweak to spack find compiler method for use at KCS cluster

parent 3e233d5b
No related branches found
No related tags found
No related merge requests found
Pipeline #18802 failed
......@@ -30,7 +30,7 @@ function _install_spack() {
if [[ $(spack compiler info ${SPACK_COMPILER}) ]]; then
echo "Found Compiler $(spack compiler info ${SPACK_COMPILER})"
else
if $(spack load ${SPACK_COMPILER}); then
if $(spack location --install-dir ${SPACK_COMPILER}); then
echo "found the compiler ${SPACK_COMPILER} as a spack package at $(spack location --install-dir $SPACK_COMPILER)"
else
echo "could not find compiler, will now try to install it... this may take a while"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment