mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 22:48:02 +00:00
513872ceb6
* Add batch sizing for less memory * Add batch size to submission * Update nb * Add brute KNN * unused variable * Update nb
27 lines
492 B
Bash
27 lines
492 B
Bash
nthreads=30
|
|
memory=7
|
|
queue="berg"
|
|
env="/mnt/zfsusers/rstiskalek/csiborgtools/venv_galomatch/bin/python"
|
|
file="run_knn.py"
|
|
|
|
rmin=0.01
|
|
rmax=100
|
|
nneighbours=16
|
|
nsamples=1000000000
|
|
batch_size=10000000
|
|
neval=10000
|
|
|
|
# 1000,000,0
|
|
# 10000000 # 1e7
|
|
# 1000000000
|
|
|
|
pythoncm="$env $file --rmin $rmin --rmax $rmax --nneighbours $nneighbours --nsamples $nsamples --neval $neval"
|
|
|
|
# echo $pythoncm
|
|
# $pythoncm
|
|
|
|
cm="addqueue -q $queue -n $nthreads -m $memory $pythoncm"
|
|
echo "Submitting:"
|
|
echo $cm
|
|
echo
|
|
$cm
|