csiborgtools/scripts/flow_validation.sh

25 lines
480 B
Bash
Raw Normal View History

memory=4
on_login=${1}
nthreads=${2}
ksmooth=${3}
queue="berg"
env="/mnt/users/rstiskalek/csiborgtools/venv_csiborg/bin/python"
file="flow_validation.py"
catalogue="Foundation"
simname="csiborg2_random"
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