Ignore:
Timestamp:
Feb 28, 2012 12:29:49 PM (13 years ago)
Author:
maronga
Message:

further adjustments and bugfixes for the namelist file check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r838 r841  
    250250     # 22/02/12 - Siggi  - -s info updated
    251251     # 22/02/12 - Siggi  - case "-s WP" removed
     252     # 28/02/12 - BjornM - further adjustments for namelist file check
    252253
    253254
     
    23622363
    23632364#### PERFORM PARAMETER FILE CHECK (COUPLED RUNS ARE NOT SUPPORTED YET)
     2365
     2366#DEFINE VARIABLES FOR FREQUENTLY USED DIRECTORIES
     2367 check_depository="${working_directory}/trunk/UTIL"
     2368 check_sources="${working_directory}/tmp_check_namelist_files"
    23642369 skip_check=false
     2370
     2371#CHECK IF NAMELIST_FILE_CHECK HAS BEEN COMPILED SUCCESSFULLY
     2372 if [[ ! -f $check_depository/check_namelist_files.tar || ! -f $PALM_BIN/check_namelist_files.x ]]
     2373 then
     2374    skip_check=true
     2375
     2376 fi
     2377
     2378#ONLY PERFORM CHECK IF -z OPTION IS NOT SET, NO RESTART RUN IS CARRIED OUT AND IF THE EXECUTION HOST IS THE LOCAL HOST
    23652379 if [[ $check_namelist_files == false || $fromhost != $localhost || $run_coupled_model == true || $restart_run == true ]]
    23662380 then
     
    24212435       printf "\n  +++ no PARIN list entry found for d3f in the configuration file."
    24222436    fi
     2437
    24232438#   GET TOPOGRAPHY PARAMETER FILE SUFFIX (USUALLY "_P3DF"). THIS FILE MIGHT IS
    24242439#   NOT NECESSARILY REQUIRED
     
    24422457
    24432458    rm -rf ${working_directory}/tmp_check
    2444 
    2445 #   DEFINE VARIABLES FOR FREQUENTLY USED DIRECTORIES
    2446     check_depository="${working_directory}/trunk/UTIL"
    2447     check_sources="${working_directory}/tmp_check_namelist_files"
    24482459
    24492460#   CHECK IF THE A P3DF FILE MUST BE CHECKED
Note: See TracChangeset for help on using the changeset viewer.