[svn-r9969] Purpose:
Correction to previous print_manager_output bugfix Description: Although the previous bugfix did fix all the errors, it was not the correct way to fix the problem. Since the manager will only buffer output when run in parallel mode, in serial mode this function should not even be called. Solution: Wrapped print_manager_output in #define's to prevent it from being included in serial builds. Platforms tested: heping (serial + parallel) Misc. update:
This commit is contained in:
@@ -71,6 +71,7 @@ int main(int argc, const char *argv[])
|
||||
|
||||
#ifdef H5_HAVE_PARALLEL
|
||||
MPI_Status Status;
|
||||
outBuffOffset = 0;
|
||||
#endif
|
||||
|
||||
/* See what we were called as to determine whether to run serial or parallel version
|
||||
@@ -266,7 +267,9 @@ int main(int argc, const char *argv[])
|
||||
if (!options.err_stat)
|
||||
{
|
||||
print_found(nfound);
|
||||
#ifdef H5_HAVE_PARALLEL
|
||||
print_manager_output();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user