From 54e030bb8d1c6fccc87a69a0eee02d1d3b97ce7a Mon Sep 17 00:00:00 2001
From: pat-alt <altmeyerpat@gmail.com>
Date: Mon, 16 Oct 2023 17:05:14 +0200
Subject: [PATCH] now added command for threading

---
 experiments/daic/testing/cali_100_8.sh | 2 +-
 experiments/daic/testing/cali_50_8.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/experiments/daic/testing/cali_100_8.sh b/experiments/daic/testing/cali_100_8.sh
index ff7c6f7a..29153135 100644
--- a/experiments/daic/testing/cali_100_8.sh
+++ b/experiments/daic/testing/cali_100_8.sh
@@ -13,5 +13,5 @@ module load openmpi
 
 source experiments/slurm_header.sh
 
-srun julia --project=experiments experiments/run_experiments.jl -- data=california_housing output_path=results mpi grid_search n_individuals=10 > experiments/grid_search_california_housing.log
+srun julia --project=experiments experiments/run_experiments.jl -- data=california_housing output_path=results mpi grid_search n_individuals=10 threaded > experiments/grid_search_california_housing.log
 
diff --git a/experiments/daic/testing/cali_50_8.sh b/experiments/daic/testing/cali_50_8.sh
index aa671662..34bb1102 100644
--- a/experiments/daic/testing/cali_50_8.sh
+++ b/experiments/daic/testing/cali_50_8.sh
@@ -13,5 +13,5 @@ module load openmpi
 
 source experiments/slurm_header.sh
 
-srun julia --project=experiments experiments/run_experiments.jl -- data=california_housing output_path=results mpi grid_search n_individuals=10 n_each=16 > experiments/grid_search_california_housing.log
+srun julia --project=experiments --threads $SLURM_CPUS_PER_TASK experiments/run_experiments.jl -- data=california_housing output_path=results mpi grid_search n_individuals=10 n_each=16 threaded > experiments/grid_search_california_housing.log
 
-- 
GitLab