Changes between Version 1 and Version 2 of Documentation/UserGuide/ParallelCoding


Ignore:
Timestamp:
2012-12-11T13:54:13+01:00 (11 years ago)
Author:
dsolyga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/ParallelCoding

    v1 v2  
    3636 
    3737Since december 2012, OpenMP has been included into ORCHIDEE. To code with OpenMP, follow the instructions : 
    38  * 1. Use histwrite_p instead of histwrite 
    39  * 2. Use ioconf_setatt_p instead of ioconf_setatt 
    40  * 3. For the variables with SAVE attribute, you have to add a declaration !$OMP THREADPRIVATE(name_var). Follow the example : 
     38 * 1. Use histwrite_p instead of histwrite. 
     39 * 2. Use ioconf_setatt_p instead of ioconf_setatt. 
     40 * 3. Use ipslerr_p instead of ipslerr. 
     41 * 4. For the variables with SAVE attribute, you have to add a declaration !$OMP THREADPRIVATE(name_var). Follow the example : 
    4142{{{ 
    4243  REAL(r_std),ALLOCATABLE,SAVE,DIMENSION(:,:,:)  :: biomass              !! Biomass per ground area @tex $(gC m^{-2})$ @endtex