[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:
Leon Arber
2005-02-09 13:19:54 -05:00
parent 81cfafde89
commit c7f2d5c41e
4 changed files with 12 additions and 5 deletions

View File

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