Changes between Version 4 and Version 5 of Documentation/UserGuide/CodingGuidelines


Ignore:
Timestamp:
2020-06-02T06:44:57+02:00 (4 years ago)
Author:
bguenet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/CodingGuidelines

    v4 v5  
    3232* Be mindful of loop ordering for best memory access (performance). If the embedded loops are independent, then the first index should correspond to the most inner loop. This ensures that one accesses contiguous memory blocks during the loop, which makes it faster (example on page 17 of [attachment:ORCHIDEE_Coding_Guidelines_v1.0.pdf​ coding_guidelines.pdf]) 
    3333 
    34  * Test your modifications on several computers, as they use different fortran compilers. In the ORCHIDEE/arch directory, you find compile and debug options for different computers. Activate compile debug options for testing the code ([wiki:Documentation/UserGuide/flags howto]). 
     34 * Test your modifications on several computers, as they use different fortran compilers. In the ORCHIDEE/arch directory, you find informations on the ccompilers used by the machines.  
    3535 
     36 * You must do some test runs with the debug option activated during compilation. To activate compile debug options for testing the code some informations are summarized here([wiki:Documentation/UserGuide/flags howto]). 
     37