Changeset 12675 for NEMO/branches/UKMO/NEMO_4.0.1_icesheet_and_river_coupling/src/OCE/SBC/cpl_oasis3.F90
- Timestamp:
- 2020-04-03T18:00:43+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0.1_icesheet_and_river_coupling/src/OCE/SBC/cpl_oasis3.F90
r12580 r12675 33 33 USE in_out_manager ! I/O manager 34 34 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 35 USE lib_mpp 35 36 36 37 IMPLICIT NONE … … 52 53 PUBLIC cpl_finalize 53 54 55 #if defined key_mpp_mpi 56 INCLUDE 'mpif.h' 57 #endif 58 59 INTEGER, PARAMETER :: localRoot = 0 54 60 INTEGER, PUBLIC :: OASIS_Rcv = 1 !: return code if received field 55 61 INTEGER, PUBLIC :: OASIS_idle = 0 !: return code if nothing done by oasis … … 115 121 CHARACTER(len = *), INTENT(in ) :: cd_modname ! model name as set in namcouple file 116 122 INTEGER , INTENT( out) :: kl_comm ! local communicator of the model 123 INTEGER :: error 117 124 !!-------------------------------------------------------------------- 118 125 … … 627 634 WRITE(numout,*) ' - Start of data is ', pdata(1:number_to_print) 628 635 WRITE(numout,*) '****************' 629 IF(lflush) CALL flush(numout)630 636 ENDIF 631 637 … … 635 641 636 642 ENDDO 637 643 644 #if defined key_mpp_mpi 638 645 ! Set the precision that we want to broadcast using MPI_BCAST 639 646 SELECT CASE( wp ) … … 651 658 ! to deal with that w/o NEMO adopting a UM-style test mechanism 652 659 ! to determine active put/get timesteps. 653 CALL mpi_bcast( pdata, nitems, MPI_WORKING_PRECISION, localRoot, mpi_comm_opa, ierr ) 660 CALL mpi_bcast( pdata, nitems, MPI_WORKING_PRECISION, localRoot, mpi_comm_oce, ierr ) 661 #else 662 CALL oasis_abort( ncomp_id, "cpl_rcv_1d", "Unable to use mpi_bcast without key_mpp_mpi present. Please add key_mpp_mpi to your list of NEMO keys." ) 663 #endif 654 664 655 665 !
Note: See TracChangeset
for help on using the changeset viewer.