Open cwsmith opened 4 years ago
job_setup
hasn't ben required, insofar as I've done many runs without it. Though, it's possible a cheetah change has occurred.
I'd expect giving the key without a value not to work, as it's like setting a blank file name. I could fix that, but the way it is now will interpret as an empty string.
I've reproduced it in the examples, I'll ask the Cheetah developer what to do without one.
The Cheetah bug appears to have been fixed now.
Installing effis (
spack install effis
following the instructions here https://wdmapp.readthedocs.io/en/latest/build/build.html#build-wdmapp-label) on Rhea and runningeffis-compose.py
appears to requirejob_setup: /path/to/script
for the last line of.cheetah/<user>/campaign-env.sh
to be generated correctly. Specifically, I created three yaml composition files, one withjob_setup:
, one without, and one with an emptyjob_setup
field:Then ran
effis-compose.py
on the three yaml files (note, they output to different run directories):And then looking at the two
campaign-env.sh
files we see an empty 'source' for thecp
command is in the 'noSetup' outputRunning
effis-submit
on a yaml with the empty 'source' arg for the cp command produces the following error. Note, I appended-x
to the#!/bin/bash
at the top ofeffis-submit
to see where it was failing: