Changeset 2957 for palm


Ignore:
Timestamp:
Apr 11, 2018 8:48:06 AM (7 years ago)
Author:
Giersch
Message:

Sky view factors will always be read from file now in case of automatic restarts, corrected error message in case of writing sky view factors

Location:
palm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrun

    r2906 r2957  
    2727# -----------------
    2828# $Id: palmrun 2718 2018-01-02 08:49:38Z maronga $
     29# svfout in the activation string will be replaced now by svfin in case of
     30# automatic restarts
     31#
     32# 2718 2018-01-02 08:49:38Z maronga
    2933# Introduction of new ENVIRONMENT variables read_svf and write_svf to consider
    3034# the possible output or input of sky view factors
     
    26402644       [[ $(echo $prc | grep -c "\-b") = 0 ]]  &&  prc="$prc -b"
    26412645
     2646          # REPLACE SVFOUT IN THE ACTIVATION STRINGS (GIVEN WITH OPTION -a)
     2647          # SO THAT RESTARTS USE SVF DATA CREATED BY THE INITIAL RUN
     2648       if [[ $(echo $prc | grep -c "svfout") != 0 ]]
     2649       then
     2650          prc=`echo $prc | sed 's/svfout/svfin/g'`
     2651       fi
    26422652
    26432653          # REPLACE THE HASH IN THE ACTIVATION STRINGS (GIVEN WITH OPTION -a)
  • palm/trunk/SOURCE/check_open.f90

    r2906 r2957  
    2525! -----------------
    2626! $Id$
     27! Error message has been corrected in case of writing sky view factors
     28!
     29! 2906 2018-03-19 08:56:40Z Giersch
    2730! CASE 88 and 89 has been added for the input/output of sky view factors
    2831!
     
    583586                           FORM='UNFORMATTED', STATUS='NEW', IOSTAT=ioerr )
    584587                IF ( ioerr /= 0 )  THEN
    585                    WRITE( 9, * )  '*** could not open "BINOUT'//         &
    586                                   TRIM(coupling_char)//'/'//myid_char//  &
     588                   WRITE( 9, * )  '*** could not open "SVFOUT'//               &
     589                                  TRIM(coupling_char)//'/'//myid_char//        &
    587590                                  '"! Trying again in 1 sec.'
    588591                   CALL fortran_sleep( 1 )
Note: See TracChangeset for help on using the changeset viewer.