Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iRMB
VirtualFluids
Commits
82ea4a3f
Commit
82ea4a3f
authored
3 years ago
by
Sven Marcus
Browse files
Options
Downloads
Patches
Plain Diff
Completed Slurm Poiseuille Test
parent
4632a431
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!48
Adds a convergence analysis test case that runs on Phoenix
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Python/SlurmTests/poiseuille/settings.py
+1
-1
1 addition, 1 deletion
Python/SlurmTests/poiseuille/settings.py
Python/SlurmTests/poiseuille/slurm.job
+14
-9
14 additions, 9 deletions
Python/SlurmTests/poiseuille/slurm.job
setup.py
+1
-0
1 addition, 0 deletions
setup.py
with
16 additions
and
10 deletions
Python/SlurmTests/poiseuille/settings.py
+
1
−
1
View file @
82ea4a3f
...
@@ -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
=
[
2
,
2
,
16
]
grid_params
.
number_of_nodes_per_direction
=
[
2
,
2
,
16
]
grid_params
.
blocks_per_direction
=
[
1
,
1
,
2
]
grid_params
.
blocks_per_direction
=
[
1
,
1
,
16
]
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
...
...
This diff is collapsed.
Click to expand it.
Python/SlurmTests/poiseuille/slurm.job
+
14
−
9
View file @
82ea4a3f
#
!/
bin
/
bash
#
!/
bin
/
bash
#
SBATCH
-
J
PyFluidsTest
#
SBATCH
-
J
PyFluidsTest
#
SBATCH
--
nodes
=
2
#
SBATCH
--
nodes
=
1
#
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
0
#
SBATCH
--
mem
-
per
-
cpu
=
3000
#
SBATCH
--
time
=
0
2
:
00
:
00
#
SBATCH
--
time
=
0
7
:
00
:
00
#
SBATCH
--
partition
=
s
hortrun_small
#
SBATCH
--
partition
=
s
tandard
source
.
bashrc
source
$
HOME
/
.
bashrc
echo
"PyFluids Poiseuille Test Case"
echo
"PyFluids Poiseuille Test Case"
echo
"Number of tasks: ${SLURM_NTASKS}"
echo
"Number of tasks: ${SLURM_NTASKS}"
mpiexec
-
np
"$SLURM_NTASKS"
singularity
run
--
app
PoiseuilleTestContainer
.
sif
--
app
poiseuille01
export
SINGULARITYENV_PYFLUIDS_SCALE_LEVEL
=
0
mpiexec
-
np
"$SLURM_NTASKS"
singularity
run
--
app
PoiseuilleTestContainer
.
sif
--
app
poiseuille02
mpiexec
-
np
"$SLURM_NTASKS"
singularity
run
--
app
testcase
PoiseuilleTestContainer
.
sif
mpiexec
-
np
"$SLURM_NTASKS"
singularity
run
--
app
PoiseuilleTestContainer
.
sif
--
app
poiseuille03
singularity
run
--
app
PoiseuilleTestContainer
.
sif
evaluate
export
SINGULARITYENV_PYFLUIDS_SCALE_LEVEL
=
1
mpiexec
-
np
"$SLURM_NTASKS"
singularity
run
--
app
testcase
PoiseuilleTestContainer
.
sif
export
SINGULARITYENV_PYFLUIDS_SCALE_LEVEL
=
2
mpiexec
-
np
"$SLURM_NTASKS"
singularity
run
--
app
testcase
PoiseuilleTestContainer
.
sif
singularity
run
--
app
evaluate
PoiseuilleTestContainer
.
sif
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
0
View file @
82ea4a3f
...
@@ -11,6 +11,7 @@ from distutils.version import LooseVersion
...
@@ -11,6 +11,7 @@ from distutils.version import LooseVersion
vf_cmake_args
=
[
vf_cmake_args
=
[
"
-DBUILD_VF_PYTHON_BINDINGS=ON
"
,
"
-DBUILD_VF_PYTHON_BINDINGS=ON
"
,
"
-DBUILD_VF_CPU:BOOL=ON
"
,
"
-DBUILD_VF_CPU:BOOL=ON
"
,
"
-DBUILD_VF_GPU:BOOL=OFF
"
,
"
-DUSE_METIS=ON
"
,
"
-DUSE_METIS=ON
"
,
"
-DUSE_MPI=ON
"
,
"
-DUSE_MPI=ON
"
,
"
-DBUILD_SHARED_LIBS=OFF
"
,
"
-DBUILD_SHARED_LIBS=OFF
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment