Ignore:
Timestamp:
Sep 12, 2018 12:04:40 PM (6 years ago)
Author:
Giersch
Message:

Bufgix for an error message in case of restarts and user-defined profiles

File:
1 edited

Legend:

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

    r3189 r3240  
    2525! -----------------
    2626! $Id$
     27! The check that controls the number of user-defined profiles on the restart file
     28! with the one given for the current run has been removed.
     29!
     30! 3189 2018-08-06 13:18:55Z Giersch
    2731! Indent revised
    2832!
     
    112116    INTEGER(iwp) ::  i                 !<
    113117    INTEGER(iwp) ::  j                 !<
    114     INTEGER(iwp) ::  max_pr_user_tmp   !<
    115118
    116119
     
    177180!-- standard data output (data_output_pr)
    178181    IF ( user_defined_namelist_found )  THEN
    179        max_pr_user_tmp = 0
    180182       IF ( data_output_pr_user(1) /= ' ' )  THEN
    181183          i = 1
     
    191193          ENDDO
    192194       ENDIF
    193 
    194 
    195 !
    196 !--    In case of a restart run, the number of user-defined profiles on the
    197 !--    restart file (already stored in max_pr_user) has to match the one given
    198 !--    for the current run
    199        IF ( TRIM( initializing_actions ) == 'read_restart_data' )  THEN
    200           IF ( max_pr_user /= max_pr_user_tmp )  THEN
    201              WRITE( message_string, * ) 'the number of user-defined profiles ',&
    202                      'given in data_output_pr (', max_pr_user_tmp, ') doe',    &
    203                      'snot match the one ',                                    &
    204                      'found in the restart file (', max_pr_user,               &
    205                                      ')'
    206              CALL message( 'user_parin', 'UI0009', 1, 2, 0, 6, 0 )
    207           ENDIF
    208        ELSE
    209           max_pr_user = max_pr_user_tmp
    210        ENDIF
    211 
    212195    ENDIF
    213196 
Note: See TracChangeset for help on using the changeset viewer.