New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
help.txt in branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/inc – NEMO

source: branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/inc/help.txt @ 8883

Last change on this file since 8883 was 8883, checked in by nicolasmartin, 6 years ago

Continuation of global refactoring of Trusting tool: modification of options list to maintain consistency with makenemo
After getting a code snippet on https://stackoverflow.com/questions/402377/using-getopts-in-bash-shell-script-to-get-long-and-short-command-line-options in order to handle short '-[a-z]' and long '[a-z]*=' options, I have modified the main trusting script to split betwwen:

  • Short options reserved shared options with makenemo ( -[hjmnr])
  • Long pattern for trusting specified options
File size: 1.9 KB
Line 
1
2./trusting.sh            Launch trusting test on $ARCH machine from $USER installation
3./install_new_branch     Install new branch in $USER installation for trusting test on $ARCH machine
4
5Examples: `./trusting.sh        -u romr005 -m X64_CURIE -p -b nemo_v3_6_STABLE`
6          `./install_new_branch -u romr005 -m X64_ADA   -w $HOME/NEMO         `
7
8Mandatory
9    Default settings to source in ./config, templates (arch_template.cfg & user_template.cfg)
10    -m,--machine      Architecture environment (compilation & computation settings)
11    -u,--user         User             ""      (NEMO & XIOS installation)       
12
13
14Options (modify default settings)
15SVN
16    -b,--branch         Branch name in working directory ('trunk'|'nemo_v3_6_stable'|...)
17    -v,--version      Action on working copy ('status' by default)
18                 '{'YYYY-MM-DD'}'  Update to revision available at this date
19                 [0-9]*        ""   ""    ""    number
20                 HEAD|up|update      ""   "" last revision
21                 st|status      Show differences with repository
22    -w,--workdir      Installation directory for testing branches
23
24Inputs
25    -a,--archive      Forcing input files archive to extract, if void it will copy all files from given folder (see next line)
26    -f,--forcdir      Path to your personal folder of forcing inputs
27
28Testing configuration
29    -n,--new_conf     Testing   configuration folder created in ./CONFIG
30    -r,--ref_conf     Reference      " "      for trusting test
31
32Compiling & computation
33    -j,--job          Number of processes for compiling
34    -t,--time         Timeout for computation (s)
35
36Trusting output
37    -d,--debug        Verbose output for debugging purpose (`set -vx`)
38    -e,--email        Email trusting digest report to following addresses only on failure
39    -h,--help         Print this help & exit
40    -p,--prod         Production mode (append trusting logfile)
Note: See TracBrowser for help on using the repository browser.