Skip to content
Snippets Groups Projects
Commit c83f50eb authored by pat-alt's avatar pat-alt
Browse files

try neach nothing

parent ef514312
No related branches found
No related tags found
1 merge request!8985 overshooting
......@@ -14,4 +14,4 @@ module load openmpi
source experiments/slurm_header.sh
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=$SLURM_CPUS_PER_TASK threaded > experiments/grid_search_california_housing.log
\ No newline at end of file
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=nothing threaded > experiments/grid_search_california_housing.log
\ No newline at end of file
......@@ -69,7 +69,8 @@ const N_IND_SPECIFIED = n_ind_specified
if any(contains.(ARGS, "n_each="))
n_each =
ARGS[findall(contains.(ARGS, "n_each="))][1] |>
x -> replace(x, "n_each=" => "") |> x -> parse(Int, x)
x -> replace(x, "n_each=" => "") |>
x -> x == "nothing" ? nothing : parse(Int, x)
else
n_each = 32
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment