From 0d16a51cd6f0ae8ecc3f794885719c05264a86ae Mon Sep 17 00:00:00 2001 From: Mark Dewing Date: Tue, 26 Apr 2016 17:01:37 +0000 Subject: [PATCH] Try launching 'mpirun' for converter tests through the shell. Another attempt to understand why the converter tests are failing on oxygen. If there is setup for open mpi in the shell startup files, this might make a difference. git-svn-id: https://subversion.assembla.com/svn/qmcdev/trunk@6869 e5b18d87-469d-4833-9cc0-8cdfa06e9491 --- tests/converter/converter_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/converter/converter_test.py b/tests/converter/converter_test.py index beabafd25..fd88f06b3 100644 --- a/tests/converter/converter_test.py +++ b/tests/converter/converter_test.py @@ -40,7 +40,8 @@ def run_test(test_name, c4q_exe, conv_inp, gold_file, expect_fail): print(convert_libs) cmd.extend(['-nojastrow', '-prefix', 'test', '-gamessAscii', conv_inp]) - p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + #p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + p = subprocess.Popen(' '.join(cmd), stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) stdout, stderr = p.communicate() ret = p.returncode