166 |
& CALL PACKAGES_ERROR_MSG('DOWN_SLOPE',' ',myThid) |
& CALL PACKAGES_ERROR_MSG('DOWN_SLOPE',' ',myThid) |
167 |
#endif |
#endif |
168 |
|
|
169 |
|
#ifdef ALLOW_BBL |
170 |
|
IF (useBBL) CALL BBL_CHECK( myThid ) |
171 |
|
#else |
172 |
|
IF (useBBL) CALL PACKAGES_ERROR_MSG('BBL',' ',myThid) |
173 |
|
#endif |
174 |
|
|
175 |
#ifdef ALLOW_OBCS |
#ifdef ALLOW_OBCS |
176 |
IF (useOBCS) CALL OBCS_CHECK( myThid ) |
IF (useOBCS) CALL OBCS_CHECK( myThid ) |
177 |
#else |
#else |
376 |
CALL PRINT_ERROR( msgBuf , myThid ) |
CALL PRINT_ERROR( msgBuf , myThid ) |
377 |
WRITE(msgBuf,'(2A)') 'PACKAGES_CHECK: ', |
WRITE(msgBuf,'(2A)') 'PACKAGES_CHECK: ', |
378 |
& ' but cannot be used together => need to select only one.' |
& ' but cannot be used together => need to select only one.' |
379 |
|
CALL PRINT_ERROR( msgBuf , myThid ) |
380 |
|
STOP 'ABNORMAL END: S/R PACKAGES_CHECK' |
381 |
|
ENDIF |
382 |
|
|
383 |
|
C--- Exclusive packages (which cannot be used together): |
384 |
|
IF ( useDOWN_SLOPE .AND. useBBL ) THEN |
385 |
|
WRITE(msgBuf,'(2A)') 'PACKAGES_CHECK: ', |
386 |
|
& 'both useDOWN_SLOPE and useBBL are set' |
387 |
|
CALL PRINT_ERROR( msgBuf , myThid ) |
388 |
|
WRITE(msgBuf,'(2A)') 'PACKAGES_CHECK: ', |
389 |
|
& ' but cannot be used together => need to select only one.' |
390 |
CALL PRINT_ERROR( msgBuf , myThid ) |
CALL PRINT_ERROR( msgBuf , myThid ) |
391 |
STOP 'ABNORMAL END: S/R PACKAGES_CHECK' |
STOP 'ABNORMAL END: S/R PACKAGES_CHECK' |
392 |
ENDIF |
ENDIF |