Ignore:
Timestamp:
May 17, 2020 5:24:13 PM (4 years ago)
Author:
raasch
Message:

messages and debug output converted to PALM routines (restart_data_mpi_io_mod), binary version number set to 5.0, heeader output for restart data format added, restart data filesize and I/O transfer speed added in cpu_measures, handling of single restart files (created with MPI-I/O) added to palmrun, bugfix: preprocessor directive adjusted (virtual_measurement_mod), location message format changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/cpulog_mod.f90

    r4429 r4536  
    2525! -----------------
    2626! $Id$
     27! restart I/O transfer speed added
     28!
     29! 4429 2020-02-27 15:24:30Z raasch
    2730! bugfix: cpp-directives added for serial mode
    2831!
     
    9497
    9598    USE control_parameters,                                                                        &
    96         ONLY: message_string, nr_timesteps_this_run, run_description_header, synchronous_exchange
     99        ONLY: message_string, nr_timesteps_this_run, restart_data_format_output,                   &
     100              restart_file_size, run_description_header, synchronous_exchange, write_binary
    97101               
    98102    USE indices,                                                                                   &
     
    499503             WRITE ( 18, 106 )
    500504          ENDIF
    501 
    502 !
    503 !--       Empty lines in order to create a gap to the results of the model
    504 !--       continuation runs
    505           WRITE ( 18, 107 )
     505!
     506!--       Output of restart data transfer speed
     507          IF ( write_binary  .AND.  restart_data_format_output(1:3) == 'mpi' )  THEN
     508             WRITE ( 18, 107 )  restart_file_size, restart_file_size / log_point(22)%sum
     509          ENDIF
     510!
     511!--       Empty lines in order to create a gap to the results from the next restart run
     512          WRITE ( 18, 108 )
    506513
    507514!
     
    529536   105 FORMAT (/'Exchange of ghostpoints via MPI_SENDRCV')
    530537   106 FORMAT (/'Exchange of ghostpoints via MPI_ISEND/MPI_IRECV')
    531    107 FORMAT (//)
     538   107 FORMAT (/'Restart file size:   ',F12.1,' MByte'/                                            &
     539               &'I/O transfer speed:  ',F12.1,' MByte / sec')
     540   108 FORMAT (//)
    532541   110 FORMAT ('------------------------------------------------------------',                     &
    533542               &'----------'//                                                                     &
Note: See TracChangeset for help on using the changeset viewer.