| 1 | Regression test properties file: ''/lib/regression.props''. Here user can customize the test run environment. |
| 2 | {{{ |
| 3 | # ######################################################################### |
| 4 | # regression.props |
| 5 | # |
| 6 | # Regression test properties file. Here you can set environment |
| 7 | # variables for regression test script. Although, the 'configure' |
| 8 | # script do set these variables, but it's good to check, especially |
| 9 | # the $ROMS_DIR variable. Make sure ROMS_DIR set to the ROMS root directory. |
| 10 | # |
| 11 | # usage: require "regression.props" |
| 12 | # Sachin Kumar Bhate (skbhate@gri.msstate.edu). May'07 |
| 13 | ########################################################################### |
| 14 | |
| 15 | # TEST_DIR |
| 16 | # Base directory for all test script installation |
| 17 | $TEST_DIR = "/cygdrive/c/skbhate/dev/nopp/regression"; |
| 18 | |
| 19 | # DATA_DIR |
| 20 | # Contains master and other relevant data files required to perform test |
| 21 | # you can change this directory to anything where you |
| 22 | # would like to store data files. |
| 23 | $DATA_DIR = "$TEST_DIR/data"; |
| 24 | |
| 25 | # TEST_RUN |
| 26 | # directory to store test results. you can change this directory |
| 27 | # to anything where you would like to store the test results. |
| 28 | $TEST_RUN = "$TEST_DIR/test-run"; |
| 29 | |
| 30 | # GZIP |
| 31 | $GZIP = "/usr/bin/gunzip"; |
| 32 | |
| 33 | # NCO Tools |
| 34 | $NCKS = "/usr/local/bin/ncks"; |
| 35 | $NCDIFF = "/usr/local/bin/ncdiff"; |
| 36 | |
| 37 | # NCO tools options. Add options/flags for |
| 38 | # ncks and ncdiff here. |
| 39 | # $NCKSOPT = "-4 -c"; |
| 40 | $NCKSOPT = ""; |
| 41 | $NCDIFFOPT = ""; |
| 42 | |
| 43 | # Set this option to identify ROMS output file types to be |
| 44 | # used in testing. e.g history, averages etc. By default the |
| 45 | # tests will only run on history files. |
| 46 | # $FILETYPE = "his avg rst dia" |
| 47 | $FILETYPES = "his rst avg dia"; |
| 48 | |
| 49 | # Operating Systems |
| 50 | $CYGWIN = "cygwin"; |
| 51 | $LINUX = "linux"; |
| 52 | $UNIX = "unix"; |
| 53 | $WINDOWS = "MSWin32"; |
| 54 | |
| 55 | # ROMS related properties |
| 56 | |
| 57 | # ROMS_DIR |
| 58 | # Base directory for ROMS model |
| 59 | # modified by ./config. Can be changed manually as well. |
| 60 | $ROMS_DIR = "/cygdrive/c/skbhate/dev/nopp/ROMS_3.0_0621"; |
| 61 | |
| 62 | # Input Files Directory |
| 63 | $ROMS_INPUT_DIR = "$ROMS_DIR/ROMS/External"; |
| 64 | |
| 65 | |
| 66 | # ROMS output_dir. (*.nc, *.out files) |
| 67 | # by default it's ROMS_DIR, but if user configure ROMS for |
| 68 | # different output dir, then this variable needs |
| 69 | # to reflect that change. |
| 70 | $ROMS_OUTPUT_DIR = "$ROMS_DIR"; |
| 71 | |
| 72 | # List all application for regression test in |
| 73 | # this file. |
| 74 | $REGRESS_FILE = "$DATA_DIR/regression.tests"; |
| 75 | |
| 76 | #Makefile |
| 77 | $MAKE_FILE = "$ROMS_DIR/makefile"; |
| 78 | |
| 79 | #ROMS macros |
| 80 | $ROMS_APPLICATION = "ROMS_APPLICATION"; |
| 81 | $MPI = "USE_MPI"; |
| 82 | $OPENMP = "USE_OpenMP"; |
| 83 | $SWAN = "SWAN_COUPLE"; |
| 84 | $ROOT_DIR = "MY_ROOT_DIR"; |
| 85 | $ROMS_SRC = "MY_ROMS_SRC"; |
| 86 | $PROJECT_DIR = "MY_PROJECT_DIR"; |
| 87 | $BIN_DIR = "BINDIR"; |
| 88 | $HEADER_DIR = "MY_HEADER_DIR"; |
| 89 | $ANALYTICAL_DIR = "MY_ANALYTICAL_DIR"; |
| 90 | |
| 91 | |
| 92 | #ROMS_SED executable |
| 93 | $BIN_FILE = "oceanS"; |
| 94 | $BIN_FILE_MPI = "oceanM"; |
| 95 | $BIN_FILE_OPENMP = "oceanO"; |
| 96 | |
| 97 | #process info |
| 98 | $NTILEI = "NtileI"; |
| 99 | $NTILEJ = "NtileJ"; |
| 100 | |
| 101 | #Shells |
| 102 | $BASH = "bash"; |
| 103 | $CSH = "csh"; |
| 104 | |
| 105 | ######################## Customize variables below ############### |
| 106 | |
| 107 | # Default ROMS shell script dir. If you are copying build.bash |
| 108 | # to other location and would like to use the user specified |
| 109 | # build.sh, then modify the path below. Also modify the file |
| 110 | # name if you're running a different shell. |
| 111 | |
| 112 | $ROMS_BUILD_FILE = "$ROMS_DIR/ROMS/Bin/build.bash"; |
| 113 | |
| 114 | #Makefile processor |
| 115 | # Use this to specify the number of processors you would like |
| 116 | # to use to compile ROMS. It will be used to specify the '-j' |
| 117 | # option for build.sh |
| 118 | |
| 119 | $MY_CPUS = 1; |
| 120 | |
| 121 | 1; |
| 122 | }}} |