Changes between Version 3 and Version 4 of Ticket #552
- Timestamp:
- 05/13/12 02:14:05 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #552 – Description
v3 v4 46 46 That is, we do a special exception for distribute-memory cases. This change is necessary in your customized versions of '''ana_grid.h''' and '''ana_psource.h'''. 47 47 48 * Notice that we no longer use the '''TILE''' (uppercase) as argument to the kernel routines. We use '''tile''' (lowercase) instead. This was important in previous versions of distributed-memory code where '''TILE''' was replaced with '''!MyRank''' during C-preprocessing. Be careful with this one...48 * Notice that we no longer use the '''TILE''' (uppercase) as argument to the kernel routines. We use '''tile''' (lowercase) instead. This was important in previous versions of the distributed-memory code where '''TILE''' was replaced with '''!MyRank''' during C-preprocessing. Be careful with this one... 49 49 50 * Notice that few important variables of ROMS in '''mod_scalars.F''' and '''mod_stepping.F''' use the '''THREADPRIVATE''' directive in shared-memoryso all the parallel threads have a private copy of such variables to avoid parallel collisions.50 * Notice that few important variables in '''mod_scalars.F''' and '''mod_stepping.F''' use the '''THREADPRIVATE''' directive in shared-memory applications so all the parallel threads have a private copy of such variables to avoid parallel collisions. 51 51 52 52 * Two new variables ('''first_tile(ng)''' and '''last_tile(ng)''') are introduced to specify the tile range in each parallel region: … … 57 57 !$OMP THREADPRIVATE (first_tile, last_tile) 58 58 }}} 59 These variables are s pecifiedduring the initialization of ROMS kernel using:59 These variables are set during the initialization of ROMS kernel using: 60 60 {{{ 61 61 !$OMP PARALLEL