From 11d7a8a96a7c6537658baba598ce6fe048fe6c52 Mon Sep 17 00:00:00 2001
From: pat-alt <altmeyerpat@gmail.com>
Date: Wed, 18 Oct 2023 10:46:25 +0200
Subject: [PATCH] final script for lin sep

---
 .../jobscripts/generators/linearly_separable.sh  | 16 ++++++++++++++++
 .../jobscripts/generators/mnist_memory.sh        | 14 --------------
 experiments/jobscripts/generators/tabular.sh     | 14 --------------
 3 files changed, 16 insertions(+), 28 deletions(-)
 create mode 100644 experiments/jobscripts/generators/linearly_separable.sh
 delete mode 100644 experiments/jobscripts/generators/mnist_memory.sh
 delete mode 100644 experiments/jobscripts/generators/tabular.sh

diff --git a/experiments/jobscripts/generators/linearly_separable.sh b/experiments/jobscripts/generators/linearly_separable.sh
new file mode 100644
index 00000000..419fcde0
--- /dev/null
+++ b/experiments/jobscripts/generators/linearly_separable.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+#SBATCH --job-name="Linearly Separable (ECCCo)"
+#SBATCH --time=00:35:00
+#SBATCH --ntasks=10
+#SBATCH --cpus-per-task=10
+#SBATCH --partition=compute
+#SBATCH --mem-per-cpu=2GB
+#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 threaded n_individuals=100 n_runs=5 > experiments/logs/linearly_separable.log
diff --git a/experiments/jobscripts/generators/mnist_memory.sh b/experiments/jobscripts/generators/mnist_memory.sh
deleted file mode 100644
index 0f653aeb..00000000
--- a/experiments/jobscripts/generators/mnist_memory.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-#SBATCH --job-name="MNIST (ECCCo)"
-#SBATCH --time=10:00:00
-#SBATCH --ntasks=150
-#SBATCH --cpus-per-task=1
-#SBATCH --partition=memory
-#SBATCH --mem-per-cpu=64GB
-#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
-
-srun julia --project=experiments experiments/run_experiments.jl -- data=mnist output_path=results mpi > experiments/mnist.log
diff --git a/experiments/jobscripts/generators/tabular.sh b/experiments/jobscripts/generators/tabular.sh
deleted file mode 100644
index 43b43b6f..00000000
--- a/experiments/jobscripts/generators/tabular.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-#SBATCH --job-name="Tabular (ECCCo)"
-#SBATCH --time=12:00:00
-#SBATCH --ntasks=1000
-#SBATCH --cpus-per-task=1
-#SBATCH --partition=compute
-#SBATCH --mem-per-cpu=8GB
-#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
-
-srun julia --project=experiments experiments/run_experiments.jl -- data=gmsc,german_credit,california_housing output_path=results mpi > experiments/tabular.log
-- 
GitLab