Skip to content
Snippets Groups Projects
Commit d4387e8e authored by Kurt A. O'Hearn's avatar Kurt A. O'Hearn
Browse files

Tools: fix MPI command. Change control file generation to be in running...

Tools: fix MPI command. Change control file generation to be in running directory (for temporary directories and files) => necessary for running with MPI (shared filesystem needed across nodes).
parent 9140d308
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ class TestCase(): ...@@ -155,7 +155,7 @@ class TestCase():
+ '_pa' + param_dict['cm_solver_pre_app_type'] \ + '_pa' + param_dict['cm_solver_pre_app_type'] \
+ '_paji'+ str(param_dict['cm_solver_pre_app_jacobi_iters']) + '_paji'+ str(param_dict['cm_solver_pre_app_jacobi_iters'])
temp_dir = mkdtemp() temp_dir = mkdtemp(dir=getcwd())
temp_file = path.join(temp_dir, path.basename(self.__control_file)) temp_file = path.join(temp_dir, path.basename(self.__control_file))
# add MPI execution arguments to subprocess argument list # add MPI execution arguments to subprocess argument list
...@@ -491,4 +491,4 @@ if __name__ == '__main__': ...@@ -491,4 +491,4 @@ if __name__ == '__main__':
for test in test_cases: for test in test_cases:
test.run(binary, process_results=args.process_results, test.run(binary, process_results=args.process_results,
mpi_cmd=args.mpi_cmd.split(':')) mpi_cmd=args.mpi_cmd[0].split(':'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment