Changes between Version 1 and Version 2 of Documentation/UserGuide/ParallelCoding
- Timestamp:
- 2012-12-11T13:54:13+01:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/ParallelCoding
v1 v2 36 36 37 37 Since 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 : 41 42 {{{ 42 43 REAL(r_std),ALLOCATABLE,SAVE,DIMENSION(:,:,:) :: biomass !! Biomass per ground area @tex $(gC m^{-2})$ @endtex