Make changes

This commit is contained in:
2023-12-03 13:33:48 +01:00
parent 84692040d3
commit 237bd37184
13 changed files with 377 additions and 207 deletions

22
slurm_scripts/pt.script Executable file
View 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