Fortran:
:::fortran
subroutine PMTM_log_flags(flags, err_code)
Store the given flags to be written in the output files. This is used to keep a log which flags the code was built with so that they can be taken into account when comparing timing outputs.
:::fortran
character(len=*), intent(in)::flags
The flags used to compile the code, this will be split at spaces and output as a comma separated list.
:::fortran
integer, intent(in)::err_code
Will be set to PMTM_SUCCESS if the call was successful and the appropriate error code if not.
Notes: This must be called before PMTM_init for the flags to be written to the output file associated with the default instance.
C:
:::C
PMTM_error_t PMTM_log_flags(const char * flags)