mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 22:18:01 +00:00
a65e3cb15b
* Add imports * Add field LOS paths * Add basic flow model * Edit script * Add nb * Add nb * Update nb * Add some docs * Add RA reading * Add imoprts * Updates to the flow model * Update script * Bring back A2 * Update imports * Update imports * Add Carrick to ICs * Add Carrick boxsize * Add Carrick and fix minor bugs * Add Carrick box * Update script * Edit imports * Add fixed flow! * Update omega_m and add it * Update nb * Update nb * Update nb * Remove old print statements * Update params * Add thinning of chains * Add import * Add flow validation script * Add submit script * Add ksmooth * Update nb * Update params * Update script * Update string * Move where distributions are defined * Add density bias parameter * Add lognorm mean * Update scripts * Update script
23 lines
464 B
Bash
Executable file
23 lines
464 B
Bash
Executable file
memory=4
|
|
on_login=${1}
|
|
nthreads=${2}
|
|
queue="berg"
|
|
env="/mnt/users/rstiskalek/csiborgtools/venv_csiborg/bin/python"
|
|
file="flow_validation.py"
|
|
|
|
catalogue="A2"
|
|
simname="Carrick2015"
|
|
ksmooth=2
|
|
|
|
|
|
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
|