Changes between Version 9 and Version 10 of user/ctlod/NVTKpage
- Timestamp:
- 2008-06-26T17:36:48+02:00 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
user/ctlod/NVTKpage
v9 v10 14 14 B. Compilation, job submission and assessment report 15 15 16 The user has to refer to the associated documentation to get details about the general organisation and scripts. Here we suppose the platform used is either the NEC-SX8 either the IBM-SP4 from the French computing center IDRIS, else the user will have to adapt some scripts (following instructions in part II-d Add a new target ?) once the NVTK environment will be downloaded. [[BR]]16 The user has to refer to the associated documentation to get details about the general organisation and scripts. Here we suppose the platform used is either the NEC-SX8 either the IBM-SP4 from the French computing center IDRIS, else the user will have to adapt some scripts (following instructions in part II-d Add a new target ?) once the NVTK environment will be downloaded. Furthermore it is also assumed that the code management environement is ''modipsl''.[[BR]] 17 17 18 18 … … 20 20 [[BR]] 21 21 '''''a. Downloading'''''[[BR]] 22 1. Download the modipsl architecture and the latest NEMO codeunder the TEST directory. [[BR]]22 1. Download the modipsl architecture under the TEST directory. [[BR]] 23 23 {{{ 24 24 > mkdir TEST 25 25 > cd TEST 26 > svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl (download the modipsl structure) 27 > cd modipsl/util 28 > vi mod.def 26 > svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl 29 27 }}} 30 Change following lines:[[BR]]31 #-C- NEMO tags/nemo_v2_3/AGRIF HEAD 7 . modeles[[BR]]32 #-C- NEMO tags/nemo_v2_3/NEMO HEAD 7 . modeles[[BR]]33 #-C- NEMO tags/nemo_v2_3/UTIL HEAD 7 . modeles[[BR]]34 #-C- NEMO tags/nemo_v2_3/CONFIG/GYRE HEAD 7 GYRE config[[BR]]35 #-C- NEMO tags/nemo_v2_3/CONFIG/ORCA2_LIM HEAD 7 ORCA2_LIM config[[BR]]36 28 37 into [[BR]] 38 39 #-C- NEMO '''trunk'''/AGRIF HEAD 7 . modeles[[BR]] 40 #-C- NEMO '''trunk'''/NEMO HEAD 7 . modeles[[BR]] 41 #-C- NEMO '''trunk'''/UTIL HEAD 7 . modeles[[BR]] 42 #-C- NEMO '''trunk'''/NVTK HEAD 7 . config[[BR]] 43 #-C- NEMO '''trunk'''/CONFIG/GYRE HEAD 7 GYRE config[[BR]] 44 '''#-C- NEMO trunk/CONFIG/GYRE_LOBSTER HEAD 7 GYRE_LOBSTER config'''[[BR]] 45 #-C- NEMO '''trunk'''/CONFIG/ORCA2_LIM HEAD 7 ORCA2_LIM config[[BR]] 29 2. Download NEMO code, NVTK and reference configurations from the NEMO SVN trunk[[BR]] 46 30 47 31 {{{ 48 > ./model NEMO (download the trunk of NEMO code as NVTK package ) 32 > cd TEST/modipsl/util 33 > ./model NEMO_DEV (download the trunk of NEMO code as NVTK package ) 49 34 }}} 50 35 51 36 52 2. For MAC users only[[BR]]53 In the ./modipsl/util/AA_make.gdef:[[BR]]37 3. For MAC users only[[BR]] 38 In the TEST/modipsl/util/AA_make.gdef:[[BR]] 54 39 * Set the good directory pathnames for NetCDF library through NCDF_INC and NCDF_LIB variables[[BR]] 55 40 * Eventually change the compilator name if other than "xlf"[[BR]] … … 68 53 69 54 '''''b. Installing'''''[[BR]] 70 User has to fill following variables in the ins_nvtk.ksh script header under the ./modipsl/config/NVTK/INSTALL/ directory:[[BR]]55 User has to fill following variables in the ins_nvtk.ksh script header under the TEST/modipsl/config/NVTK/INSTALL/ directory:[[BR]] 71 56 72 57 {{{ 73 > cd config/NVTK/INSTALL58 > cd TEST/modipsl/config/NVTK/INSTALL 74 59 > vi ins_nvtk.ksh 75 60 }}} … … 95 80 ##########################################################[[BR]] 96 81 97 1. Once the ins_nvtk.ksh header is changed, go underNVTK/INSTALL directory and launch the script.[[BR]]82 1. Once the ins_nvtk.ksh header is changed, check you are under TEST/modipsl/config/NVTK/INSTALL directory and launch the script.[[BR]] 98 83 99 84 {{{ 100 > cd NVTK/INSTALL101 85 > ./ins_nvtk.ksh 102 86 }}} … … 105 89 106 90 {{{ 107 > cd ./config/CONFIG_NAME/MY_SRC/91 > cd TEST/modipsl/config/CONFIG_NAME/MY_SRC/ 108 92 > vi par_oce.F90_keep 109 93 }}} … … 119 103 This could be performed in using just one command as just below or in managing each step separately “by hand” (see documentation).[[BR]] 120 104 121 1. store modified modules (to test) under ./modipsl/config/NVTK/2TEST[[BR]]105 1. store modified modules (to test) under TEST/modipsl/config/NVTK/2TEST[[BR]] 122 106 123 2. set the following 7 variables in the ./modipsl/config/NVTK/Makefile file:[[BR]]107 2. set the following 7 variables in the TEST/modipsl/config/NVTK/Makefile file:[[BR]] 124 108 125 109 {{{ 126 > cd ./config/NVTK110 > cd TEST/modipsl/config/NVTK 127 111 > vi Makefile 128 112 }}} … … 136 120 * '''REF_TAGV:''' (optional) reference tag version to which compare results[[BR]] 137 121 138 3. launch the whole process (compilation, jobs submission & assessment report) using gmake command from ./modipsl/config/NVTK/2TEST[[BR]]122 3. launch the whole process (compilation, jobs submission & assessment report) using gmake command from TEST/modipsl/config/NVTK[[BR]] 139 123 140 124 {{{ 141 > cd ./config/NVTK/142 125 > gmake 143 126 }}} … … 146 129 '''Note''': since this environment has been built to use UNIX multi-process possibilities, it is possible to speed-up the compilation in using the gmake option -j :“gmake -j number_of_configurations_to_compile” 147 130 148 == C - Paper documentation == 131 == C - NVTK package alone == 132 133 If you just want to donwnload NVTK alone, use the following svn command: 134 135 {{{ 136 > svn co --username nemo_user http://forge.ipsl.jussieu.fr/nemo/svn/trunk/NVTK 137 }}} 138 139 140 141 == D - Paper documentation == 149 142 150 143 [[Color(white,red,'''CAUTION:''' )]] The version v1.1 just below is not yet updated with the new organization of NVTK from 25/06/2008. It will be in coming weeks.