mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 17:08:03 +00:00
4093186f9a
* Update SN model to output zobs too * Add TF predicted zobs * Add imoprt * Update nb * Calculate chi2 * Update nb * Update script
24 lines
467 B
Bash
Executable file
24 lines
467 B
Bash
Executable file
memory=4
|
|
on_login=1
|
|
nthreads=${1}
|
|
ksmooth=${2}
|
|
|
|
queue="berg"
|
|
env="/mnt/users/rstiskalek/csiborgtools/venv_csiborg/bin/python"
|
|
file="flow_validation.py"
|
|
|
|
catalogue="LOSS"
|
|
simname="Carrick2015"
|
|
|
|
|
|
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
|