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.
2011WP/2011Stream2/DynamicMemory_improvments (diff) – NEMO

Changes between Version 1 and Version 2 of 2011WP/2011Stream2/DynamicMemory_improvments


Ignore:
Timestamp:
2011-03-04T11:30:29+01:00 (12 years ago)
Author:
gm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2011WP/2011Stream2/DynamicMemory_improvments

    v1 v2  
    1010 
    1111== CPP key  == 
    12 [[BR]] 
    13  
    1412At the origin, the CPP key where defined to minimize the memory requirement of the code. 
    1513 
     
    2119 
    2220== avt versus avs == 
    23 [[BR]] 
    2421For the key_zdfddm, its suppression can be done in a more clever way, defining avs one for all as a pointer and either pointing on avt is not ddm physics, or pointing to an avs2D arrays that is allocated is ddm is used 
    2522 
     
    2724 
    2825== memory requirement in terms of workspace arrays == 
    29 [[BR]] 
    3026The now-aday demand in terms of number of 2D 3D and 4D arrays  should be checked and minimised as much as possible. 
    3127In particular, a given low number of wrk3D and wrk4D arrays should be allocated and in the module that require more arrays, 
     
    3329 
    3430---- 
     31 
     32== creation of a key_uncheck_wrk_array ==  
     33 wrk_in_use and wrk_not_released simply return .FALSE. when this key is defined 
     34This should be useful to speed up production runs 
     35 
     36---- 
     37 
     38== wrk array size check == 
     39when a huge number of tracer is used (jptra> jpk) the model simply stop. This should be problematic with BFM for example... 
     40Another solution should be found... 
     41  
     42----