Ignore:
Timestamp:
May 28, 2018 7:55:41 AM (6 years ago)
Author:
Giersch
Message:

Code adjusted according to coding standards, renamed namelists, error messages revised until PA0347, output CASE 108 disabled

File:
1 edited

Legend:

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

    r2995 r3045  
    2525! -----------------
    2626! $Id$
     27! z_max_do2d removed, error messages revised
     28!
     29! 2995 2018-04-19 12:13:16Z Giersch
    2730! time_since_reference_point must be calculated/initialized before the first 
    2831! call of functions related to the radiation model which occur in
     
    639642             skip_time_do2d_xy, skip_time_do2d_xz, skip_time_do2d_yz,          &
    640643             skip_time_do3d, skip_time_domask, synchronous_exchange,           &
    641              termination_time_needed, vnest_start_time, z_max_do2d
     644             termination_time_needed, vnest_start_time
    642645
    643646    NAMELIST /runtime_parameters/  averaging_interval, averaging_interval_pr,  &
     
    660663             skip_time_do2d_xy, skip_time_do2d_xz, skip_time_do2d_yz,          &
    661664             skip_time_do3d, skip_time_domask, synchronous_exchange,           &
    662              termination_time_needed, vnest_start_time, z_max_do2d
     665             termination_time_needed, vnest_start_time
    663666
    664667    NAMELIST /envpar/  batch_job, host, local_dvrserver_running,               &
     
    669672!
    670673!-- First read values of environment variables (this NAMELIST file is
    671 !-- generated by mrun)
     674!-- generated by palmrun)
    672675    CALL location_message( 'reading environment parameters from ENVPAR', .FALSE. )
    673676
     
    676679    IF ( ioerr /= 0 )  THEN
    677680       message_string = 'local file ENVPAR not found' //                       &
    678                         '&some variables for steering may not be properly set'
     681                        ' some variables for steering may not be properly set'
    679682       CALL message( 'parin', 'PA0276', 0, 1, 0, 6, 0 )
    680683    ELSE
     
    682685       IF ( ioerr < 0 )  THEN
    683686          message_string = 'no envpar-NAMELIST found in local file '  //       &
    684                            'ENVPAR&some variables for steering may '  //       &
     687                           'ENVPAR or some variables for steering may '  //    &
    685688                           'not be properly set'
    686689          CALL message( 'parin', 'PA0278', 0, 1, 0, 6, 0 )
    687690       ELSEIF ( ioerr > 0 )  THEN
    688691          message_string = 'errors in local file ENVPAR' //                    &
    689                            '&some variables for steering may not be properly set'
     692                           ' some variables for steering may not be properly set'
    690693          CALL message( 'parin', 'PA0277', 0, 1, 0, 6, 0 )
    691694       ENDIF
     
    742745          GOTO 12
    743746
    744  10       message_string = 'errors in initialization_parameters &or no ' //    &
    745                            'initialization_parameters-namelist ' //            &
     747 10       message_string = 'errors in &initialization_parameters or no ' //    &
     748                           '&initialization_parameters-namelist ' //           &
    746749                           'found (CRAY-machines only)'
    747750          CALL message( 'parin', 'PA0271', 1, 2, 0, 6, 0 )
     
    750753          READ ( 11, inipar, ERR=13, END=14 )
    751754 
    752           message_string = 'namelist inipar is deprecated and will be ' //     &
    753                           'removed in near future. Please &use namelist ' //   &
    754                           'initialization_parameters instead'
    755           CALL message( 'parin', 'PA0272', 0, 1, 0, 6, 0 )
     755          message_string = 'namelist &inipar is deprecated and will be ' //    &
     756                          'removed in near future. Please use namelist ' //    &
     757                          '&initialization_parameters instead'
     758          CALL message( 'parin', 'PA0017', 0, 1, 0, 6, 0 )
    756759 
    757760          GOTO 12
    758761 
    759  13       message_string = 'errors in inipar &or no inipar-namelist ' //       &
     762 13       message_string = 'errors in inipar  or no inipar-namelist ' //       &
    760763                           'found (CRAY-machines only)'
    761764          CALL message( 'parin', 'PA0271', 1, 2, 0, 6, 0 )
    762765         
    763  14       message_string = 'no initialization_parameters-namelist found'
     766 14       message_string = 'no &initialization_parameters-namelist found'
    764767          CALL message( 'parin', 'PA0272', 1, 2, 0, 6, 0 )
    765768
Note: See TracChangeset for help on using the changeset viewer.