Hello,
Here is my makeflow file:
URL="/home/rmason/Scratch/elkjobs"
WD="1x1x1_220408_132509"
CP=/bin/cp
MAKEFLOW_INPUTS=$(WD)/
$(URL)/$(WD): $(WD)
$(CP) -r $(WD) $(URL)
# #$(URL)/$(WD)/runsbatch: ./runsbatch.sh
# # $(CP) runsbatch.sh $(URL)/$(WD)/runsbatch
$(URL)/$(WD)/runspecies.txt: $(URL)/$(WD)/runspecies.sh
cd $(URL)/$(WD) && ./runspecies.sh > runspecies.txt
# $(URL)/$(WD)/dirs: $(URL)/$(WD)/runspecies.txt
# cd $(URL)/$(WD) && find . -type d -depth 1 > dirs
# $(URL)/$(WD)/done: $(URL)/$(WD)/dirs
# cd $(URL)/$(WD) && ./runsbatch.sh
Most of it is commented out for testing.
If i run only the first rule, it succeeds. If I run the first and third rules I get:
parsing runelk_1x1x1_220408_132509.mfl...
local resources: 1.000 cores, 0 MB memory, 2061949 MB disk
max running local jobs: 1
checking runelk_1x1x1_220408_132509.mfl for consistency...
runelk_1x1x1_220408_132509.mfl has 2 rules.
recovering from log file runelk_1x1x1_220408_132509.mfl.makeflowlog...
checking for old running or failed jobs...
checking files for unexpected changes... (use --skip-file-check to skip this step)
error: /home/rmason/Scratch/elkjobs/1x1x1_220408_132509/runspecies.sh does not exist, and is not created by any rule.
found 1 errors and 0 warnings during consistency check.
workflow failed.
Indeed, /home/rmason/Scratch/elkjobs/1x1x1_220408_132509/runspecies.sh does not exist because the first rule fails!
What is going on?
Thanks for any help,
Roger