g_tune_pme hangs when using new IBM PE
If one uses g_tune_pme with the new version of IBM MPI, runs on larger number of nodes (>= 8) in most cases never do any tuning but hang.
The hang happens when g_tune_pme checks with a system call whether it can execute mdrun, and therefore calls mdrun -h.
Even a simple c program making a system call with "poe mdrun -h" produces these hangs on IBM PE.
IBM PE does not seem to like the exit(0) after gmx_print_version_info() in statutil.c. If one however properly shuts down the MPI
universe by adding a gmx_finalize_par() just before the exit(0), IBM PE is happy. I guess there should not be any side effects
by adding a gmx_finalize_par() there, since the gmx_finalize_par() only calls MPI_Finalize if MPI_Initialized() returns true.