diff --git a/Python/SlurmTests/poiseuille/PoiseuilleTestContainer.def b/Python/SlurmTests/poiseuille/PoiseuilleTestContainer.def index 123414bea9f19253a3f070bbc6e8f87cb171fcdb..a3836e7906b9be66ec79f68bf53ccc079db9d9ef 100644 --- a/Python/SlurmTests/poiseuille/PoiseuilleTestContainer.def +++ b/Python/SlurmTests/poiseuille/PoiseuilleTestContainer.def @@ -34,7 +34,6 @@ From: ubuntu:20.04 %environment export PYTHONPATH=/Python - export PYFLUIDS_NUM_THREADS=8 %apprun testcase python3 /Python/SlurmTests/poiseuille/simulation_runner.py diff --git a/Python/SlurmTests/poiseuille/settings.py b/Python/SlurmTests/poiseuille/settings.py index e9480eb791c1ef1ace4f39d94df4903998c78f0d..f75c2b1d7133323880dd5520de0a96cb8fa87860 100644 --- a/Python/SlurmTests/poiseuille/settings.py +++ b/Python/SlurmTests/poiseuille/settings.py @@ -7,7 +7,7 @@ from pyfluids.parameters import RuntimeParameters, GridParameters, PhysicalParam grid_params = GridParameters() grid_params.node_distance = 1 grid_params.number_of_nodes_per_direction = [1, 1, 16] -grid_params.blocks_per_direction = [1, 1, 8] +grid_params.blocks_per_direction = [1, 1, 4] grid_params.periodic_boundary_in_x1 = True grid_params.periodic_boundary_in_x2 = True diff --git a/Python/SlurmTests/poiseuille/slurm.job b/Python/SlurmTests/poiseuille/slurm.job index 3abe3836f9444a63c40b5eb425aa7f1ee34c37a9..5ca8df39468e12573fc643d23c3c6deccc6405c7 100644 --- a/Python/SlurmTests/poiseuille/slurm.job +++ b/Python/SlurmTests/poiseuille/slurm.job @@ -4,7 +4,7 @@ #SBATCH --ntasks-per-node=1 #SBATCH --cpus-per-task=8 -#SBATCH --mem-per-cpu=3000 +#SBATCH --mem-per-cpu=4000 #SBATCH --time=07:00:00 #SBATCH --partition=standard @@ -14,6 +14,7 @@ echo "PyFluids Poiseuille Test Case" echo "Number of tasks: ${SLURM_NTASKS}" export SINGULARITYENV_PYFLUIDS_SCALE_LEVEL=0 +export SINGULARITYENV_PYFLUIDS_NUM_THREADS=4 mpiexec -np "$SLURM_NTASKS" singularity run --app testcase PoiseuilleTestContainer.sif export SINGULARITYENV_PYFLUIDS_SCALE_LEVEL=1