Changeset 2422 for palm/trunk/SOURCE


Ignore:
Timestamp:
Sep 8, 2017 8:25:41 AM (7 years ago)
Author:
raasch
Message:

new palm-scripts set to version number 1.0, further check for consistent restart settings

File:
1 edited

Legend:

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

    r2375 r2422  
    2525! -----------------
    2626! $Id$
     27! error message in case of missing "restart" file activation string
     28!
     29! 2375 2017-08-29 14:10:28Z schwenkel
    2730! Added aerosol for bulk microphysics
    2831!
     
    633636#if defined( __parallel )
    634637
    635 !
    636 !--    NOTE: coupled runs have not been implemented in the check_namelist_files
    637 !--    program.
    638 !--    check_namelist_files will need the following information of the other
    639 !--    model (atmosphere/ocean).
    640 !       dt_coupling = remote
    641 !       dt_max = remote
    642 !       restart_time = remote
    643 !       dt_restart= remote
    644 !       simulation_time_since_reference = remote
    645 !       dx = remote
    646 
    647 
    648638       IF ( myid == 0 ) THEN
    649639          CALL MPI_SEND( dt_coupling, 1, MPI_REAL, target_id, 11, comm_inter,  &
     
    792782       ENDIF
    793783#else
    794        WRITE( message_string, * ) 'coupling requires PALM to be called with',  &
    795             ' ''mrun -K parallel'''
     784       WRITE( message_string, * ) 'coupling requires PALM to be compiled with',&
     785            ' cpp-option "-D__parallel"'
    796786       CALL message( 'check_parameters', 'PA0141', 1, 2, 0, 6, 0 )
    797787#endif
     
    812802#endif
    813803
     804!
     805!-- User settings for restart times requires that "restart" has been given as
     806!-- file activation string. Otherwise, binary output would not be saved by
     807!-- palmrun.
     808    IF (  ( restart_time /= 9999999.9_wp  .OR.  dt_restart /= 9999999.9_wp )   &
     809         .AND.  .NOT. write_binary )  THEN
     810       WRITE( message_string, * ) 'manual restart settings requires file ',    &
     811                                  'activation string "restart"'
     812       CALL message( 'check_parameters', 'PA0001', 1, 2, 0, 6, 0 )
     813    ENDIF
    814814
    815815!
Note: See TracChangeset for help on using the changeset viewer.