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.
user/ctlod/NVTKpage (diff) – NEMO

Changes between Version 9 and Version 10 of user/ctlod/NVTKpage


Ignore:
Timestamp:
2008-06-26T17:36:48+02:00 (16 years ago)
Author:
ctlod
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • user/ctlod/NVTKpage

    v9 v10  
    1414B. Compilation, job submission and assessment report 
    1515 
    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]] 
     16The 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]] 
    1717 
    1818 
     
    2020[[BR]] 
    2121'''''a.  Downloading'''''[[BR]] 
    22 1. Download the modipsl architecture and the latest NEMO code under the TEST directory. [[BR]] 
     221. Download the modipsl architecture under the TEST directory. [[BR]] 
    2323{{{ 
    2424> mkdir TEST 
    2525> 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 
    2927}}} 
    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]] 
    3628 
    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]] 
     292. Download NEMO code, NVTK and reference configurations from the NEMO SVN trunk[[BR]] 
    4630 
    4731{{{ 
    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 ) 
    4934}}} 
    5035 
    5136 
    52 2. For MAC users only[[BR]] 
    53 In the ./modipsl/util/AA_make.gdef:[[BR]] 
     373. For MAC users only[[BR]] 
     38In the TEST/modipsl/util/AA_make.gdef:[[BR]] 
    5439* Set the good directory pathnames for NetCDF library through NCDF_INC and NCDF_LIB variables[[BR]] 
    5540* Eventually change the compilator name if other than "xlf"[[BR]] 
     
    6853 
    6954'''''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]] 
     55User has to fill following variables in the ins_nvtk.ksh script header under the TEST/modipsl/config/NVTK/INSTALL/ directory:[[BR]] 
    7156 
    7257{{{ 
    73 > cd config/NVTK/INSTALL 
     58> cd TEST/modipsl/config/NVTK/INSTALL 
    7459> vi ins_nvtk.ksh 
    7560}}} 
     
    9580##########################################################[[BR]] 
    9681 
    97 1. Once the ins_nvtk.ksh header is changed, go under NVTK/INSTALL directory and launch the script.[[BR]] 
     821. Once the ins_nvtk.ksh header is changed, check you are under TEST/modipsl/config/NVTK/INSTALL directory and launch the script.[[BR]] 
    9883 
    9984{{{ 
    100 > cd  NVTK/INSTALL 
    10185> ./ins_nvtk.ksh 
    10286}}} 
     
    10589 
    10690{{{ 
    107 > cd  ./config/CONFIG_NAME/MY_SRC/ 
     91> cd  TEST/modipsl/config/CONFIG_NAME/MY_SRC/ 
    10892> vi par_oce.F90_keep 
    10993}}} 
     
    119103This could be performed in using just one command as just below or in managing each step separately “by hand” (see documentation).[[BR]] 
    120104 
    121 1. store modified modules (to test) under ./modipsl/config/NVTK/2TEST[[BR]] 
     1051. store modified modules (to test) under TEST/modipsl/config/NVTK/2TEST[[BR]] 
    122106 
    123 2. set the following 7 variables in the ./modipsl/config/NVTK/Makefile file:[[BR]] 
     1072. set the following 7 variables in the TEST/modipsl/config/NVTK/Makefile file:[[BR]] 
    124108 
    125109{{{ 
    126 > cd ./config/NVTK 
     110> cd TEST/modipsl/config/NVTK 
    127111> vi Makefile 
    128112}}} 
     
    136120* '''REF_TAGV:''' (optional) reference tag version to which compare results[[BR]] 
    137121 
    138 3. launch the whole process (compilation, jobs submission & assessment report) using gmake command from ./modipsl/config/NVTK/2TEST[[BR]] 
     1223. launch the whole process (compilation, jobs submission & assessment report) using gmake command from TEST/modipsl/config/NVTK[[BR]] 
    139123 
    140124{{{ 
    141 > cd ./config/NVTK/ 
    142125> gmake 
    143126}}} 
     
    146129'''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” 
    147130 
    148 == C - Paper documentation == 
     131== C - NVTK package alone == 
     132 
     133If 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 == 
    149142 
    150143[[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.