Skip to content
Snippets Groups Projects
Commit e66ae066 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

more debug of path

parent 770ec5fd
No related branches found
No related tags found
No related merge requests found
Pipeline #190728 failed
......@@ -36,6 +36,8 @@ variables:
- stack
variables:
COMMAND_OPTIONS_SBATCH: ${slurm_options}
STACK_CONFIG=${CI_PROJECT_DIR}/stacks/${stack}/config.json
STACK_LOCATION=$(jq -r .stack.mount_point ${STACK_CONFIG})
APPTAINER_EXEC_OPTIONS: ${apptainer_options} --bind ${BUILDCACHE}:/buildcache:rw --bind ${CI_PROJECT_DIR}:${STACK_LOCATION}
SPACK_USER_CACHE_PATH: "/tmp/spack_cache_${CI_JOB_ID}"
SPACK_USER_CONFIG_PATH: "/tmp/spack_user_${CI_JOB_ID}"
......
#!/usr/bin/env sh
STACK_CONFIG_PATH=${PWD}/stacks/${stack}
STACK_CONFIG=${STACK_CONFIG_PATH}/config.json
SPACK_VERSION=$(jq -r .spack.version ${STACK_CONFIG})
STACK_LOCATION=$(jq -r .stack.mount_point ${STACK_CONFIG})
SPACK_SYSTEM_CONFIG_PATH=${STACK_LOCATION}/stack/${stack}/environment
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