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

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

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

revision 1.3 by cnh, Wed Oct 28 03:11:34 1998 UTC revision 1.5 by cnh, Sun Feb 4 14:38:43 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 45  C     bug or you may need a different pa Line 47  C     bug or you may need a different pa
47         IF ( threadIsComplete(I) ) nThreadsDone = nThreadsDone+1         IF ( threadIsComplete(I) ) nThreadsDone = nThreadsDone+1
48        ENDDO        ENDDO
49        IF ( nThreadsDone .LT. nThreads ) THEN        IF ( nThreadsDone .LT. nThreads ) THEN
50         WRITE(msgBuf,'(A,I,A,I,A)')         WRITE(msgBuf,'(A,I5,A,I5,A)')
51       & 'S/R EEDIE: Only ',nThreadsDone,       & 'S/R EEDIE: Only ',nThreadsDone,
52       & ' threads have completed, ',nThreads,       & ' threads have completed, ',nThreads,
53       & ' are expected for this configuration!'       & ' are expected for this configuration!'
# Line 67  C--   ================================== Line 69  C--   ==================================
69         IF ( mpiRC .NE. MPI_SUCCESS ) THEN         IF ( mpiRC .NE. MPI_SUCCESS ) THEN
70          eeEndError = .TRUE.          eeEndError = .TRUE.
71          fatalError = .TRUE.          fatalError = .TRUE.
72          WRITE(msgBuf,'(A,I)')          WRITE(msgBuf,'(A,I5)')
73       &       'S/R FIN_PROCS: MPI_FINALIZE return code',       &       'S/R FIN_PROCS: MPI_FINALIZE return code',
74       &       mpiRC       &       mpiRC
75          CALL PRINT_ERROR( msgBuf, 1 )          CALL PRINT_ERROR( msgBuf, 1 )

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

  ViewVC Help
Powered by ViewVC 1.1.22