Skip to content
Snippets Groups Projects
Commit bed931ad authored by Marius van den Beek's avatar Marius van den Beek
Browse files

Sync job script templates with galaxy

parent f539af22
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ elif [ -n "$SLURM_NTASKS" ] || [ -n "$SLURM_CPUS_PER_TASK" ]; then ...@@ -15,6 +15,8 @@ elif [ -n "$SLURM_NTASKS" ] || [ -n "$SLURM_CPUS_PER_TASK" ]; then
GALAXY_SLOTS=`expr "${SLURM_NTASKS:-1}" \* "${SLURM_CPUS_PER_TASK:-1}"` GALAXY_SLOTS=`expr "${SLURM_NTASKS:-1}" \* "${SLURM_CPUS_PER_TASK:-1}"`
elif [ -n "$NSLOTS" ]; then elif [ -n "$NSLOTS" ]; then
GALAXY_SLOTS="$NSLOTS" GALAXY_SLOTS="$NSLOTS"
elif [ -n "$NCPUS" ]; then
GALAXY_SLOTS="$NCPUS"
elif [ -n "$PBS_NCPUS" ]; then elif [ -n "$PBS_NCPUS" ]; then
GALAXY_SLOTS="$PBS_NCPUS" GALAXY_SLOTS="$PBS_NCPUS"
elif [ -f "$PBS_NODEFILE" ]; then elif [ -f "$PBS_NODEFILE" ]; then
......
#!$shell #!$shell
$integrity_injection
$headers $headers
$integrity_injection
$slots_statement $slots_statement
export GALAXY_SLOTS export GALAXY_SLOTS
GALAXY_LIB="$galaxy_lib" GALAXY_LIB="$galaxy_lib"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment