mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 18:18:03 +00:00
32e36afdc3
* Add submit script * Add support for gadget2 * Add OMP * Lower resolution * Update resolution again * Add selection on galactic latitude * Update name * Update nb * Update nb * Add CLONES params * Add import * Add CLONES path * Add CLONES reader * Quick fix * Add CLONES * Update slice nb * Update nb * Update nb * Tiny updates * Update nb * Add name * Add CLONES support * Add CF4 field * Add CLONES * Update script * Update nb * Update nb
21 lines
381 B
Bash
Executable file
21 lines
381 B
Bash
Executable file
nthreads=1
|
|
memory=48
|
|
on_login=1
|
|
queue="berg"
|
|
env="/mnt/zfsusers/rstiskalek/csiborgtools/venv_csiborg/bin/python"
|
|
file="field_bulk.py"
|
|
|
|
simname=${1}
|
|
|
|
|
|
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
|