mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 23:38:03 +00:00
ee222cd010
* Update nb * Update script * Update script * Rename * Update script * Update script * Remove warning * Ignore minors when extracting MAH * Fix paths bug * Move notebooks * Move files * Rename and delete things * Rename file * Move file * Rename things * Remove old print statement * Add basic MAH plot * Add random MAH path * Output snapshot numbers * Add MAH random extraction * Fix redshift bug * Edit script * Add extracting random MAH * Little updates * Add CB2 redshift * Add some caching * Add diagnostic plots * Add caching * Minor updates * Update nb * Update notebook * Update script * Add Sorce randoms * Add CB2 varysmall * Update nb * Update nb * Update nb * Use catalogue HMF * Move definition of radec2galactic * Update nb * Update import * Update import * Add galatic coords to catalogues * Update nb
50 lines
994 B
Bash
Executable file
50 lines
994 B
Bash
Executable file
#!/bin/bash
|
|
nthreads=1
|
|
memory=7
|
|
queue="berg"
|
|
env="/mnt/zfsusers/rstiskalek/csiborgtools/venv_csiborg/bin/python"
|
|
verbose="true"
|
|
file="match_overlap_single.py"
|
|
|
|
simname="csiborg2_main"
|
|
kind="overlap"
|
|
min_logmass=12
|
|
mult=5 # Only for Max's method
|
|
sigma=1
|
|
|
|
# sims=(7444 7468)
|
|
sims=(16417 16517)
|
|
# sims=(0 1)
|
|
# sims=(7468 7588)
|
|
nsims=${#sims[@]}
|
|
|
|
for i in $(seq 0 $((nsims-1)))
|
|
do
|
|
for j in $(seq 0 $((nsims-1)))
|
|
do
|
|
if [ $i -eq $j ]
|
|
then
|
|
continue
|
|
elif [ $i -gt $j ]
|
|
then
|
|
continue
|
|
else
|
|
:
|
|
fi
|
|
|
|
nsim0=${sims[$i]}
|
|
nsimx=${sims[$j]}
|
|
|
|
pythoncm="$env $file --kind $kind --nsim0 $nsim0 --nsimx $nsimx --simname $simname --min_logmass $min_logmass --sigma $sigma --mult $mult --verbose $verbose"
|
|
|
|
$pythoncm
|
|
|
|
# cm="addqueue -q $queue -n 1x1 -m $memory $pythoncm"
|
|
# echo "Submitting:"
|
|
# echo $cm
|
|
# echo
|
|
# $cm
|
|
# sleep 0.05
|
|
|
|
done
|
|
done
|