Added some Metadata
This commit is contained in:
@@ -15,19 +15,20 @@ def write_batch(batch_fpath: str, batch_content: str):
|
||||
_ = handle.write(batch_content)
|
||||
|
||||
|
||||
collectives = ["Reduce",
|
||||
"Reduce_scatter",
|
||||
"Allreduce",
|
||||
"Allgather",
|
||||
"Allgatherv",
|
||||
"Scatter",
|
||||
"Scatterv",
|
||||
"Gather",
|
||||
"Gatherv",
|
||||
"Alltoall",
|
||||
"Bcast",
|
||||
# "Barrier"
|
||||
]
|
||||
collectives = [
|
||||
"Reduce",
|
||||
"Reduce_scatter",
|
||||
"Allreduce",
|
||||
"Allgather",
|
||||
"Allgatherv",
|
||||
"Scatter",
|
||||
"Scatterv",
|
||||
"Gather",
|
||||
"Gatherv",
|
||||
"Alltoall",
|
||||
"Bcast",
|
||||
# "Barrier"
|
||||
]
|
||||
|
||||
procnt = [
|
||||
18,
|
||||
@@ -35,18 +36,21 @@ procnt = [
|
||||
54,
|
||||
72
|
||||
]
|
||||
|
||||
mpi1_bin = "/home/hpc/ihpc/ihpc136h/workspace/prototyping/bin/IMB-MPI1"
|
||||
slurm_template = load_template("templates/bench.template")
|
||||
|
||||
template_parameter = {"time_stamp": datetime.now().strftime("%y_%m_%d_%H-%M-%S"),
|
||||
"job_name": "",
|
||||
"output_dir": os.getcwd()+"/output/",
|
||||
"err_dir": os.getcwd()+"/error/",
|
||||
"data_dir": os.getcwd()+"/data/",
|
||||
"n_procs": 18,
|
||||
"off_mem_flag": "",
|
||||
"bin": mpi1_bin
|
||||
}
|
||||
template_parameter = {
|
||||
"time_stamp": datetime.now().strftime("%y_%m_%d_%H-%M-%S"),
|
||||
"job_name": "",
|
||||
"output_dir": os.getcwd()+"/output/",
|
||||
"err_dir": os.getcwd()+"/error/",
|
||||
"data_dir": os.getcwd()+"/data/",
|
||||
"n_procs": 18,
|
||||
"off_mem_flag": "-off_cache 50",
|
||||
"bin": mpi1_bin,
|
||||
"n_nodes": 1
|
||||
}
|
||||
|
||||
output_dir = os.getcwd()+"/output/"
|
||||
err_dir = os.getcwd()+"/error/"
|
||||
@@ -76,4 +80,4 @@ for n_procs in procnt:
|
||||
log += "\tSTDOUT:" + result.stdout + "\n"
|
||||
log += "\tSTDERR:" + result.stderr + "\n"
|
||||
print(log)
|
||||
_ = subprocess.run(["./clean.sh"])
|
||||
# _ = subprocess.run(["./clean.sh"])
|
||||
|
Reference in New Issue
Block a user