Opened 8 years ago

Closed 7 years ago

#120 closed defect (fixed)

Array adressing issues discovered by pgf90 and gfortran

Reported by: jpolcher Owned by: jgipsl
Priority: major Milestone:
Component: Anthropogenic processes Version:
Keywords: Cc:


While implementing ORCHIDEE on Climserv with PGF90 and Gfortran both compilers identified 2 issues in the chosen configuration (an area around the Mediterranean with a 0.75 resolution).

1) When the irrigation scheme needs to search neighbouring grids in order to find water some times it its outside the simulated area.

2) in subroutine routing_irrigmap nbpmax was underestimated. Furthermore the local version of sub_area could be confused by the reader with the global variable. So the local one was renamed irrsub_area.

With these 2 modification the code runs using the 2 compilers.

Attachments (1)

routing.f90 (350.3 KB) - added by jpolcher 8 years ago.
Modified version of routing.f90

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by jpolcher

Modified version of routing.f90

comment:1 Changed 7 years ago by nvuilsce

  • Owner changed from somebody to jgipsl
  • Status changed from new to assigned

comment:2 Changed 7 years ago by jgipsl

  • Resolution set to fixed
  • Status changed from assigned to closed

Note: routing.f90 attached correspond to revision 1091 of ORCHIDEE/trunk.

Done in rev [1323] and [2438]

Note: See TracTickets for help on using tickets.