From 0cc0216b11dedb5a7fc17bba42d781d682947654 Mon Sep 17 00:00:00 2001 From: Pat Alt <55311242+pat-alt@users.noreply.github.com> Date: Wed, 13 Sep 2023 14:05:48 +0200 Subject: [PATCH] avoid threading because gather is apparently not thread safe --- experiments/gmsc.sh | 6 +++--- experiments/mnist.sh | 6 +++--- experiments/synthetic.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/experiments/gmsc.sh b/experiments/gmsc.sh index 6dd647de..d0dd86aa 100644 --- a/experiments/gmsc.sh +++ b/experiments/gmsc.sh @@ -2,8 +2,8 @@ #SBATCH --job-name="GMSC (ECCCo)" #SBATCH --time=3:00:00 -#SBATCH --ntasks=12 -#SBATCH --cpus-per-task=4 +#SBATCH --ntasks=48 +#SBATCH --cpus-per-task=1 #SBATCH --partition=compute #SBATCH --mem-per-cpu=4GB #SBATCH --account=innovation @@ -11,4 +11,4 @@ module load 2023r1 openmpi -srun julia --project=experiments --threads 4 experiments/run_experiments.jl -- data=gmsc output_path=results retrain threaded mpi > experiments/gmsc.log +srun julia --project=experiments experiments/run_experiments.jl -- data=gmsc output_path=results retrain mpi > experiments/gmsc.log diff --git a/experiments/mnist.sh b/experiments/mnist.sh index ebcfeb9c..8823002a 100644 --- a/experiments/mnist.sh +++ b/experiments/mnist.sh @@ -2,8 +2,8 @@ #SBATCH --job-name="MNIST (ECCCo)" #SBATCH --time=24:00:00 -#SBATCH --ntasks=12 -#SBATCH --cpus-per-task=4 +#SBATCH --ntasks=48 +#SBATCH --cpus-per-task=1 #SBATCH --partition=compute #SBATCH --mem-per-cpu=4GB #SBATCH --account=innovation @@ -11,4 +11,4 @@ module load 2023r1 openmpi -srun julia --project=experiments --threads 4 experiments/run_experiments.jl -- data=mnist output_path=results mpi > experiments/mnist.log +srun julia --project=experiments experiments/run_experiments.jl -- data=mnist output_path=results mpi > experiments/mnist.log diff --git a/experiments/synthetic.sh b/experiments/synthetic.sh index 2af77d79..551855d6 100644 --- a/experiments/synthetic.sh +++ b/experiments/synthetic.sh @@ -2,8 +2,8 @@ #SBATCH --job-name="Synthetic (ECCCo)" #SBATCH --time=02:00:00 -#SBATCH --ntasks=12 -#SBATCH --cpus-per-task=4 +#SBATCH --ntasks=48 +#SBATCH --cpus-per-task=1 #SBATCH --partition=compute #SBATCH --mem-per-cpu=4GB #SBATCH --account=innovation @@ -11,4 +11,4 @@ module load 2023r1 openmpi -srun julia --project=experiments --threads 4 experiments/run_experiments.jl -- data=linearly_separable,moons,circles output_path=results threaded mpi retrain > experiments/synthetic.log +srun julia --project=experiments experiments/run_experiments.jl -- data=linearly_separable,moons,circles output_path=results mpi retrain > experiments/synthetic.log -- GitLab