diff --git a/experiments/jobscripts/testing/lin_sep.sh b/experiments/jobscripts/testing/lin_sep.sh index 661d4dbb0574e759729d9a7806e7f1d0ffbb75b6..11c46c6d1ae929da11f92abffaa7d97eda737ae3 100644 --- a/experiments/jobscripts/testing/lin_sep.sh +++ b/experiments/jobscripts/testing/lin_sep.sh @@ -2,8 +2,8 @@ #SBATCH --job-name="Grid-search Linearly Separable (ECCCo)" #SBATCH --time=00:30:00 -#SBATCH --ntasks-per-node=5 -#SBATCH --cpus-per-task=4 +#SBATCH --ntasks-per-node=20 +#SBATCH --cpus-per-task=1 #SBATCH --partition=compute #SBATCH --mem-per-cpu=4GB #SBATCH --account=research-eemcs-insy @@ -13,4 +13,4 @@ module load 2023r1 openmpi source experiments/slurm_header.sh -srun julia --project=experiments --threads $SLURM_CPUS_PER_TASK experiments/run_experiments.jl -- data=linearly_separable output_path=results mpi grid_search n_individuals=10 threaded > experiments/grid_search_linearly_separable.log +srun julia --project=experiments experiments/run_experiments.jl -- data=linearly_separable output_path=results mpi grid_search n_individuals=1 > experiments/grid_search_linearly_separable.log diff --git a/experiments/jobscripts/testing/lin_sep_threaded.sh b/experiments/jobscripts/testing/lin_sep_threaded.sh new file mode 100644 index 0000000000000000000000000000000000000000..c45cbb39122168aa13942ab1a1721248001002b9 --- /dev/null +++ b/experiments/jobscripts/testing/lin_sep_threaded.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +#SBATCH --job-name="Grid-search Linearly Separable (ECCCo)" +#SBATCH --time=00:30:00 +#SBATCH --ntasks-per-node=5 +#SBATCH --cpus-per-task=4 +#SBATCH --partition=compute +#SBATCH --mem-per-cpu=4GB +#SBATCH --account=research-eemcs-insy +#SBATCH --mail-type=END # Set mail type to 'END' to receive a mail when the job finishes. + +module load 2023r1 openmpi + +source experiments/slurm_header.sh + +srun julia --project=experiments --threads $SLURM_CPUS_PER_TASK experiments/run_experiments.jl -- data=linearly_separable output_path=results mpi grid_search n_individuals=1 threaded > experiments/grid_search_linearly_separable.log