Closed rivershah closed 4 years ago
Hi @RiverShah !
Thanks for reporting this. This seems to be a problem specific to MacOS. The use of /var/folders
for temporary files instead of /tmp
looks to be a new (ish?) development.
I think the problem is simply that at the very end, the local provider is trying to copy outputs to /tmp/dsub-test/output/
, but that this directory does not exist. The "hello world" example assumes that TMPDIR
is always /tmp
. So you can either solve this by setting TMPDIR
to /tmp
or probably more appropriate would be for the "hello world" example to be something like:
dsub \
--provider local \
--logging "${TMPDIR:-/tmp}/dsub-test/logging/" \
--output OUT="${TMPDIR:-/tmp}/dsub-test/output/out.txt" \
--command 'echo "Hello World" > "${OUT}"' \
--wait
which indicates that the output and logging should go to the TMPDIR
or if not set, then go to /tmp
.
@mbookman Your suggested changes make the example work. Thank you for this. I suspect this is due to changes in OS Catalina (10.15.7) Ironically, I had already gotten toy examples for the cloud running and managed to run some larger workflows with the google-cls provider. On another note, from a long time user of SGE, dsub with the local and google compute engine providers is incredibly easy pathway to scale out compute. Thanks to all the contributors for writing and maintaining this great tool.
I installed dsub and attempting the hello world example. here are the commands I've tried:
Any assistance will be much appreciated.