1 |
C $Header$ |
C $Header$ |
2 |
|
C $Name$ |
3 |
|
|
4 |
#include "CPP_EEOPTIONS.h" |
#include "CPP_EEOPTIONS.h" |
5 |
|
|
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" |
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!' |
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 ) |