Skip to content

Commit

Permalink
Remove hardcoded jobname
Browse files Browse the repository at this point in the history
  • Loading branch information
tikk3r committed Oct 25, 2019
1 parent db0d39f commit 79321f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GRID_LRT/application/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,9 @@ def build_slurm_file(self, database=None):
raise IOError("Launch file doesn't exist! "+self.launch_file)
slurmfile = '#!/usr/bin/env bash'
if self.wholenodes:
slurmfile += '#SBATCH --exclusive --job-name=prefactor --nodes=1 --cpus-per-task={ncpu:d} -p {queue:s}'
slurmfile += '#SBATCH --exclusive --nodes=1 --cpus-per-task={ncpu:d} -p {queue:s}'
else:
slurmfile += '#SBATCH --job-name=prefactor --nodes=1 --cpus-per-task={ncpu:d} -p {queue:s}'
slurmfile += '#SBATCH --nodes=1 --cpus-per-task={ncpu:d} -p {queue:s}'
slurmfile += """
echo Job landed on $(hostname)
JOBDIR=$(mktemp -d -p $TMPDIR)
Expand Down

0 comments on commit 79321f4

Please sign in to comment.