Commit 1ea39a9e authored by vlabarre's avatar vlabarre
Browse files

bench done

parent 2eccd49747e2
Pipeline #53543 passed with stage
in 13 minutes and 47 seconds
......@@ -7,25 +7,26 @@ Once you have runned many runs, you can run fluidfft-bench-analysis
Exemple:
python submit_bench_fluidfft.py
cd /scratch/$USER/fluidfft_bench
fluidfft-bench-analysis 320 640 640 -i .
cd /workspace/$USER/fluidfft_bench
fluidfft-bench-analysis 160 640 640 -i .
"""
from fluidlicallo import cluster
from fluidazzurra import cluster
def submit(nb_nodes):
nb_cores_per_node = cluster.nb_cores_per_node
nb_mpi = nb_nodes * nb_cores_per_node
nb_mpi_processes = nb_nodes * nb_cores_per_node
cluster.submit_command(
"fluidfft-bench 160 640 640 -o /scratch/$USER/fluidfft_bench -n 20",
name_run=f"fluidfft-bench_160_640_640_{nb_mpi:02d}",
"fluidfft-bench 320 1280 1280 -o /workspace/$USER/fluidfft_bench -n 20",
name_run=f"fluidfft-bench_320_1280_1280_{nb_mpi_processes:02d}",
account="turbulence",
nb_nodes=nb_nodes,
nb_cores_per_node=nb_cores_per_node,
walltime="00:20:00",
nb_mpi_processes=nb_mpi,
nb_mpi_processes=nb_mpi_processes,
omp_num_threads=1,
ask=False,
delay_signal_walltime=None,
......
......@@ -7,28 +7,29 @@ Once you have runned many runs, you can run fluidsim-bench-analysis
Exemple:
python submit_bench_fluidsim.py
cd /scratch/$USER/fluidsim_bench
fluidsim-bench-analysis 320 640 640 -i . -s ns3d.strat
cd /workspace/$USER/fluidsim_bench
fluidsim-bench-analysis 160 640 640 -i . -s ns3d.strat
"""
from fluidlicallo import cluster
from fluidazzurra import cluster
def submit(nb_nodes):
nb_cores_per_node = cluster.nb_cores_per_node
nb_mpi = nb_nodes * nb_cores_per_node
nb_mpi_processes = nb_nodes * nb_cores_per_node
cluster.submit_command(
"fluidsim-bench -s ns3d.strat 160 640 640 "
"-o /scratch/$USER/fluidsim_bench "
'-t "fft3d.mpi_with_p3dfft" '
"-o /workspace/$USER/fluidsim_bench "
'-t "fft3d.mpi_with_pfft" '
"-it 20",
name_run=f"fluidsim-bench_320_640_640_{nb_mpi:02d}",
name_run=f"fluidsim-bench_320_640_640_{nb_mpi_processes:02d}",
account="turbulence",
nb_nodes=nb_nodes,
nb_cores_per_node=nb_cores_per_node,
walltime="02:00:00",
nb_mpi_processes=nb_mpi,
nb_mpi_processes=nb_mpi_processes,
omp_num_threads=1,
ask=False,
delay_signal_walltime=None,
......
......@@ -8,7 +8,7 @@ max_elapsed = "00:15:00"
type_fft = "default" # "fluidfft.fft3d.mpi_with_pfft"
nb_nodes = 1
nb_cores_per_node = 2 # cluster.nb_cores_per_node
nb_cores_per_node = cluster.nb_cores_per_node
nb_procs = nb_mpi_processes = nb_nodes * nb_cores_per_node
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment