2024-06-20 13:33:00 +00:00
|
|
|
nthreads=1
|
2024-07-03 08:53:00 +00:00
|
|
|
memory=64
|
2024-07-03 08:48:18 +00:00
|
|
|
on_login=0
|
2024-02-27 12:40:52 +00:00
|
|
|
queue="berg"
|
|
|
|
env="/mnt/users/rstiskalek/csiborgtools/venv_csiborg/bin/python"
|
|
|
|
file="field_los.py"
|
|
|
|
|
2024-03-26 14:11:04 +00:00
|
|
|
simname=${1}
|
2024-03-08 10:44:19 +00:00
|
|
|
nsims="-1"
|
2024-02-27 12:40:52 +00:00
|
|
|
MAS="SPH"
|
|
|
|
grid=1024
|
|
|
|
|
|
|
|
|
2024-06-28 11:44:16 +00:00
|
|
|
for catalogue in "LOSS" "Foundation" "Pantheon+" "2MTF" "SFI_gals"; do
|
2024-07-03 08:48:18 +00:00
|
|
|
# for catalogue in "Foundation"; do
|
2024-06-28 11:44:16 +00:00
|
|
|
pythoncm="$env $file --catalogue $catalogue --nsims $nsims --simname $simname --MAS $MAS --grid $grid"
|
|
|
|
if [ $on_login -eq 1 ]; then
|
|
|
|
echo $pythoncm
|
|
|
|
$pythoncm
|
|
|
|
else
|
|
|
|
cm="addqueue -q $queue -n $nthreads -m $memory $pythoncm"
|
|
|
|
echo "Submitting:"
|
|
|
|
echo $cm
|
|
|
|
echo
|
|
|
|
eval $cm
|
|
|
|
fi
|
|
|
|
|
|
|
|
sleep 0.05
|
|
|
|
done
|