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
e6838f6b
Commit
e6838f6b
authored
1 year ago
by
Emmanuelle Saillard
Browse files
Options
Downloads
Patches
Plain Diff
add local concurrency cases
parent
aac6f99b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/errors/coll/LocalConcurrency.py
+37
-0
37 additions, 0 deletions
scripts/errors/coll/LocalConcurrency.py
scripts/errors/coll/ParamMatching.py
+0
-1
0 additions, 1 deletion
scripts/errors/coll/ParamMatching.py
with
37 additions
and
1 deletion
scripts/errors/coll/LocalConcurrency.py
0 → 100644
+
37
−
0
View file @
e6838f6b
#! /usr/bin/python3
from
scripts.Infrastructure.ErrorGenerator
import
ErrorGenerator
from
scripts.Infrastructure.Instruction
import
Instruction
from
scripts.Infrastructure.MPICallFactory
import
MPICallFactory
,
CorrectMPICallFactory
from
scripts.Infrastructure.CorrectParameter
import
CorrectParameterFactory
,
get_matching_recv
from
scripts.Infrastructure.Template
import
TemplateManager
from
scripts.Infrastructure.TemplateFactory
import
get_collective_template
class
InvalidRankErrorColl
(
ErrorGenerator
):
nbfunc_to_use
=
[
"
mpi_ibarrier
"
,
"
mpi_iallreduce
"
,
"
mpi_ialltoall
"
,
"
mpi_ibcast
"
,
"
mpi_ireduce
"
,
"
mpi_iscatter
"
,
"
mpi_igather
"
,
"
mpi_iscan
"
]
def
__init__
(
self
):
pass
def
get_feature
(
self
):
return
[
"
COLL
"
]
def
generate
(
self
,
generate_full_set
):
for
func_to_use
in
self
.
nbfunc_to_use
:
tm
=
get_collective_template
(
func_to_use
)
tm
.
set_description
(
"
LocalConcurrency-
"
+
func_to_use
,
"
Usage of buffer before operation is completed
"
)
conflicting_inst
=
Instruction
(
"
buf[2]=1;
"
)
conflicting_inst
.
set_has_error
()
wait
=
tm
.
get_instruction
(
"
WAIT
"
,
return_list
=
True
)
tm
.
insert_instruction
(
conflicting_inst
,
before_instruction
=
wait
)
yield
tm
if
not
generate_full_set
:
return
\ No newline at end of file
This diff is collapsed.
Click to expand it.
scripts/errors/coll/ParamMatching.py
+
0
−
1
View file @
e6838f6b
...
@@ -86,7 +86,6 @@ class InvalidComErrorColl(ErrorGenerator):
...
@@ -86,7 +86,6 @@ class InvalidComErrorColl(ErrorGenerator):
yield
tm
yield
tm
# only check for one comm
if
not
generate_full_set
:
if
not
generate_full_set
:
return
return
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