Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ST7-Intel
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simon Maréchal
ST7-Intel
Commits
77996292
Commit
77996292
authored
Apr 5, 2021
by
Emile Prost
Browse files
Options
Downloads
Patches
Plain Diff
correction_indice
parent
27c4817a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Appli-iso3dfd/test_nb_threads.py
+3
-3
3 additions, 3 deletions
Appli-iso3dfd/test_nb_threads.py
with
3 additions
and
3 deletions
Appli-iso3dfd/test_nb_threads.py
+
3
−
3
View file @
77996292
...
...
@@ -5,13 +5,13 @@ import os
import
launcher_SUBP
import
tools
throughputs
=
[]
throughputs
=
[
0
for
i
in
range
(
4
,
9
)
]
mean_throughtputs
=
[]
launcher_SUBP
.
compileSUBP
(
optimization
=
"
-O3
"
,
simd
=
"
avx512
"
)
for
nb_threads
in
range
(
4
,
9
):
for
nb_threads
in
range
(
0
,
5
):
for
iter
in
range
(
6
):
res
=
subprocess
.
run
(
"
mpirun -np 1 -map-by ppr:1:socket -bind-to socket bin/* 512 256 512
"
+
str
(
nb_threads
)
+
"
100 128 20 9
"
,
shell
=
True
,
res
=
subprocess
.
run
(
"
mpirun -np 1 -map-by ppr:1:socket -bind-to socket bin/* 512 256 512
"
+
str
(
nb_threads
+
4
)
+
"
100 128 20 9
"
,
shell
=
True
,
stdout
=
subprocess
.
PIPE
)
for
line
in
str
(
res
.
stdout
,
'
utf-8
'
).
split
(
'
\n
'
):
...
...
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