Skip to content

Commit f89f8fa

Browse files
committed
I would put expletives here if I could
1 parent 30050a2 commit f89f8fa

1 file changed

Lines changed: 8 additions & 19 deletions

File tree

src/sst/elements/balar/tests/testBalar_testsuite_util.py

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,14 @@ def balar_vanadis_clang_template(self, testcase, testtimeout=600):
329329
gpuMemCfgfile = "{0}/gpu-v100-mem.cfg".format(self.testbalarDir)
330330
otherargs = '--model-options=\"-c {0} -s {1} --vanadis-binary {2} --vanadis-args=\\"{3}\\" --cuda-binary {4}\"'.format(gpuMemCfgfile, statsfile, exe, args, exe)
331331

332-
log_forced("ARGs = {otherargs}")
333-
log_forced("testcase = {0}".format(testcase))
334-
log_forced("sdl file = {0}".format(sdlfile))
335-
log_forced("ref file = {0}".format(reffile))
336-
log_forced("out file = {0}".format(outfile))
337-
log_forced("err file = {0}".format(errfile))
338-
log_forced("stats file = {0}".format(statsfile))
339-
log_forced("testbalarDir = {0}".format(self.testbalarDir))
332+
print(f"ARGs = {otherargs}")
333+
print("testcase = {0}".format(testcase))
334+
print("sdl file = {0}".format(sdlfile))
335+
print("ref file = {0}".format(reffile))
336+
print("out file = {0}".format(outfile))
337+
print("err file = {0}".format(errfile))
338+
print("stats file = {0}".format(statsfile))
339+
print("testbalarDir = {0}".format(self.testbalarDir))
340340

341341
# Run SST
342342
os.environ["VANADIS_ISA"] = "RISCV64"
@@ -490,17 +490,6 @@ def _setupbalarVarEnv(self):
490490

491491
if "GPGPUSIM_ROOT" not in os.environ:
492492
self.fail("Environment variable GPGPUSIM_ROOT not set — aborting test.")
493-
# print("GPGPUSIM_ROOT not set — sourcing {self.balarElementDir}/gpgpu-sim_distribution/setup_environment sst...")
494-
# result = subprocess.run(
495-
# ["bash", "-c", "source {self.balarElementDir}/gpgpu-sim_distribution/setup_environment sst && env"],
496-
# capture_output=True,
497-
# text=True,
498-
# check=False
499-
# )
500-
#
501-
# for line in result.stdout.splitlines():
502-
# key, _, value = line.partition("=")
503-
# os.environ[key] = value
504493

505494
# Get nvcc
506495
cmd = "which nvcc"

0 commit comments

Comments
 (0)