Ignore:
Timestamp:
May 14, 2020 6:35:22 PM (4 years ago)
Author:
raasch
Message:

I/O on reduced number of cores added (using shared memory MPI)

File:
1 edited

Legend:

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

    r4514 r4534  
    2525! -----------------
    2626! $Id$
     27! adjustments for I/O on reduced number of cores using shared memory MPI
     28!
     29! 4514 2020-04-30 16:29:59Z suehring
    2730! Enable output of qsurf and ssurf
    2831!
     
    256259!-- Check and set the restart data format variables
    257260    IF ( TRIM( restart_data_format ) /= 'fortran_binary'  .AND.                                    &
    258          TRIM( restart_data_format ) /= 'mpi' )  THEN
     261         TRIM( restart_data_format ) /= 'mpi'             .AND.                                    &
     262         TRIM( restart_data_format ) /= 'mpi_shared_memory' )  THEN
    259263       message_string = 'illegal restart data format "' // TRIM( restart_data_format ) // '"'
    260264       CALL message( 'check_parameters', 'PA....', 1, 2, 0, 6, 0 )
     
    269273
    270274    IF ( TRIM( restart_data_format_input ) /= 'fortran_binary'  .AND.                              &
    271          TRIM( restart_data_format_input ) /= 'mpi' )  THEN
     275         TRIM( restart_data_format_input ) /= 'mpi'             .AND.                              &
     276         TRIM( restart_data_format_input ) /= 'mpi_shared_memory' )  THEN
    272277       message_string = 'illegal restart data input format "' //                                   &
    273278                        TRIM( restart_data_format_input ) // '"'
     
    275280    ENDIF
    276281    IF ( TRIM( restart_data_format_output ) /= 'fortran_binary'  .AND.                             &
    277          TRIM( restart_data_format_output ) /= 'mpi' )  THEN
     282         TRIM( restart_data_format_output ) /= 'mpi'             .AND.                             &
     283         TRIM( restart_data_format_output ) /= 'mpi_shared_memory' )  THEN
    278284       message_string = 'illegal restart data output format "' //                                  &
    279285                        TRIM( restart_data_format_output ) // '"'
     286       CALL message( 'check_parameters', 'PA....', 1, 2, 0, 6, 0 )
     287    ENDIF
     288
     289    IF ( ( TRIM( restart_data_format_input ) == 'mpi_shared_memory'  .AND.                         &
     290           TRIM( restart_data_format_output ) /= 'mpi_shared_memory' )  .OR.                       &
     291         ( TRIM( restart_data_format_input ) /= 'mpi_shared_memory'  .AND.                         &
     292           TRIM( restart_data_format_output ) == 'mpi_shared_memory' ) )  THEN
     293       message_string = 'restart data formats both must be set "mpi_shared_memory"'
    280294       CALL message( 'check_parameters', 'PA....', 1, 2, 0, 6, 0 )
    281295    ENDIF
Note: See TracChangeset for help on using the changeset viewer.