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
This commit is contained in:
Mark Dewing 2016-04-26 17:01:37 +00:00
parent 85220375ea
commit 0d16a51cd6
1 changed files with 2 additions and 1 deletions

View File

@ -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