Synchronize all scopes of a file¶
ss_file_synchronize
is a function defined in ssfile.c.
Synopsis:
-
herr_t
ss_file_synchronize
(ss_file_t *file, ss_prop_t *props)¶
Formal Arguments:
file
: The file to synchronize.props
: Optional synchronization properties.
Description: As mentioned in ss_scope_synchronize, persistent object tables may become unsynchronized across the MPI tasks that own them. This function is simply a convenience function to synchronize all tables of all scopes that belong to the specified open file. See *Synchronization Algorithm* for more details.
Return Value: Returns non-negative on success; negative on failure.
Parallel Notes: Collective across the file’s communicator.
Issues: If the caller supplies a property list then the `err_newptrs
’ integer property should be a member of that list
since it is used internally by this function.
See Also:
- ss_scope_synchronize: 13.7: Synchronize a scope
- Files: Introduction for current chapter