Hi, If a job is submitted under a directory whose path contains one or more percent `%` characters, sbatch without `--output` and `--error` options is successful and `slurm-%j.out` is created: $ mkdir foo%%bar $ cd foo%%bar $ sbatch << EOF #!/bin/bash EOF Submitted batch job 1 $ ls slurm-1.out However, a batch job immediately exits and stdout and stderr vanish if the options are specified: $ sbatch --output=stdout --error=stderr << EOF #!/bin/bash sleep 10m EOF Submitted batch job 2 $ squeue | awk '$1 == 2'; : the job has ended $ ls slurm-1.out Best
So, `%%` in the SLURM_SUBMIT_DIR is converted to `%`: $ mkdir foo%bar foo%%bar $ cd foo%%bar $ sbatch --output=stdout.%j --error=stderr.%j << EOF #!/bin/bash EOF Submitted batch job 3 $ ls $ ls ../foo%bar stderr.3 stdout.3 Best