Changes between Version 38 and Version 39 of DocGmonitor


Ignore:
Timestamp:
05/20/19 10:31:43 (4 months ago)
Author:
omamce
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DocGmonitor

    v38 v39  
    490490}}} 
    491491 * Submit `create_se.job` in batch mode 
     492 
     493# Optimization with Lucia # 
     494 
     495IPSLCM coupled model runs three executables (atmospehre, ocean and IO server) that use three separate sets of computing cores. The number of cores attributed to each one should be choose such as the execution times of each executable are as close as possible, to reduce the waiting time. 
     496 
     497LUCIA is a tool implemented in OASIS that measure execution and waiting times of each executable, and helps to tune the number of execution cores for each model. 
     498 
     499## LUCIA documentation ## 
     500http://www.cerfacs.fr/oa4web/papers_oasis/lucia_documentation.pdf 
     501 
     502## Using LUCIA ## 
     503 
     504First install and run a coupled model. Then performs some modifications. 
     505 
     506### Get a version of OASIS with LUCIA ### 
     507 
     508{{{ 
     509cd modipsl : mv oasis-mct oasis-mct_orig 
     510cp -rf /ccc/cont003/home/igcmg/igcmg/Tools/oasis3-mct_lucia oasis3-mct 
     511cd config/IPSLCM6 ; gmake clean ; gmake 
     512}}} 
     513 
     514### Update DRIVER/oasis.driver (example for Irene) ### 
     515 
     516{{{ 
     517Index: oasis.driver 
     518=================================================================== 
     519--- oasis.driver        (revision 3545) 
     520+++ oasis.driver        (working copy) 
     521@@ -117,6 +117,7 @@ 
     522     #   To be changed 
     523     #   On Curie 
     524     #   /ccc/scratch/cont003/dsm/p86caub/LUCIA/lucia 
     525+     /ccc/cont003/home/igcmg/igcmg/Tools/irene/lucia/lucia 
     526     #   On Ada 
     527     #   /linkhome/rech/psl/rpsl035/LUCIA/lucia 
     528     fi 
     529}}} 
     530 
     531### Update COMP/oasis.card ### 
     532 
     533{{{ 
     534Index: oasis.card 
     535=================================================================== 
     536--- oasis.card  (revision 3545) 
     537+++ oasis.card  (working copy) 
     538@@ -4,7 +4,7 @@ 
     539[UserChoices] 
     540OutputMode=n 
     541FreqCoupling=5400 
     542-Lucia=n 
     543+Lucia=y 
     544}}} 
     545 
     546### Run the model ### 
     547 
     548#### Script_Output will contains some additionnal information #### 
     549{{{ 
     550  Component -           Computation -       Waiting time (s) - done on tstep nb 
     551 
     552  LMDZ          1385.77 ( +/-   6.69 )            7.58 ( +/- 6.14 )  362 
     553  oceanx        1319.37 ( +/-  18.68 )           85.41 ( +/- 18.70 )  362 
     554  xios.x           0.00 ( +/-   0.00 )            0.00 ( +/- 0.00 )    0 
     555 
     556  New analysis 
     557 
     558  Component -         Calculations   -     Waiting time (s) - done on tstep nb: 
     559 
     560  LMDZ                     1379.55                  6.45       362 
     561  oceanx                   1300.79                 85.21     362 
     562  xios.x                      0.00 0.00            0 
     563}}} 
     564 
     565 
     566### LUCIA will also procuce a graphic that you will find in : ### 
     567 
     568{{{ 
     569IGCM_OUT/${TagName}/${SpaceName}/${ExperimentName}/${JobName}/CPL/Debug/${JobName}_*******_oasis_balance.eps 
     570}}} 
     571