Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions IQSS-slurm-examples/basicbatch.slurm
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
#SBATCH -t 15 # Runtime in minutes; job killed after this amount of time; default: 10
#SBATCH -p serial_requeue # Partition to submit to; default: serial_requeue
#SBATCH --mem=100 # Memory shared across all cores in MB (see also –mem-per-cpu)
#SBATCH --open-mode=append; default: overwrite
#SBATCH --open-mode=append # default: overwrite
#SBATCH -o %x_%j.out # Standard out goes to this file; default: slurm-JOBID.out
#SBATCH -e %x_%j.err # Standard err goes to this file; default: slurm-JOBID.err

# Will need to request more than 100MB for some jobs in this repo

# Commands to run go on next lines
# Start by loading module(s) for your application:
load # put my application module(s) here
module load # put my application module(s) here

# Run the application

Expand Down
2 changes: 1 addition & 1 deletion IQSS-slurm-examples/hello.R.slurm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#SBATCH -o %x_%j.out # Standard out goes to this file
#SBATCH -e %x_%j.err # Standard err goes to this file
# Commands to run go on next lines:
module load intel/17.0.4-fasrc01 R/3.5.0-fasrc01
module load intel/25.2.1-fasrc01 R/4.5.1-fasrc01
chmod u+x ./hello.R
./hello.R # Run R hello world.

Expand Down
2 changes: 1 addition & 1 deletion IQSS-slurm-examples/hello.julia.slurm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#SBATCH -o %x_%j.out # Standard out goes to this file
#SBATCH -e %x_%j.err # Standard err goes to this file
# Commands to run go on next lines:
module load julia/1.1.1-fasrc01
module load julia/1.0.0-ncf
chmod u+x ./hello.jl
./hello.jl

Expand Down
2 changes: 1 addition & 1 deletion IQSS-slurm-examples/hello.mathematica.slurm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#SBATCH -e %x_%j.err # Standard err goes to this file
# Commands to run go on next lines:

module load mathematica/11.3.0-fasrc01
module load mathematica/13.3.0-fasrc01
math -noprompt -run "<< ./hello.math" # Run mathematica hello world.

# To submit the job:
Expand Down
2 changes: 1 addition & 1 deletion IQSS-slurm-examples/hello.python2.slurm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#SBATCH -e %x_%j.err # Standard err goes to this file
# Commands to run go on next lines:

module load python/2.7.14-fasrc02
module load python/3.12.11-fasrc02
chmod u+x ./hello.py2
./hello.py2

Expand Down
4 changes: 2 additions & 2 deletions IQSS-slurm-examples/multitask.example.R.slurm
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# Commands to run go on next lines:

module purge > /dev/null 2>&1
module load gcc/7.1.0-fasrc01 R/3.5.0-fasrc01
module load intel/17.0.4-fasrc01 R/3.5.0-fasrc01
module load gcc/15.2.0-fasrc01 R/4.5.1-fasrc01
module load intel/25.2.1-fasrc01 R/4.5.1-fasrc01
chmod u+x multitask.example.R
./multitask.example.R "${SLURM_ARRAY_TASK_ID}" # Run R hello world.

Expand Down