Some launchers create intermediate .sh
files outside of parsl's log directories
#3067
Labels
.sh
files outside of parsl's log directories
#3067
Many launchers generate intermediate files in the current working directory when they execute their command. Wouldn't it be easier to store these intermediate files in the
submit_scripts
folder in which the provider scripts are also located? Right now, they clog the original working directory of the user.For example, see here for the part of the script of
SrunLauncher
which writes the launch command to bash script, which then gets executed withsrun
. Other launchers do it in a similar manner.For SLURM in particular, the stderr and stdout paths are known inside the jobscript, so it would make sense to use something like
path_aux_scripts=$(dirname $SLURM_JOB_STDOUT)
and ensure any temporary files are created within$path_aux_scripts
.The text was updated successfully, but these errors were encountered: