Skip to content
Snippets Groups Projects
Verified Commit 2719c0c7 authored by Simon Schwitanski's avatar Simon Schwitanski :slight_smile:
Browse files

Rename MBIutils imports to MBButils

parent 934b8df9
No related branches found
No related tags found
No related merge requests found
...@@ -23,14 +23,14 @@ import matplotlib as mpl ...@@ -23,14 +23,14 @@ import matplotlib as mpl
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import matplotlib.patches as mpatches import matplotlib.patches as mpatches
from scripts.MBIutils import categorize from scripts.MBButils import categorize
mpl.rcParams['hatch.linewidth'] = 4.5 # hatch linewidth mpl.rcParams['hatch.linewidth'] = 4.5 # hatch linewidth
# Add our lib directory to the PYTHONPATH, and load our utilitary libraries # Add our lib directory to the PYTHONPATH, and load our utilitary libraries
sys.path.append(f'{os.path.dirname(os.path.abspath(__file__))}/scripts') sys.path.append(f'{os.path.dirname(os.path.abspath(__file__))}/scripts')
from MBIutils import * from MBButils import *
from LaTeXutils import * from LaTeXutils import *
# Plots need big dependancy like numpy and matplotlib, so just ignore # Plots need big dependancy like numpy and matplotlib, so just ignore
...@@ -147,7 +147,7 @@ def cmd_gencodes(level): ...@@ -147,7 +147,7 @@ def cmd_gencodes(level):
subprocess.run(f'tar -xf real_world_data.csv.tar.gz', shell=True, check=True) subprocess.run(f'tar -xf real_world_data.csv.tar.gz', shell=True, check=True)
dir = "scripts/" dir = "scripts/"
os.chdir(dir) os.chdir(dir)
subprocess.run(f'PYTHONPATH=../ python3 main.py --generator_dir errors --level {level} --real_world_data ../output.csv', shell=True, check=True) subprocess.run(f'PYTHONPATH=../ python3 main.py --generator_dir errors --level {level} --real_world_data ../output.csv --remove_previous_generation_results', shell=True, check=True)
else: else:
raise Exception("Cannot find the generators. Please report that bug.") raise Exception("Cannot find the generators. Please report that bug.")
os.chdir(here) os.chdir(here)
......
# Copyright 2022. The MBI project. All rights reserved. # Copyright 2022. The MBI project. All rights reserved.
# This program is free software; you can redistribute it and/or modify it under the terms of the license (GNU GPL). # This program is free software; you can redistribute it and/or modify it under the terms of the license (GNU GPL).
from MBIutils import * from MBButils import *
possible_features=['P2P!basic', 'P2P!nonblocking', 'P2P!persistent', 'COLL!basic', 'COLL!nonblocking', 'COLL!persistent', 'COLL!tools', 'RMA'] possible_features=['P2P!basic', 'P2P!nonblocking', 'P2P!persistent', 'COLL!basic', 'COLL!nonblocking', 'COLL!persistent', 'COLL!tools', 'RMA']
possible_characterization=["Lacking", "Yes"] possible_characterization=["Lacking", "Yes"]
......
import re import re
import os import os
import sys import sys
from MBIutils import * from MBButils import *
class Tool(AbstractTool): class Tool(AbstractTool):
def identify(self): def identify(self):
......
import re import re
import os import os
from MBIutils import * from MBButils import *
class Tool(AbstractTool): class Tool(AbstractTool):
def identify(self): def identify(self):
......
...@@ -3,7 +3,7 @@ import os ...@@ -3,7 +3,7 @@ import os
import sys import sys
import tempfile import tempfile
import shutil import shutil
from MBIutils import * from MBButils import *
class Tool(AbstractTool): class Tool(AbstractTool):
def identify(self): def identify(self):
......
import re import re
import os import os
from MBIutils import * from MBButils import *
class Tool(AbstractTool): class Tool(AbstractTool):
def identify(self): def identify(self):
......
...@@ -2,7 +2,7 @@ import re ...@@ -2,7 +2,7 @@ import re
import os import os
import distutils.spawn import distutils.spawn
from MBIutils import * from MBButils import *
class Tool(AbstractTool): class Tool(AbstractTool):
......
import re import re
import os import os
from MBIutils import * from MBButils import *
class Tool(AbstractTool): class Tool(AbstractTool):
def identify(self): def identify(self):
......
import re import re
import os import os
import sys import sys
from MBIutils import * from MBButils import *
class Tool(AbstractTool): class Tool(AbstractTool):
def identify(self): def identify(self):
......
...@@ -3,7 +3,7 @@ import os ...@@ -3,7 +3,7 @@ import os
import tempfile import tempfile
import shutil import shutil
import json import json
from MBIutils import * from MBButils import *
def must_filter(line, process): def must_filter(line, process):
......
import re import re
import os import os
from MBIutils import * from MBButils import *
class Tool(AbstractTool): class Tool(AbstractTool):
def identify(self): def identify(self):
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
import re import re
import os import os
import tempfile import tempfile
from MBIutils import * from MBButils import *
class Tool(AbstractTool): class Tool(AbstractTool):
name_ext = "" name_ext = ""
......
import re import re
import os import os
import tools.simgrid import tools.simgrid
from MBIutils import * from MBButils import *
class Tool(tools.simgrid.Tool): class Tool(tools.simgrid.Tool):
def identify(self): def identify(self):
......
...@@ -2,7 +2,7 @@ import re ...@@ -2,7 +2,7 @@ import re
import os import os
import tools.smpi import tools.smpi
import subprocess import subprocess
from MBIutils import * from MBButils import *
class Tool(tools.smpi.Tool): class Tool(tools.smpi.Tool):
def identify(self): def identify(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment