| 13 |
C | directives set so that no multi-processing is initialised| |
C | directives set so that no multi-processing is initialised| |
| 14 |
C | This is OK and should work fine. | |
C | This is OK and should work fine. | |
| 15 |
C \==========================================================/ |
C \==========================================================/ |
| 16 |
|
IMPLICIT NONE |
| 17 |
|
|
| 18 |
C == Global variables == |
C == Global variables == |
| 19 |
#include "SIZE.h" |
#include "SIZE.h" |
| 46 |
IF ( threadIsComplete(I) ) nThreadsDone = nThreadsDone+1 |
IF ( threadIsComplete(I) ) nThreadsDone = nThreadsDone+1 |
| 47 |
ENDDO |
ENDDO |
| 48 |
IF ( nThreadsDone .LT. nThreads ) THEN |
IF ( nThreadsDone .LT. nThreads ) THEN |
| 49 |
WRITE(msgBuf,'(A,I,A,I,A)') |
WRITE(msgBuf,'(A,I5,A,I5,A)') |
| 50 |
& 'S/R EEDIE: Only ',nThreadsDone, |
& 'S/R EEDIE: Only ',nThreadsDone, |
| 51 |
& ' threads have completed, ',nThreads, |
& ' threads have completed, ',nThreads, |
| 52 |
& ' are expected for this configuration!' |
& ' are expected for this configuration!' |
| 68 |
IF ( mpiRC .NE. MPI_SUCCESS ) THEN |
IF ( mpiRC .NE. MPI_SUCCESS ) THEN |
| 69 |
eeEndError = .TRUE. |
eeEndError = .TRUE. |
| 70 |
fatalError = .TRUE. |
fatalError = .TRUE. |
| 71 |
WRITE(msgBuf,'(A,I)') |
WRITE(msgBuf,'(A,I5)') |
| 72 |
& 'S/R FIN_PROCS: MPI_FINALIZE return code', |
& 'S/R FIN_PROCS: MPI_FINALIZE return code', |
| 73 |
& mpiRC |
& mpiRC |
| 74 |
CALL PRINT_ERROR( msgBuf, 1 ) |
CALL PRINT_ERROR( msgBuf, 1 ) |