/[MITgcm]/MITgcm/eesupp/inc/GLOBAL_MAX.h
ViewVC logotype

Contents of /MITgcm/eesupp/inc/GLOBAL_MAX.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Sat Mar 27 03:51:50 2004 UTC (20 years, 8 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57m_post, checkpoint57g_pre, checkpoint57s_post, checkpoint58b_post, checkpoint57b_post, checkpoint57g_post, checkpoint56b_post, checkpoint57y_post, checkpoint54d_post, checkpoint54e_post, checkpoint57r_post, checkpoint57d_post, checkpoint57i_post, checkpoint59, checkpoint58, checkpoint55, checkpoint54, checkpoint57, checkpoint56, checkpoint53, checkpoint58f_post, checkpoint57n_post, checkpoint58d_post, checkpoint58a_post, checkpoint57z_post, checkpoint54f_post, checkpoint58y_post, checkpoint58t_post, checkpoint55i_post, checkpoint58m_post, checkpoint57l_post, checkpoint57t_post, checkpoint55c_post, checkpoint57v_post, checkpoint57f_post, checkpoint53d_post, checkpoint60, checkpoint61, checkpoint57a_post, checkpoint57h_pre, checkpoint54b_post, checkpoint58w_post, checkpoint57h_post, checkpoint52m_post, checkpoint57y_pre, checkpoint55g_post, checkpoint58o_post, checkpoint57c_post, checkpoint58p_post, checkpoint58q_post, checkpoint55d_post, checkpoint58e_post, mitgcm_mapl_00, checkpoint54a_pre, checkpoint53c_post, checkpoint55d_pre, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint54a_post, checkpoint55h_post, checkpoint58n_post, checkpoint57e_post, checkpoint55b_post, checkpoint53a_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint53g_post, checkpoint57p_post, checkpint57u_post, checkpoint57q_post, eckpoint57e_pre, checkpoint58k_post, checkpoint58v_post, checkpoint56a_post, checkpoint58l_post, checkpoint53f_post, checkpoint57h_done, checkpoint57j_post, checkpoint57f_pre, checkpoint61f, checkpoint58g_post, checkpoint58x_post, checkpoint61n, checkpoint52n_post, checkpoint53b_pre, checkpoint59j, checkpoint58h_post, checkpoint56c_post, checkpoint58j_post, checkpoint57a_pre, checkpoint55a_post, checkpoint57o_post, checkpoint57k_post, checkpoint53b_post, checkpoint57w_post, checkpoint61e, checkpoint58i_post, checkpoint57x_post, checkpoint58c_post, checkpoint58u_post, checkpoint53d_pre, checkpoint58s_post, checkpoint55e_post, checkpoint61g, checkpoint61d, checkpoint54c_post, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i
Changes since 1.3: +2 -2 lines
File MIME type: text/plain
 o cleanup comments (NO CODE CHANGES) in eesupp for protex
 o the "api reference" framework now builds documentation for:
     eesupp, pkg/generic_advdiff, and pkg/gmredi
 o remove mnc from the default gfd in pkg_groups pending
     further testing on systems where NetCDF is not installed

1 C $Header: /u/gcmpack/MITgcm/eesupp/inc/GLOBAL_MAX.h,v 1.3 2001/09/21 03:54:35 cnh Exp $
2 C $Name: $
3 CBOP
4 C !ROUTINE: GLOBAL_MAX.h
5 C !INTERFACE:
6 C include "GLOBAL_MAX.h"
7 C !DESCRIPTION:
8 C *==========================================================*
9 C | GLOBAL\_MAX.h
10 C | o Globals used by Fortran global max routine.
11 C *==========================================================*
12 C | The global max shared memory scheme uses global heap data
13 C | structures (.i.e COMMON blocks ). Each thread writes to
14 C | an its own element of the shared memory array and then
15 C | one thread reads all the entries and maxs them. The max
16 C | result is then read by all threads.
17 C | Remember - you are working with regions of memory that
18 C | are being updated concurrently by different threads.
19 C | What happens, when it happens and who gets to see what
20 C | happens at what stage depends on the computer systems
21 C | memory model. Every computer has a different memory model
22 C | and they are never simple. In all current platforms it is
23 C | possible for one thread to see events happening in a
24 C | different order from the order they are written in the
25 C | code.
26 C | Unless you understand this it is not a good idea to
27 C | make modifications te way these header files are setup or
28 C | the way the global sum routines work.
29 C *==========================================================*
30 CEOP
31 COMMON / GMAX_COMMON_R8 / phiGMRL
32 Real*8 phiGMRL(lShare8, MAX_NO_THREADS )
33
34 COMMON / GMAX_COMMON_R4 / phiGMRS
35 Real*4 phiGMRS(lShare4, MAX_NO_THREADS )
36
37 COMMON / GMAX_COMMON_I / phiGMI
38 INTEGER phiGMI (lShare4, MAX_NO_THREADS )

  ViewVC Help
Powered by ViewVC 1.1.22