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
No related branches found
No related tags found
1 merge request!25Draft: Fortran Support
...@@ -41,7 +41,7 @@ class GlobalConcurrencyErrorRMA(ErrorGenerator): ...@@ -41,7 +41,7 @@ class GlobalConcurrencyErrorRMA(ErrorGenerator):
localbufread.set_arg("target_rank", "0") localbufread.set_arg("target_rank", "0")
self.buf_instructions = { 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"), "bufwrite": ArrAsgn(CorrectParameterFactory().winbuf_var_name, 1, 42, rank=1, identifier="bufwrite"),
"localbufread": localbufread, "localbufread": localbufread,
"localbufwrite": localbufwrite "localbufwrite": localbufwrite
......
...@@ -24,8 +24,8 @@ class LocalConcurrencyErrorRMA(ErrorGenerator): ...@@ -24,8 +24,8 @@ class LocalConcurrencyErrorRMA(ErrorGenerator):
self.cfmpi = CorrectMPICallFactory() self.cfmpi = CorrectMPICallFactory()
# generate standard buffer access instructions # generate standard buffer access instructions
self.buf_instructions = { self.buf_instructions = {
"bufread": PrintInst("buf is ", [f"{CorrectParameterFactory().buf_var_name}[0]"]), "bufread": PrintInst("buf is ", [f"{CorrectParameterFactory().buf_var_name}[0]"], rank=0, identifier="bufread"),
"bufwrite": ArrAsgn(CorrectParameterFactory().buf_var_name, 0, 42) "bufwrite": ArrAsgn(CorrectParameterFactory().buf_var_name, 0, 42, rank=0, identifier="bufwrite")
} }
def get_feature(self): 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