Changes between Initial Version and Version 1 of Ticket #198


Ignore:
Timestamp:
08/12/08 01:47:00 (16 years ago)
Author:
arango
Comment:

Yes, I screw-up. I changed the order of the CPP conditional. I need to test on #ifdef _OPENMP for the special statements and rest goes to the #else conditional. That is, the distributed-memory and serial (with or whithout partitions) applications. There is some trickery here.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #198

    • Property ResolutionFixed
    • Property Status newclosed
  • Ticket #198 – Description

    initial v1  
    1 The changes made in response to ticket #195 (OpenMP undeclared variables) appear to have broken the initialisation process in serial mode.
     1The changes made in response to src:ticket:195 (OpenMP undeclared variables) appear to have broken the initialisation process in serial mode.
    22
    3 Specifically, if I run BENCHMARK in serial mode with bounds-checking enabled, Lm=512, Mm=64 (the smallest benchmark domain), NTileI=1, NtileJ=4, I hit a bounds-checking error in LMD_SWFRAC_TILE, where some elements of MIXING(ng)%Jwtype are equal to zero and are used as indices into an array dimensioned 1:5. Going back to the place where these should be set, namely INITIALIZE_MIXING in mod_mixing.F, it appears that this is called only once, and sets only the values in the southernmost tile.
     3Specifically, if I run '''BENCHMARK''' in serial mode with bounds-checking enabled, '''Lm=512''', '''Mm=64''' (the smallest benchmark domain), '''NTileI=1''', '''NtileJ=4''', I hit a bounds-checking error in '''LMD_SWFRAC_TILE''', where some elements of '''MIXING(ng)%Jwtype''' are equal to zero and are used as indices into an array dimensioned 1:5. Going back to the place where these should be set, namely '''INITIALIZE_MIXING''' in '''mod_mixing.F''', it appears that this is called only once, and sets only the values in the southernmost tile.
    44
    5 The BENCHMARK application now runs OK in OpenMP mode.
     5The '''BENCHMARK''' application now runs OK in OpenMP mode.