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 7 and Version 8 of 2011WP/2011Stream2/DynamicMemory_improvments


Ignore:
Timestamp:
2011-03-05T09:30:59+01:00 (12 years ago)
Author:
gm
Comment:

--

Legend:

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

    v7 v8  
    3030---- 
    3131 
    32 == creation of a key_uncheck_wrk_array ==  
     32== creation of a key_no_workspace_check ==  
    3333 wrk_in_use and wrk_not_released simply return .FALSE. when this key is defined 
    34 This should be useful to speed up production runs 
     34This should be useful to speed up production runs. 
     35 
     36In addition, a inlining compilation option can be added or documented. 
     37 
    3538 
    3639---- 
     
    5255---- 
    5356 
    54 == gfortran spec == 
     57== Portability issues:  gfortran spec == 
    5558 
    5659gfortran doesn't compile when defining allocation function like this 
     
    6568A solution should be to write the function in that way 
    6669{{{ 
    67    INTEGER FUNCTION work_alloc() 
     70   FUNCTION work_alloc() 
    6871      INTEGER :: ierr 
    6972      ALLOCATE( data(jpi,jpj,jpk),  STAT=ierr )