implemented COLA with P3M force evaluation and custom time stepping for P3M

This commit is contained in:
Tristan Hoellinger 2025-06-16 15:39:16 +02:00
parent 7cb65744f3
commit 34594a2bf6
29 changed files with 69704 additions and 106986 deletions

View file

@ -1,139 +1,45 @@
#!/bin/bash
#SBATCH --job-name=cappel_L1024_Np512
#SBATCH -o /data70/hoellinger/WIP3M/cappel_L1024_Np512/log.log
#SBATCH -e /data70/hoellinger/WIP3M/cappel_L1024_Np512/err.err
#SBATCH --exclusive
#SBATCH -N 1 # Number of nodes (value or min-max)
#SBATCH -n 128 # The number of tasks (i.e. cores) per node
#SBATCH --job-name=obz99_zf19_ts0_L256_N1024_Np512
#SBATCH --output=/data70/hoellinger/WIP3M/obz99_zf19_ts0_L256_N1024_Np512/log.log
#SBATCH --error=/data70/hoellinger/WIP3M/obz99_zf19_ts0_L256_N1024_Np512/err.err
#SBATCH --nodes=1 # Number of nodes (value or min-max)
#SBATCH --ntasks=128 # The number of tasks (i.e. cores) per node
#SBATCH --partition=comp,pscomp # Partition name
#SBATCH --time=24:00:00
##SBATCH --exclusive
##SBATCH --nodelist=i26 # Node name
##SBATCH --mem=64G # Memory pool for all cores (see also --mem-per-cpu)
##SBATCH --array=0-10 # Size of the array
##SBATCH --constraint=i1 # Constraint e.g. specific node
##SBATCH --constraint=? # Constraint e.g. specific node type
conda activate p3m
export OMP_NUM_THREADS=128
python $WIP3M_ROOT_PATH"src/wip3m/convergence_baseline_ts_parser.py" \
--run_id cappel_L1024_Np512 \
--L 1024 \
export OMP_NUM_THREADS=64
python $WIP3M_ROOT_PATH"src/wip3m/compute_limiters_from_baseline_ts.py" \
--run_id obz99_zf19_ts0_L256_N1024_Np512\
--L 256 \
--N 1024 \
--Np 512 \
--Npm 1024 \
--n_Tiles 128 \
--nsteps_pmref 200 \
--nsteps_pm1 100 \
--nsteps_pm2 50 \
--nsteps_cola 20 \
--nsteps_spm 400 \
--nsteps_p3m1 400 \
--nsteps_p3m2 300 \
--nsteps_p3m3 200
# python $WIP3M_ROOT_PATH"src/wip3m/convergence_baseline_ts_parser.py" \
# --run_id cappel_Np512 \
# --L 512 \
# --N 1024 \
# --Np 512 \
# --Npm 1024 \
# --n_Tiles 128 \
# --nsteps_pmref 200 \
# --nsteps_pm1 100 \
# --nsteps_pm2 50 \
# --nsteps_cola 20 \
# --nsteps_spm 400 \
# --nsteps_p3m1 400 \
# --nsteps_p3m2 300 \
# --nsteps_p3m3 200
# python $WIP3M_ROOT_PATH"src/wip3m/convergence_baseline_ts_parser.py" \
# --run_id cappel_loga_Np512 \
# --L 512 \
# --N 1024 \
# --Np 512 \
# --Npm 1024 \
# --n_Tiles 128 \
# --nsteps_pmref 200 \
# --nsteps_pm1 100 \
# --nsteps_pm2 50 \
# --nsteps_cola 20 \
# --nsteps_spm 400 \
# --nsteps_p3m1 400 \
# --nsteps_p3m2 300 \
# --nsteps_p3m3 200 \
# --tsd_pmref 1 \
# --tsd_pm1 1 \
# --tsd_pm2 1 \
# --tsd_cola 1 \
# --tsd_spm 1 \
# --tsd_p3m1 1 \
# --tsd_p3m2 1 \
# --tsd_p3m3 1
# python $WIP3M_ROOT_PATH"src/wip3m/convergence_baseline_ts_parser.py" \
# --run_id brabois_Np512_L1024 \
# --L 1024 \
# --N 1024 \
# --Np 512 \
# --Npm 1024 \
# --n_Tiles 128 \
# --nsteps_pmref 100 \
# --nsteps_pm1 50 \
# --nsteps_pm2 20 \
# --nsteps_cola 20 \
# --nsteps_spm 200 \
# --nsteps_p3m1 200 \
# --nsteps_p3m2 100 \
# --nsteps_p3m3 50
# python $WIP3M_ROOT_PATH"src/wip3m/convergence_baseline_ts_parser.py" \
# --run_id brabois_Np512 \
# --L 512 \
# --N 1024 \
# --Np 512 \
# --Npm 1024 \
# --n_Tiles 128 \
# --nsteps_pmref 100 \
# --nsteps_pm1 50 \
# --nsteps_pm2 20 \
# --nsteps_cola 20 \
# --nsteps_spm 200 \
# --nsteps_p3m1 200 \
# --nsteps_p3m2 100 \
# --nsteps_p3m3 50
# python $WIP3M_ROOT_PATH"src/wip3m/convergence_baseline_ts_parser.py" \
# --run_id brabois_Np256 \
# --L 512 \
# --N 512 \
# --Np 256 \
# --Npm 512 \
# --n_Tiles 64 \
# --nsteps_pmref 200 \
# --nsteps_pm1 100 \
# --nsteps_pm2 50 \
# --nsteps_cola 20 \
# --nsteps_spm 400 \
# --nsteps_p3m1 400 \
# --nsteps_p3m2 300 \
# --nsteps_p3m3 200
# python $WIP3M_ROOT_PATH"src/wip3m/convergence_baseline_ts_parser.py" \
# --run_id brabois_Np256_fine \
# --L 512 \
# --N 1024 \
# --Np 256 \
# --Npm 512 \
# --n_Tiles 64 \
# --nsteps_pmref 200 \
# --nsteps_pm1 100 \
# --nsteps_pm2 50 \
# --nsteps_cola 20 \
# --nsteps_spm 400 \
# --nsteps_p3m1 400 \
# --nsteps_p3m2 300 \
# --nsteps_p3m3 200
--z_i 99.0 \
--z_f 19.0 \
--nsteps_pmref 50 \
--nsteps_pm1 10 \
--nsteps_pm2 5 \
--nsteps_p3m1 50 \
--nsteps_p3m2 20 \
--nsteps_p3m3 10 \
--nsteps_p3m4 5 \
--nsteps_p3m5 3 \
--tsd_pmref 0 \
--tsd_pm1 0 \
--tsd_pm2 0 \
--tsd_p3m1 0 \
--tsd_p3m2 0 \
--tsd_p3m3 0 \
--tsd_p3m4 0 \
--tsd_p3m5 0
exit 0