2024-02-07 09:11:49 +00:00
|
|
|
nthreads=1
|
2024-04-10 09:34:07 +00:00
|
|
|
memory=12
|
2024-06-26 09:43:26 +00:00
|
|
|
on_login=1
|
2024-04-10 09:34:07 +00:00
|
|
|
queue="berg"
|
2024-02-07 09:11:49 +00:00
|
|
|
env="/mnt/zfsusers/rstiskalek/csiborgtools/venv_csiborg/bin/python"
|
2024-04-10 09:34:07 +00:00
|
|
|
file="field_bulk.py"
|
2024-02-07 09:11:49 +00:00
|
|
|
|
2024-03-21 15:50:37 +00:00
|
|
|
simname=${1}
|
2024-02-07 09:11:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
pythoncm="$env $file --simname $simname"
|
|
|
|
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
|