Make changes
This commit is contained in:
22
slurm_scripts/pt.script
Executable file
22
slurm_scripts/pt.script
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
#SBATCH --account=ec54
|
||||
#SBATCH --job-name=pt
|
||||
#SBATCH --ntasks=10
|
||||
#SBATCH --mem-per-cpu=1G
|
||||
#SBATCH --cpus-per-task=10
|
||||
|
||||
set -o errexit # Exit the script on any error
|
||||
set -o nounset # Treat any unset variables as an error
|
||||
|
||||
module --quiet purge # Reset the modules to the system default
|
||||
module load Armadillo/11.4.3-foss-2022b
|
||||
module load OpenMPI/4.1.5-GCC-12.3.0
|
||||
|
||||
# Args
|
||||
start_temp=$1
|
||||
end_temp=$2
|
||||
points_temp=$3
|
||||
samples=$4
|
||||
|
||||
srun ./phase_transition_mpi $start_temp $end_temp $points_temp ${SLURM_ARRAY_TASK_ID} $samples 0
|
||||
Reference in New Issue
Block a user