Commit 03419806 authored by Andreas Marek's avatar Andreas Marek

Only redirect output if MPI is used

parent 828cec00
......@@ -161,8 +161,8 @@ program test
#ifdef HAVE_REDIRECT
#ifdef WITH_MPI
call MPI_BARRIER(MPI_COMM_WORLD, mpierr)
#endif
call redirect_stdout(myid)
#endif
#endif
if (elpa_init(CURRENT_API_VERSION) /= ELPA_OK) then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment