2024-04-01 22:19:14 +00:00
|
|
|
nthreads=6
|
|
|
|
memory=42
|
2024-03-26 14:11:04 +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-16 17:02:00 +00:00
|
|
|
catalogue=${2}
|
2024-03-08 10:44:19 +00:00
|
|
|
nsims="-1"
|
2024-02-27 12:40:52 +00:00
|
|
|
MAS="SPH"
|
|
|
|
grid=1024
|
|
|
|
|
|
|
|
|
|
|
|
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
|