You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 23, 2024. It is now read-only.
In my ESMValTool deployment, I described last time, I replace some default config files in the container by binding the file to the container when I call singularity.
see here:
#!/bin/bash
version="$(basename -- $0)"
default="2.10"
if [[ $version == "esmvaltool" ]]; then
version=$default
else
version="${0#*_}"
fi
config_user="-B /g/data/xp65/public/apps/esmvaltool/config/config-user.yml:/opt/conda/envs/esmvaltool/lib/python3.11/site-packages/esmvalcore/config-user.yml"
config_developer="-B /g/data/xp65/public/apps/esmvaltool/config/config-developer.yml:/opt/conda/envs/esmvaltool/lib/python3.11/site-packages/esmvalcore/config-developer.yml"
config_references="-B /g/data/xp65/public/apps/esmvaltool/config/config-references.yml:/opt/conda/envs/esmvaltool/lib/python3.11/site-packages/esmvaltool/config-references.yml"
singularity run -B $HOME:$HOME -B /g:/g -B /scratch:/scratch $config_user $config_developer $config_references /g/data/xp65/public/apps/esmvaltool/singularity_images/esmvaltool_$version.sif "$@"
I suppose I could do something similar but I was wondering if you had some suggestions. You have an outside_files_to_copy list in the config file but they just copy to g