Changes between Version 5 and Version 6 of schwarz


Ignore:
Timestamp:
07/12/19 14:52:10 (2 years ago)
Author:
snguyen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • schwarz

    v5 v6  
    2323When you have an updated version of every `.f90` files from `MY_NEMO` in `SOURCES/NEMO` you can recompile NEMO. 
    2424 
     25Be careful before compiling that you have an additional file that is not present in the original NEMO: `schwarz.F90`. This file only needs to be copied. 
     26 
    2527You will still have to modify the NEMO namelist: `namelist_ORCA2_cfg`. 
    2628 
     
    4547Get the Schwarz LMDZ subroutines from the repository: 
    4648{{{ 
    47 svn co svn+ssh://forge/ipsl/forge/projets/cocoa/svn/SCHWARZ_IPSLCM6VLRNOP/SOURCES/ 
     49svn co svn+ssh://forge/ipsl/forge/projets/cocoa/svn/SCHWARZ_IPSLCM6VLRNOP/SOURCES/SCHWARZ_IPSLCM6VLRNOP/SOURCES/SWZ_LMDZ SWZ_LMDZ 
    4850}}} 
     51 
     52As for NEMO you have to update the `LMDZ/libf` files with those from `SWZ_LMDZ`. 
     53 
     54For each file in `SWZ_LMDZ` you get a directory which is the directory where the file is located in `LMDZ/libf`. 
     55Go there make a copy of the file: 
     56{{{ 
     57cp my_initial_file.f90 my_initial_file.f90.old 
     58}}} 
     59 
     60Use vimdiff to review the changes that need to be applied to the file `LMDZ/libf` from `SWZ_LMDZ`. 
     61 
     62Once this is over copy `schwarz.F90` in the proper directory. 
     63 
     64Compiling LMDZ should be ok. 
     65 
     66As for NEMO you will need to update  
     67