mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 22:58:02 +00:00
29b37172fa
* Update LOS sampling * Bring SD back to speed * Update nb * Update script * Update requirements * Update flow chi2 calc * Update script * Add support for SFI groups * Update plot * Update script * Update script
24 lines
475 B
Bash
Executable file
24 lines
475 B
Bash
Executable file
memory=4
|
|
on_login=0
|
|
nthreads=${1}
|
|
ksmooth=${2}
|
|
|
|
queue="berg"
|
|
env="/mnt/users/rstiskalek/csiborgtools/venv_csiborg/bin/python"
|
|
file="flow_validation.py"
|
|
|
|
catalogue="SFI_groups"
|
|
simname="csiborg2_main"
|
|
|
|
|
|
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
|