diff --git a/experiments/daic/testing/lin_sep.sh b/experiments/daic/testing/lin_sep.sh index 67df795b07f31dd375bf9032157c6b7f7b9d76b4..765609ad6616fbebd999760acc1fb75fb45ddcad 100644 --- a/experiments/daic/testing/lin_sep.sh +++ b/experiments/daic/testing/lin_sep.sh @@ -1,7 +1,7 @@ #!/bin/bash #SBATCH --job-name="Grid-search Linearly Separable (ECCCo)" -#SBATCH --time=01:00:00 +#SBATCH --time=00:30:00 #SBATCH --ntasks-per-node=5 #SBATCH --cpus-per-task=4 #SBATCH --partition=general @@ -11,6 +11,7 @@ module use /opt/insy/modulefiles # Use DAIC INSY software collection module load openmpi +set -x export SRUN_CPUS_PER_TASK="$SLURM_CPUS_PER_TASK" -srun julia --project=experiments 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 --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 diff --git a/experiments/daic/testing/lin_sep_no_threads.sh b/experiments/daic/testing/lin_sep_no_threads.sh new file mode 100644 index 0000000000000000000000000000000000000000..0b84c07b2dd9bbb4947f1d334a480df0d0183086 --- /dev/null +++ b/experiments/daic/testing/lin_sep_no_threads.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +#SBATCH --job-name="Grid-search Linearly Separable (ECCCo)" +#SBATCH --time=00:30:00 +#SBATCH --ntasks-per-node=20 +#SBATCH --cpus-per-task=1 +#SBATCH --partition=general +#SBATCH --mem-per-cpu=4GB +#SBATCH --mail-type=END # Set mail type to 'END' to receive a mail when the job finishes. + +module use /opt/insy/modulefiles # Use DAIC INSY software collection +module load openmpi + +export SRUN_CPUS_PER_TASK="$SLURM_CPUS_PER_TASK" + +srun julia --project=experiments experiments/run_experiments.jl -- data=linearly_separable output_path=results mpi grid_search n_individuals=10 > experiments/grid_search_linearly_separable.log