- Timestamp:
- Feb 28, 2007 3:39:05 AM (18 years ago)
- Location:
- palm/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun_new
r14 r21 3 3 ##!/home/DSRC/NC/tatuyama/pub/ksh NEEDED ON NEC AT RIAM !!!!!!!!!! 4 4 5 # mrun - Plot-Shellskript Version: @(#)MRUN 1.8 10/02/075 # mrun - Plot-Shellskript Version: @(#)MRUN 1.8 28/02/07 6 6 7 7 # Prozedur zum Starten von Modellaeufen … … 108 108 # all hpmuk-related code removed 109 109 # 14/02/07 - Siggi - dvrp support for neck added 110 # 28/02/07 - Siggi - empty lines in configuration file are accepted 110 111 111 112 … … 177 178 read_from_config="" 178 179 restart_run=false 179 return_addres=$(nslookup `hostname` 2>&1 | grep "Address:" | tail -1 | awk '{print $2}') 180 # return_addres=$(nslookup `hostname` 2>&1 | grep "Address:" | tail -1 | awk '{print $2}') 181 return_addres=130.75.105.2 180 182 if [[ $return_addres = 130.75.105.158 ]] 181 183 then … … 571 573 572 574 # INTERPRETATION DER ZEILE 573 if [[ "$(echo $zeile | cut -c1)" = "#" ]] 575 if [[ "$(echo $zeile)" = "" ]] 576 then 577 # LEERZEILE, KEINE AKTION 578 continue 579 580 elif [[ "$(echo $zeile | cut -c1)" = "#" ]] 574 581 then 575 582 -
palm/trunk/UTIL/interpret_config.f90
r1 r21 7 7 ! 29/06/05 - Siggi - Fehlermeldung ins englische uebertragen und ergaenzt 8 8 ! 01/11/05 - Siggi - s2b-Feld erlaubt den Wert locopt 9 ! 28/02/07 - Siggi - empty lines in configuration file are accepted 9 10 ! 10 11 ! Letzte Aenderungen: … … 71 72 izeile = LEN_TRIM( zeile ) 72 73 73 IF ( zeile(1:1) == '#' ) THEN 74 IF ( LEN_TRIM( zeile ) == 0 ) THEN 75 CONTINUE 76 ELSEIF ( zeile(1:1) == '#' ) THEN 74 77 icomment = icomment + 1 75 78 ELSEIF ( zeile(1:1) == '%' ) THEN … … 491 494 bs, bs, bs, bs, bs, bs, bs 492 495 2010 FORMAT ('printf "',A,'n',A,'n +++ I/O-field in configuration ', & 493 'file ',A, ' has the illegal"'/ & 494 'printf "',A,'n value ',A,'"',A,A,'". Only ', & 495 A,'"in',A,'" or ',A,'"out',A,'" are allowed!"'/ & 496 'printf "',A,'n The error may be caused by an', & 497 ' empty line at the end of the "'/ & 498 'printf "',A,'n configuration file."' & 496 'file ',A, ' has the illegal"'/ & 497 'printf "',A,'n value ',A,'"',A,A,'". Only ', & 498 A,'"in',A,'" or ',A,'"out',A,'" are allowed!"' & 499 499 ) 500 500 WRITE (2,'(''locat=connect; exit'')')
Note: See TracChangeset
for help on using the changeset viewer.