Fixing conflicts

migrate_fortran
chortas 3 years ago
parent 96dd67da96
commit 03c9901e88

@ -2,10 +2,10 @@
simDir=tests/performance/tmp_gen_output
startJob=0
[Iterables]
p=[10,39,15]
p=[10,39,10]
seeds=[5462,2]
lc=[4]
connectivity=[1,2,3]
connectivity=[1]
variances=[1]
[Generation]

@ -26,11 +26,9 @@ with Benchmarker() as bench:
@bench(f"Connectivity 1 core with size {size}")
def _(bm):
global index_1
print(f"Running generation for {GEN_CONFIG_FILES[index_1]}")
os.system("CONFIG_FILE_PATH="+ GEN_CONFIG_FILES[index_1] + " mpirun -oversubscribe -np 1 python3 mpirunner.py")
print(f"End of generation for {GEN_CONFIG_FILES[index_1]}")
os.system("CONFIG_FILE_PATH="+ GEN_CONFIG_FILES[index_1] + " mpirun -oversubscribe -np 1 python3 -m memory_profiler mpirunner.py")
with bm:
os.system("CONFIG_FILE_PATH="+ CONN_CONFIG_FILES[index_1] + " mpirun -oversubscribe -np 1 python3 mpirunner.py")
os.system("CONFIG_FILE_PATH="+ CONN_CONFIG_FILES[index_1] + " mpirun -oversubscribe -np 1 python3 -m memory_profiler mpirunner.py")
## teardown
os.system("rm -rf ./tests/performance/tmp_gen_output")
@ -39,11 +37,9 @@ with Benchmarker() as bench:
@bench(f"Connectivity 8 core with size {size}")
def _(bm):
global index_8
print(f"Running generation for {GEN_CONFIG_FILES[index_8]}")
os.system("CONFIG_FILE_PATH="+ GEN_CONFIG_FILES[index_8] + " mpirun -oversubscribe -np 8 python3 mpirunner.py")
print(f"End of generation for {GEN_CONFIG_FILES[index_8]}")
os.system("CONFIG_FILE_PATH="+ GEN_CONFIG_FILES[index_8] + " mpirun -oversubscribe -np 8 python3 -m memory_profiler mpirunner.py")
with bm:
os.system("CONFIG_FILE_PATH="+ CONN_CONFIG_FILES[index_8] + " mpirun -oversubscribe -np 8 python3 mpirunner.py")
os.system("CONFIG_FILE_PATH="+ CONN_CONFIG_FILES[index_8] + " mpirun -oversubscribe -np 8 python3 -m memory_profiler mpirunner.py")
## teardown
os.system("rm -rf ./tests/performance/tmp_gen_output")

Loading…
Cancel
Save