/[MITgcm]/MITgcm/eesupp/src/eeboot.F
ViewVC logotype

Diff of /MITgcm/eesupp/src/eeboot.F

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

revision 1.3 by cnh, Thu Apr 23 20:56:54 1998 UTC revision 1.9 by cnh, Sun Feb 4 14:38:42 2001 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2    C $Name$
3    
4  #include "CPP_EEOPTIONS.h"  #include "CPP_EEOPTIONS.h"
5    
# Line 13  C     | Note: This routine can also be c Line 14  C     | Note: This routine can also be c
14  C     | directives set so that no multi-processing is initialised|  C     | directives set so that no multi-processing is initialised|
15  C     | This is OK and should work fine.                         |  C     | This is OK and should work fine.                         |
16  C     \==========================================================/  C     \==========================================================/
17          IMPLICIT NONE
18    
19  C     == Global variables ==  C     == Global variables ==
20  #include "SIZE.h"  #include "SIZE.h"
# Line 21  C     == Global variables == Line 23  C     == Global variables ==
23  CEndOfInterface  CEndOfInterface
24    
25  C     == Local variables ==  C     == Local variables ==
 C     msgBuf - Variable for building informational messages  
26  C     I - Loop counter  C     I - Loop counter
27        INTEGER I        INTEGER I
       CHARACTER*(MAX_LEN_MBUF) msgBuf  
28    
29  C--   Set error reporting flags and I/O streams  C--   Set error reporting flags and I/O streams
30  C     fatalError is a flag used to indicate that the program  C     fatalError is a flag used to indicate that the program
# Line 56  C                     the threads are ru Line 56  C                     the threads are ru
56         allMyEdgesAreSharedMemory(I) = .TRUE.         allMyEdgesAreSharedMemory(I) = .TRUE.
57         threadIsRunning(I)           = .FALSE.         threadIsRunning(I)           = .FALSE.
58         threadIsComplete(I)          = .FALSE.         threadIsComplete(I)          = .FALSE.
59           ioErrorCount(I)              = 0
60        ENDDO        ENDDO
61        scrUnit1      = 11        scrUnit1      = 11
62        scrUnit2      = 12        scrUnit2      = 12
# Line 101  C     o Do other miscellaneous multi-pro Line 102  C     o Do other miscellaneous multi-pro
102  C       example under MPI we create datatypes for communication  C       example under MPI we create datatypes for communication
103  C       of array edges.  C       of array edges.
104        CALL INI_PROCS        CALL INI_PROCS
105    #ifdef LETS_MAKE_JAM
106          CALL INI_JAM
107    #endif
108        IF ( eeBootError ) GOTO 999        IF ( eeBootError ) GOTO 999
109    
110  C--   Initialise variables to support "nThreads" of computation.  C--   Initialise variables to support "nThreads" of computation.
# Line 108  C     o Note the program is still runnin Line 112  C     o Note the program is still runnin
112  C       execution at this stage.  C       execution at this stage.
113        CALL INI_THREADING_ENVIRONMENT        CALL INI_THREADING_ENVIRONMENT
114        IF ( eeBootError ) GOTO 999        IF ( eeBootError ) GOTO 999
115    
116    #ifdef USE_DFILE
117    C--   Initiialise the multi-process IO package
118          CALL DFILE_INIT
119    #endif
120    
121    999 CONTINUE    999 CONTINUE
122        RETURN        RETURN

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22