Changeset 2665 for trunk/NEMOGCM
- Timestamp:
- 2011-03-07T15:42:12+01:00 (13 years ago)
- Location:
- trunk/NEMOGCM/SETTE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/SETTE/README
r2545 r2665 1 1 usage of SETTE package: 2 2 3 principal script is sette.sh (usage: ./sette.sh) 3 principal script is sette.sh (usage: ./sette.sh) 4 4 5 5 VERY IMPORTANT : for a verbose debug do: … … 18 18 set_namelist : to set namelist values 19 19 (example : to set 75 time steps for one test : namelist nn_itend 75) 20 20 ( : to change cn_icerst_in name : namelist_ice cn_icerst_in \"test_00101231_restart_icemod.nc\") 21 21 ( : to activate control print : namelist ln_ctl \".false.\" ) 22 fcm_job.sh needs input: input_CONFIG_NAME and TOTAL NUMBER OF PROCS used 23 (for example if you compile ORCA2_LIM with nproci=2 and nprocj=2 ===> ./fcm_job input_ORCA2_LIM.cfg 4) 22 fcm_job.sh needs input: input_CONFIG_NAME TOTAL_NUMBER_OF_PROCS_used TEST_NAME 23 (for example if you compile ORCA2_LIM with nproci=2 and nprocj=2 24 and only run short test ===> ./fcm_job input_ORCA2_LIM.cfg 4 SHORT) 24 25 in param.cfg : 25 EXE_DIR : directory in which execute jobs (by default CONFIG_DIR) 26 FORCING_DIR : directory where to get input tar file 27 INPUT_DIR : directory in which store input files 28 TMPDIR : temporary directory NEEDED ONLY FOR IBM machines (put EXP00 directory) 29 OUTPUT_DIR : directory in which store output files 26 EXE_DIR : directory in which execute jobs (by default CONFIG_DIR) 27 FORCING_DIR : directory where to get input tar file 28 INPUT_DIR : directory in which store input files 29 TMPDIR : temporary directory NEEDED ONLY FOR IBM machines (put EXP00 directory) 30 OUTPUT_DIR : directory in which store output files 31 NEMO_VALIDATION_DIR : directory in which create NEMO_VALIDATION tree, and store restart and solver.stat files in 32 tree NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE) 30 33 in fcm_job.sh : 31 34 IMPORTANT : control that name of tar file in FORCING directory 32 35 is the same of that in input_REF_CONFIG.cfg, if not change one. 33 36 change in "RUN OPA" part the command line (some examples are already written) 34 37 TEST_NAME iby convention is LONG: 10 days run or SHORT: 5 days run 38 so NEMO_VALIDATION tree is coherent, 39 but user can choise a TEST_NAME that represent his own test. 35 40 36 41 NOTE: -
trunk/NEMOGCM/SETTE/fcm_job.sh
r2657 r2665 34 34 # Simple job for SET TESTS for NEMO (SETTE) 35 35 # 36 # this job creates tree of validation in NEMO_VALIDATION_DIR (choosen in param.cfg) as follows : 37 # 38 # NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE) 39 # 40 # NEMO_VALIDATION_DIR : is choosen in param.cfg 41 # 42 # WCONFIG_NAME : set by makenemo at the moment of compilation 43 # 44 # WCOMPILER_NAME : set by makenemo at the moment of compilation 45 # 46 # TEST_NAME : convention is LONG=10 days run, SHORT=5 days run 47 # 48 # REVISION_NUMBER(or DATE) : revision number by svn info, if problems with svn date is taken 36 49 # 37 50 # EXAMPLES … … 40 53 # :: 41 54 # 42 # $ ./fcm_job.sh INPUT_FILE_CONFIG_NAME 43 # 44 # run a job of config GYRE with 1 processor 45 # $ ./fcm_job.sh input_GYRE.cfg 1SHORT46 # 47 # run a job of config ORCA2_LIM_PISCES 48 # $ ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 8LONG55 # $ ./fcm_job.sh INPUT_FILE_CONFIG_NAME NUMBER_PROC TEST_NAME 56 # 57 # run a job of config GYRE with 1 processor test REPRODUCTINILITY 58 # $ ./fcm_job.sh input_GYRE.cfg 1 SHORT 59 # 60 # run a job of config ORCA2_LIM_PISCES with 8 processors test RESTARTABILITY 61 # $ ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 8 LONG 49 62 # 50 63 # -
trunk/NEMOGCM/SETTE/sette.sh
r2563 r2665 52 52 # 53 53 # Temporary directory (if needed) (TMPDIR) 54 # 55 # Output files storing (OUTPUT_DIR)54 # 55 # Validation directory (NEMO_VALIDATION_DIR) 56 56 # 57 57 # (note: this file is the same for all configrations to be tested with sette) 58 58 # 59 # all_functions.sh : loads functions used by sette (note: new functions can added here)59 # all_functions.sh : loads functions used by sette (note: new functions can be added here) 60 60 # 61 61 # set_namelist : function declared in all_functions that set namelist parameters for tests … … 63 63 # fcm_job.sh 64 64 # 65 # runs job and saves output files (ocean.output, solver.stat, grid_files, restart, ice_evolu, ftrace.out) 65 # runs job and saves output files (grid_files, restarts, ice_evolu, ftrace.out) 66 # 67 # and it creates tree of VALIDATION, in which there are restart files, solver.stat and ocean.output 68 # 69 # Tree of VALIDATION is: 70 # 71 # NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE) 66 72 # 67 # (note this job needs to have an input_CONFIG.cfg in which found tar inputfile)73 # (note this job needs to have an input_CONFIG.cfg in which can be found input tar file) 68 74 # 69 75 # (note other files can be saved adding at the end of fcm_job list of saved files) … … 71 77 # NOTE: if job is not launched for some problems you have executable ready in ${CONFIG_NAME}/EXP00 directory 72 78 # 73 # at the end the directory ${CONFIG_NAME}/EXP00/VALIDATION is created 74 # 75 # and output files, solver.stat, ocean.output are put in ${CONFIG_NAME}/EXP00/VALIDATION directory 76 # 77 # and restart files and changed namelists are leaved in ${CONFIG_NAME}/EXP00 directory 79 # NOTE: the changed namelists are leaved in ${CONFIG_NAME}/EXP00 directory 78 80 # 79 81 # in ${SETTE_DIR} is created output.sette with the echo of commands run -
trunk/NEMOGCM/SETTE/sette_beginner.sh
r2657 r2665 17 17 #+ 18 18 # 19 # ================ 20 # sette .sh21 # ================ 19 # =================== 20 # sette_beginner.sh 21 # =================== 22 22 # 23 23 # ---------------------------------------------- 24 # Set of tests for NEMO 24 # Set of tests for NEMO for beginners 25 25 # ---------------------------------------------- 26 26 # … … 30 30 # :: 31 31 # 32 # $ ./sette .sh32 # $ ./sette_beginner.sh 33 33 # 34 34 # DESCRIPTION 35 35 # =========== 36 SETTE_DIR=/Users/sflod/nuovo_sette/prova/NEMOGCM/SETTE 36 # First simple example of how to use SETTE: create GYRE_SHORT configuration, compile it with 1 proc, and test it for a SHORT test: 5days 37 #- 38 # 39 SETTE_DIR=/PATH/OF/SETTE 37 40 # Run for GYRE CONFIG 38 41 # small test to start
Note: See TracChangeset
for help on using the changeset viewer.