Skip to content

Commit

Permalink
Merge pull request #76 from BlueBrain/fix-export-hoc-script
Browse files Browse the repository at this point in the history
Export all seeds in export_hoc script
  • Loading branch information
ilkilic authored Oct 25, 2023
2 parents 817638c + b79ef89 commit 21e5023
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/emodel_pipeline_local_python/export_hoc.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ sleep 20
srun ipengine --profile=${IPYTHON_PROFILE} --location=$(hostname) &
sleep 20

python pipeline.py --use_ipyparallel --step='export_hoc' --emodel=${OPT_EMODEL}
python pipeline.py --use_ipyparallel --step='export_hoc' --emodel=${OPT_EMODEL} --seed=${OPT_SEED}
5 changes: 4 additions & 1 deletion examples/emodel_pipeline_local_python/export_hoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ source ./myvenv/bin/activate

export OPT_EMODEL="L5PC"

sbatch -J "export_hoc_${OPT_EMODEL}" ./export_hoc.sbatch
for seed in {1..5}; do
export OPT_SEED=${seed}
sbatch -J "export_hoc_${OPT_EMODEL}_${OPT_SEED}" ./export_hoc.sbatch
done

0 comments on commit 21e5023

Please sign in to comment.