To copy output data from scratch back to your home folder after running a single-node job, use

cp "$TMPDIR"/output_file $HOME

or for a directory containing output

cp -r "$TMPDIR"/output_dir $HOME

WARNING: after your job finishes, the "$TMPDIR" on the scratch disk is removed by the batch system. If you forget to copy your results back to your home directory, they will be lost!

  • No labels