(where gadi is the remote host). On the remote host the log and work directories are softlinked to ~/cylc-run/lfric_cylc8/run1 from /scratch/dp9/dl9118/cylc-run/lfric_cylc8/run1 as expected, however the share directory is not being soft linked properly:
Thank you for making me aware of this Oliver. I tried setting the whole run dir to /scratch, but as Scott says, the initial task on the localhost goes off and makes the share dir first, so this may require some modification of the suite itself.
Ah right, yes creating the share dir manually will break the symlink dirs feature.
A quick workaround is to run a blank task on the remote platform before this local task runs.
install_remote => install_local
[runtime]
[[install_remote]]
# a blank task which triggers Cylc's remote installation
# (run this before local tasks which attempt to install into the remote cylc-run directory)
platform = my_platform
[[install_local]]
# a local task which installs things into the remote cylc-run directory
script = rsync /something my_platform:cylc-run/${CYLC_WORKFLOW_ID}/share/something
platform = localhost
Thank you Oliver, this looks like a nice work-around. Long term we will no-doubt have to do some restructuring of the LFRic rose stems, so we can address this more holistically at that point. Thanks again, Dave.