Changeset 9383 for branches/UKMO/test_moci_test_suite_namelist_read/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90
- Timestamp:
- 2018-03-08T10:22:55+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/test_moci_test_suite_namelist_read/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90
r8243 r9383 90 90 INTERFACE mpp_bcast 91 91 MODULE PROCEDURE mpp_bcast_i1, mpp_bcast_da, mpp_bcast_ch, mpp_bcast_ia, mpp_bcast_l, & 92 & mpp_bcast_d, mpp_bcast_d2a, mpp_bcast_d3a 92 & mpp_bcast_d, mpp_bcast_d2a, mpp_bcast_d3a, mpp_bcast_lv 93 93 END INTERFACE 94 94 INTERFACE mpp_min … … 1853 1853 INTEGER, INTENT(INOUT) :: ival ! value to broadcast 1854 1854 INTEGER :: ierror ! mpi error 1855 1855 1856 CALL MPI_BCAST(ival, 1, MPI_INTEGER4, 0, mpi_comm_opa, ierror) 1857 1856 1858 END SUBROUTINE mpp_bcast_i1 1857 1859 … … 1867 1869 INTEGER, INTENT(IN) :: lng ! length of dval 1868 1870 INTEGER :: ierror ! mpi error 1871 1869 1872 CALL MPI_BCAST(dvalv, lng, mpi_double_precision, 0, mpi_comm_opa, ierror) 1873 1870 1874 END SUBROUTINE mpp_bcast_da 1871 1875 … … 1884 1888 INTEGER :: itotal ! local variable 1885 1889 itotal = nx*ny 1890 1886 1891 CALL MPI_BCAST(dvala, itotal, mpi_double_precision, 0, mpi_comm_opa, ierror) 1892 1887 1893 END SUBROUTINE mpp_bcast_d2a 1888 1894 … … 1898 1904 INTEGER, INTENT(IN) :: nx, ny, nz ! size of dvala 1899 1905 INTEGER :: ierror ! mpi error 1906 1900 1907 CALL MPI_BCAST(dvala, nx*ny*nz, mpi_double_precision, 0, mpi_comm_opa, ierror) 1908 1901 1909 END SUBROUTINE mpp_bcast_d3a 1902 1910 … … 1911 1919 REAL(wp), INTENT(INOUT) :: dval ! real 1D array 1912 1920 INTEGER :: ierror ! mpi error 1921 1913 1922 CALL MPI_BCAST(dval, 1, mpi_double_precision, 0, mpi_comm_opa, ierror) 1923 1914 1924 END SUBROUTINE mpp_bcast_d 1915 1925 … … 1922 1932 !i! processor 0 - lwm = .true.. NETCDF related call 1923 1933 !!-------------------------------------------------------------------------- 1924 CHARACTER(len=lng), INTENT(IN ) :: cstring ! string 1D array1934 CHARACTER(len=lng), INTENT(INOUT) :: cstring ! string 1D array 1925 1935 INTEGER, INTENT(IN) :: lng ! length of cstring 1926 1936 INTEGER :: ierror ! mpi error 1937 1927 1938 CALL MPI_BCAST(cstring, lng, MPI_CHARACTER, 0, mpi_comm_opa, ierror) 1939 1928 1940 END SUBROUTINE mpp_bcast_ch 1929 1941 … … 1932 1944 INTEGER, INTENT (IN) :: lng 1933 1945 INTEGER :: ierror ! mpi error 1946 1934 1947 CALL MPI_BCAST(ivalv, lng, MPI_INTEGER4, 0, mpi_comm_opa, ierror) 1948 1935 1949 END SUBROUTINE mpp_bcast_ia 1936 1950 … … 1938 1952 LOGICAL, INTENT(INOUT) :: lval ! value to broadcast 1939 1953 INTEGER :: ierror ! mpi error 1954 1940 1955 CALL MPI_BCAST(lval, 1, MPI_LOGICAL, 0, mpi_comm_opa, ierror) 1956 1941 1957 END SUBROUTINE mpp_bcast_l 1958 1959 SUBROUTINE mpp_bcast_lv(ldval, inln) 1960 LOGICAL, DIMENSION(inln), INTENT(INOUT) :: ldval ! value to broadcast 1961 INTEGER, INTENT(IN) :: inln 1962 INTEGER :: ierror ! mpi error 1963 1964 CALL MPI_BCAST(ldval, inln, MPI_LOGICAL, 0, mpi_comm_opa, ierror) 1965 1966 END SUBROUTINE mpp_bcast_lv 1942 1967 1943 1968 SUBROUTINE mpp_bcast_d2d(dval, ni, nj)
Note: See TracChangeset
for help on using the changeset viewer.