Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MPI-BugBench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
High Performance Computing - Public
MPI-BugBench
Commits
7f12944a
Commit
7f12944a
authored
1 year ago
by
Jammer, Tim
Browse files
Options
Downloads
Patches
Plain Diff
added the different generation levels back in
parent
a0eda710
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/errors/dtypes/DtypeMissmatch.py
+12
-8
12 additions, 8 deletions
scripts/errors/dtypes/DtypeMissmatch.py
with
12 additions
and
8 deletions
scripts/errors/dtypes/DtypeMissmatch.py
+
12
−
8
View file @
7f12944a
...
@@ -157,20 +157,24 @@ class DtypeMissmatch(ErrorGenerator):
...
@@ -157,20 +157,24 @@ class DtypeMissmatch(ErrorGenerator):
datatype
=
t
.
lower
(),
datatype
=
t
.
lower
(),
communicator
=
c
)]
communicator
=
c
)]
print
(
"
number of important recvs:
"
)
print
(
len
(
important_recvs
))
print
(
"
number of important sends:
"
)
print
(
len
(
important_sends
))
# all possible combinations
# all possible combinations
combinations_to_use
=
[(
s
,
r
)
for
s
in
important_sends
for
r
in
important_recvs
if
combinations_to_use
=
[(
s
,
r
)
for
s
in
important_sends
for
r
in
important_recvs
if
is_combination_compatible
(
s
,
r
)]
is_combination_compatible
(
s
,
r
)]
# "re-format"
# "re-format"
combinations_to_use
=
[(
t1
,
t2
,
s
,
r
,
c
)
for
(
t1
,
s
,
c
),
(
t2
,
r
,
_
)
in
combinations_to_use
]
combinations_to_use
=
[(
t1
,
t2
,
s
,
r
,
c
)
for
(
t1
,
s
,
c
),
(
t2
,
r
,
_
)
in
combinations_to_use
]
print
(
"
combinations:
"
)
if
generate_level
==
BASIC_TEST_LEVEL
:
print
(
len
(
combinations_to_use
))
combinations_to_use
=
combinations_to_use
[
0
:
1
]
if
generate_level
==
SUFFICIENT_TEST_LEVEL
:
types_checked
=
set
()
combinations_to_use_filtered
=
[]
for
(
t1
,
t2
,
s
,
r
,
c
)
in
combinations_to_use
:
if
t1
not
in
types_checked
and
t2
not
in
types_checked
:
types_checked
.
add
(
t1
)
types_checked
.
add
(
t2
)
combinations_to_use_filtered
.
append
((
t1
,
t2
,
s
,
r
,
c
))
combinations_to_use
=
combinations_to_use_filtered
correct_types_checked
=
set
()
correct_types_checked
=
set
()
for
type_1
,
type_2
,
send_func
,
recv_func
,
comm
in
combinations_to_use
:
for
type_1
,
type_2
,
send_func
,
recv_func
,
comm
in
combinations_to_use
:
...
...
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