Skip to content
Snippets Groups Projects
Commit 946abe2a authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Trying to condition which configuration gets read first.

parent 1470f72a
No related branches found
No related tags found
1 merge request!9Build only
Pipeline #19224 passed
...@@ -108,7 +108,7 @@ GIT: ...@@ -108,7 +108,7 @@ GIT:
EOF EOF
# Create and write the additional config file # Create and write the additional config file
cat >autosubmit/${EXPID}/conf/myconf.yml <<EOF cat >autosubmit/${EXPID}/conf/00_myconf.yml <<EOF
spack: spack:
init: "" # command to load spack environment, e.g. module load spack, use spack/setup-env.sh if empty init: "" # command to load spack environment, e.g. module load spack, use spack/setup-env.sh if empty
url: https://github.com/spack/spack.git # url to download spack if necessary url: https://github.com/spack/spack.git # url to download spack if necessary
...@@ -140,7 +140,7 @@ EOF ...@@ -140,7 +140,7 @@ EOF
# If EXTRA_NAMELIST is provided, create and write the extra namelist file # If EXTRA_NAMELIST is provided, create and write the extra namelist file
if [ ! -z "$EXTRA_CONFIGURATION" ]; then if [ ! -z "$EXTRA_CONFIGURATION" ]; then
cat >autosubmit/${EXPID}/conf/extra_conf.yml <<EOF cat >autosubmit/${EXPID}/conf/01_extra_conf.yml <<EOF
$EXTRA_CONFIGURATION $EXTRA_CONFIGURATION
EOF EOF
fi fi
......
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