Changes between Initial Version and Version 1 of Ticket #486


Ignore:
Timestamp:
01/25/11 19:59:43 (13 years ago)
Author:
arango
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #486

    • Property ResolutionDone
    • Property Status newclosed
  • Ticket #486 – Description

    initial v1  
    3636It turns out that computing this simple global diagnostic is very tricky in parallel applications. It required some thinking to do this in shared-memory and serial with partitions. The issue here is that we are computing something equivalent to the intrinsic F90 function '''MAXLOC'''.  As such, we need to get the '''(i,j,k)''' indices of the first occurrence of the maximum value of '''C''' and its qualifiers '''Cu''', '''Cv''', '''Cw''', and '''(i,j,k)'''. It took some serious debugging to get identical values for this new information in serial, serial with partitions, shared-memory, and distributed-memory. Many thanks to Sasha Shchepetkin for his suggestions to compute this.
    3737
    38 The final tick to achieve this in shared-memory was to have the following code inside the critical global reduction block:
     38The final tick to achieve this in shared-memory was to have the following code inside the critical global reduction block in '''diag.F''':
    3939
    4040{{{