Skip to content
Snippets Groups Projects
Commit 80a36c58 authored by Oriol Tintó Prims's avatar Oriol Tintó Prims
Browse files

Add job to transfer namelists to remote platform from project folder.

parent bc346d94
No related branches found
No related tags found
2 merge requests!2Split prepare_rundir.sh into three different stages for the whole experiment,...,!1Cast checkpoint time to integer, add 10 minutes to the simulation to guarantee...
# Synchronize the local namelists with the remote directory
# Get some variables provided by autosubmit.
WORKDIR=%HPCROOTDIR%
HPCUSER=%HPCUSER%
HPCHOST=%HPCHOST%
# Define local and remote namelists folders
REMOTE_NAMELISTS_FOLDER=${WORKDIR}/namelists
LOCAL_NAMELISTS_FOLDER="%PROJCDIR%/namelists"
# Transfer the namelists
rsync -v ${LOCAL_NAMELISTS_FOLDER}/* ${HPCUSER}@${HPCHOST}:${REMOTE_NAMELISTS_FOLDER}
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