Menu

PMTM_set_file_name

Iain Miller

PMTM_set_file_name

Fortran:

:::fortran
subroutine PMTM_set_file_name(instance , file_name)

Update the given instance to use write it’s output to the file with the given file name. If the file name is blank ("") then outputting will be turned off for the given instance and if the file name equals "-" then output will be diverted to stdout. If the instance already has an open file this file will be closed but no timing information will be written to it beforehand.

:::fortran
    integer, intent(in)::instance

The handle of the instance for which we are setting the output file.

:::fortran
    character(len=*), intent(in)::file_name

The name of the output file.

C:

:::C
PMTM_error_t PMTM_set_file_name(PMTM_instance_t instance_id, const char * file_name)

Related

Wiki: PMTM

MongoDB Logo MongoDB