You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1014 B
Bash

#!/bin/bash
## sbatch is the command line interpreter for Slurm
## specify the name of the job in the queueing system
#SBATCH --job-name=Distributed_Sorting
## specify the partition for the resource allocation. if not specified, slurm is allowed to take the default(the one with a star *)
#SBATCH --partition=production
## format for time is days-hours:minutes:seconds, is used as time limit for the execution duration
#SBATCH --time=12:00:00
## specify the real memory required per node. suffix can be K-M-G-T but if not present is MegaBytes by default
#SBATCH --mem=3G
## format for hosts as a range(steffe[1-4,10-15,20]), to specify hosts needed to satisfy resource requirements
#SBATCH --nodelist=steffe[1]
## to specify the number of processors per task, default is one
#SBATCH --cpus-per-task=1
## to specify the number of tasks to be invoked on each node
#SBATCH --ntasks-per-node=1
## to specify the file of utput and error
#SBATCH --output ./%x.%j.out
#SBATCH --error ./e%x.%j.err
mpirun sort_big_file