selfisys_public/submit/step1.sh
2025-01-10 17:03:16 +01:00

36 lines
1 KiB
Bash

#!/bin/bash
# ----------------------------------------------------------------------
# Copyright (C) 2024 Tristan Hoellinger
# Distributed under the GNU General Public License v3.0 (GPLv3).
# See the LICENSE file in the root directory for details.
# SPDX-License-Identifier: GPL-3.0-or-later
# ----------------------------------------------------------------------
# Author: Tristan Hoellinger
# Version: 0.1
# Date: 2024
# License: GPLv3
eval "$(conda shell.bash hook)"
conda activate simbel
# Run the Simbelmynë simulations at expansion point (all sims if
# pp_array=-1, selected sims otherwise).
dir_array=0
pp_array=-1
# pp_array=( $(seq 0 50 ) )
# pp_array=( $(seq 495 499 ) )
export OMP_NUM_THREADS=1 # number of threads per process e.g. number of
# threads per Simbelmynë simulation
python $SELFISYS_ROOT_PATH"src/selfisys/pipeline/step1_2.py" \
--pool_path $SELFISYS_OUTPUT_PATH"dev/643600502/run1/pool/" \
--directions ${dir_array[@]} \
--pp ${pp_array[@]} \
--Npop 3 \
--npar 8 \
--force True
exit 0