Skip to content
Snippets Groups Projects
Commit b1aff759 authored by Sven Marcus's avatar Sven Marcus
Browse files

Adjust Poiseuille Test Case settings

parent b3022689
No related branches found
No related tags found
1 merge request!48Adds a convergence analysis test case that runs on Phoenix
...@@ -34,7 +34,6 @@ From: ubuntu:20.04 ...@@ -34,7 +34,6 @@ From: ubuntu:20.04
%environment %environment
export PYTHONPATH=/Python export PYTHONPATH=/Python
export PYFLUIDS_NUM_THREADS=8
%apprun testcase %apprun testcase
python3 /Python/SlurmTests/poiseuille/simulation_runner.py python3 /Python/SlurmTests/poiseuille/simulation_runner.py
......
...@@ -7,7 +7,7 @@ from pyfluids.parameters import RuntimeParameters, GridParameters, PhysicalParam ...@@ -7,7 +7,7 @@ from pyfluids.parameters import RuntimeParameters, GridParameters, PhysicalParam
grid_params = GridParameters() grid_params = GridParameters()
grid_params.node_distance = 1 grid_params.node_distance = 1
grid_params.number_of_nodes_per_direction = [1, 1, 16] 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_x1 = True
grid_params.periodic_boundary_in_x2 = True grid_params.periodic_boundary_in_x2 = True
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#SBATCH --ntasks-per-node=1 #SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=8 #SBATCH --cpus-per-task=8
#SBATCH --mem-per-cpu=3000 #SBATCH --mem-per-cpu=4000
#SBATCH --time=07:00:00 #SBATCH --time=07:00:00
#SBATCH --partition=standard #SBATCH --partition=standard
...@@ -14,6 +14,7 @@ echo "PyFluids Poiseuille Test Case" ...@@ -14,6 +14,7 @@ echo "PyFluids Poiseuille Test Case"
echo "Number of tasks: ${SLURM_NTASKS}" echo "Number of tasks: ${SLURM_NTASKS}"
export SINGULARITYENV_PYFLUIDS_SCALE_LEVEL=0 export SINGULARITYENV_PYFLUIDS_SCALE_LEVEL=0
export SINGULARITYENV_PYFLUIDS_NUM_THREADS=4
mpiexec -np "$SLURM_NTASKS" singularity run --app testcase PoiseuilleTestContainer.sif mpiexec -np "$SLURM_NTASKS" singularity run --app testcase PoiseuilleTestContainer.sif
export SINGULARITYENV_PYFLUIDS_SCALE_LEVEL=1 export SINGULARITYENV_PYFLUIDS_SCALE_LEVEL=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment