From 065514722206c67d709fc7568a0f29d679695998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20R=C3=BC=C3=9Fmann?= <p.ruessmann@fz-juelich.de> Date: Wed, 18 Aug 2021 09:56:49 +0200 Subject: [PATCH] Minor change --- source/KKRnano/regtests/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/KKRnano/regtests/tests.py b/source/KKRnano/regtests/tests.py index 402948803..325445dd5 100755 --- a/source/KKRnano/regtests/tests.py +++ b/source/KKRnano/regtests/tests.py @@ -28,7 +28,7 @@ def run_it(cmd): """Run cmd, suppressing output. Returns output from stdout and exit code""" start_time = time.time() if verbose: - print 'start running comman "{0}" at {1}'.format(cmd, start_time) + print 'Run command "{0}"'.format(cmd) proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, close_fds=True, preexec_fn=os.setsid, shell=True) out, err = proc.communicate() end_time = time.time() @@ -80,7 +80,7 @@ def KKRnano(inputdir, nranks=DEFAULT_nranks, nthreads=DEFAULT_nthreads, solver=D mpirun = 'mpirun -np' if MPIEXEC=='srun': mpirun = 'srun -n' - out, err, tim = run_it("OMP_STACKSIZE=80M OMP_NUM_THREADS={0} ".format(int(nthreads)) + mpirun + " {0} kkr.exe".format(int(nranks))) + out, err, tim = run_it("OMP_STACKSIZE=80M OMP_NUM_THREADS={0} ".format(int(nthreads)) + mpirun + " {0} ./kkr.exe".format(int(nranks))) if verbose: print 'out', out print 'err', err -- GitLab