58 lines
1.5 KiB
Bash
Executable file
58 lines
1.5 KiB
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
# >>> conda initialize >>>
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
__conda_setup="$('/home/ignis/anaconda2/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
|
if [ $? -eq 0 ]; then
|
|
eval "$__conda_setup"
|
|
else
|
|
if [ -f "/home/ignis/anaconda2/etc/profile.d/conda.sh" ]; then
|
|
. "/home/ignis/anaconda2/etc/profile.d/conda.sh"
|
|
else
|
|
export PATH="/home/ignis/anaconda2/bin:$PATH"
|
|
fi
|
|
fi
|
|
unset __conda_setup
|
|
# <<< conda initialize <<<
|
|
|
|
conda activate fkde-jupyter-py3
|
|
|
|
|
|
SCRIPT_ROOT=/home/ignis/dns/CNF2021-Figures
|
|
|
|
|
|
|
|
|
|
|
|
echo time python $SCRIPT_ROOT/extract_all.py -c $1
|
|
|
|
|
|
#=============================================================================#
|
|
|
|
|
|
echo Batch running - binning_v_given_c.py
|
|
|
|
export BIN_TARGET=u.dat
|
|
sbatch --array=0,1 -J $1-u-c $SCRIPT_ROOT/sbatch-job-binning-ddxc-array
|
|
echo sbatch --array=0,511 -J $1-u-c $SCRIPT_ROOT/sbatch-job-binning-ddxc-array
|
|
|
|
export BIN_TARGET=ddxc.dat
|
|
echo sbatch --wait --array=0,511 -J $1-ddxc-c $SCRIPT_ROOT/sbatch-job-binning-ddxc-array
|
|
|
|
|
|
#=============================================================================#
|
|
|
|
|
|
echo time python $SCRIPT_ROOT/fluctuation_product_u_ddxc.py -c $1
|
|
|
|
|
|
#=============================================================================#
|
|
|
|
|
|
echo Batch Running - binning_v_given_c.py
|
|
export BIN_TARGET=uddxc.dat
|
|
echo sbatch --wait --array=0,511 -J $1-uddxc-c $SCRIPT_ROOT/sbatch-job-binning-ddxc-array
|
|
|
|
|
|
#=============================================================================#
|
|
echo Done
|