Skip to content
Snippets Groups Projects

Draft: Fortran Support

2 files
+ 18
9
Compare changes
  • Side-by-side
  • Inline

Files

+ 7
3
@@ -80,7 +80,7 @@ class V18(AbstractTool):
with tempfile.TemporaryDirectory() as tmpdirname:
_, file_ext = os.path.splitext(filename)
compiler = "typeart-mpicc" if file_ext == ".c" else "mpif90 -ffree-line-length-0 -ffixed-line-length-0"
compiler = "typeart-mpicc" if file_ext == ".c" else "mpif90 -cpp -ffree-line-length-0 -ffixed-line-length-0"
ran = self.run_cmd(
buildcmd=f"{compiler} -g -fPIC {filename} -o {tmpdirname}/{binary} -L/MBB-builds/MUST1_11_0/lib -lpnmpi",
execcmd=execcmd,
@@ -206,6 +206,10 @@ class V18(AbstractTool):
"MUST_ERROR_MPI_MULTIPLE_THREADS": ["TODO"],
"MUST_ERROR_UNSUPPORTED": ["TODO"],
"MUST_ERROR_OPENMP": ["TODO"],
"MUST_ERROR_WIN_UNKNOWN": ["InvalidParam"],
"MUST_ERROR_WIN_EPOCH": ["EpochLifeCycle"],
"MUST_ERROR_WIN_LOCK": ["EpochLifeCycle"],
"MUST_ERROR_WIN_NULL": ["InvalidParam"],
"MUST_INFO_UNIMPLEMENTED_FEATURE": [],
# Ignore warnings so far
"MUST_WARNING_INTEGER_ZERO": [],
@@ -275,8 +279,8 @@ class V18(AbstractTool):
return output_string
output = {}
# TODO if MBB supports more than .c we need to give it the correct test file name here
test_file_name = cachefile.rsplit('_', 1)[0].strip() + ".c"
test_file_name = cachefile.rsplit('_', 1)[0].strip()
# list of all reported errors
parsed_reports = []
Loading