2024-03-08 10:44:19 +00:00
|
|
|
memory=4
|
2024-03-26 14:11:04 +00:00
|
|
|
on_login=0
|
2024-03-21 15:50:37 +00:00
|
|
|
nthreads=${1}
|
|
|
|
ksmooth=${2}
|
2024-03-16 17:02:00 +00:00
|
|
|
|
2024-03-08 10:44:19 +00:00
|
|
|
queue="berg"
|
|
|
|
env="/mnt/users/rstiskalek/csiborgtools/venv_csiborg/bin/python"
|
|
|
|
file="flow_validation.py"
|
|
|
|
|
2024-04-01 22:19:14 +00:00
|
|
|
catalogue="CB2_small"
|
2024-03-26 14:11:04 +00:00
|
|
|
simname="csiborg2_main"
|
2024-03-08 10:44:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
pythoncm="$env $file --catalogue $catalogue --simname $simname --ksmooth $ksmooth"
|
|
|
|
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
|