diff --git a/mpirunner.py b/mpirunner.py index 32bb65b..581ad57 100755 --- a/mpirunner.py +++ b/mpirunner.py @@ -8,12 +8,6 @@ from tools.Prealization import realization CONFIG_FILE_PATH = 'config.ini' if 'CONFIG_FILE_PATH' not in os.environ else os.environ['CONFIG_FILE_PATH'] -print(CONFIG_FILE_PATH) - -dir_path = os.path.dirname(os.path.realpath(__file__)) -print(dir_path) - - def main(): comm = MPI.COMM_WORLD rank = comm.Get_rank() diff --git a/tools/generation/config.py b/tools/generation/config.py index a5168fe..8f89238 100755 --- a/tools/generation/config.py +++ b/tools/generation/config.py @@ -2,18 +2,11 @@ import numpy as np import configparser import json -import os - -dir_path = os.path.dirname(os.path.realpath(__file__)) -print(dir_path) def get_config(conffile): - parser = configparser.ConfigParser() - print(parser.read(conffile)) - - print(parser) + parser.read(conffile) cons=json.loads(parser.get('Iterables',"connectivity")) ps=json.loads(parser.get('Iterables',"p"))