Skip to content
Snippets Groups Projects
Commit bf081719 authored by Oraji, Yussur Mustafa's avatar Oraji, Yussur Mustafa
Browse files

Fix local/globalconcurrency tests

parent 0d6e15d7
Branches
No related tags found
1 merge request!25Draft: Fortran Support
......@@ -41,7 +41,7 @@ class GlobalConcurrencyErrorRMA(ErrorGenerator):
localbufread.set_arg("target_rank", "0")
self.buf_instructions = {
"bufread": PrintInst("winbuf is ", [f"{CorrectParameterFactory().winbuf_var_name}[1]"]),
"bufread": PrintInst("winbuf is ", [f"{CorrectParameterFactory().winbuf_var_name}[1]"], rank=1, identifier="bufread"),
"bufwrite": ArrAsgn(CorrectParameterFactory().winbuf_var_name, 1, 42, rank=1, identifier="bufwrite"),
"localbufread": localbufread,
"localbufwrite": localbufwrite
......
......@@ -24,8 +24,8 @@ class LocalConcurrencyErrorRMA(ErrorGenerator):
self.cfmpi = CorrectMPICallFactory()
# generate standard buffer access instructions
self.buf_instructions = {
"bufread": PrintInst("buf is ", [f"{CorrectParameterFactory().buf_var_name}[0]"]),
"bufwrite": ArrAsgn(CorrectParameterFactory().buf_var_name, 0, 42)
"bufread": PrintInst("buf is ", [f"{CorrectParameterFactory().buf_var_name}[0]"], rank=0, identifier="bufread"),
"bufwrite": ArrAsgn(CorrectParameterFactory().buf_var_name, 0, 42, rank=0, identifier="bufwrite")
}
def get_feature(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment