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/parin.f90

    r3204 r3240  
    2525! -----------------
    2626! $Id$
     27! A check that controls the number of user-defined profiles on the restart file
     28! with the one given for the current run has been added.
     29!
     30! 3204 2018-08-23 10:49:05Z raasch
    2731! additional check for nz
    2832!
     
    906910!--          Increment the run count
    907911             runnr = runnr + 1
     912!
     913!--          In case of a restart run, the number of user-defined profiles on
     914!--          the restart file (already stored in max_pr_user) has to match the
     915!--          one given for the current run. max_pr_user_tmp is calculated in
     916!--          user_parin and max_pr_user is read in via rrd_global.
     917             IF ( max_pr_user /= max_pr_user_tmp )  THEN
     918                WRITE( message_string, * ) 'the number of user-defined ',      &
     919                      'profiles given in data_output_pr (', max_pr_user_tmp,   &
     920                      ') does not match the one ',                             &
     921                      'found in the restart file (', max_pr_user, ')'
     922                CALL message( 'user_parin', 'UI0009', 1, 2, 0, 6, 0 )
     923             ENDIF
     924          ELSE
     925             max_pr_user = max_pr_user_tmp
    908926          ENDIF
    909927
Note: See TracChangeset for help on using the changeset viewer.