- Timestamp:
- 2012-11-21T14:19:18+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90
r3609 r3625 120 120 121 121 ! variables used in case of sea-ice 122 INTEGER, PUBLIC :: ncomm_ice !: communicator made by the processors with sea-ice 122 INTEGER, PUBLIC :: ncomm_ice !: communicator made by the processors with sea-ice (public so that it can be freed in limthd) 123 INTEGER :: ngrp_iworld ! group ID for the world processors (for rheology) 123 124 INTEGER :: ngrp_ice ! group ID for the ice processors (for rheology) 124 125 INTEGER :: ndim_rank_ice ! number of 'ice' processors … … 1978 1979 !! ndim_rank_ice = number of processors with ice 1979 1980 !! nrank_ice (ndim_rank_ice) = ice processors 1980 !! ngrp_ world = group ID for the world processors1981 !! ngrp_iworld = group ID for the world processors 1981 1982 !! ngrp_ice = group ID for the ice processors 1982 1983 !! ncomm_ice = communicator for the ice procs. … … 2027 2028 2028 2029 ! Create the world group 2029 CALL MPI_COMM_GROUP( mpi_comm_opa, ngrp_ world, ierr )2030 CALL MPI_COMM_GROUP( mpi_comm_opa, ngrp_iworld, ierr ) 2030 2031 2031 2032 ! Create the ice group from the world group 2032 CALL MPI_GROUP_INCL( ngrp_ world, ndim_rank_ice, nrank_ice, ngrp_ice, ierr )2033 CALL MPI_GROUP_INCL( ngrp_iworld, ndim_rank_ice, nrank_ice, ngrp_ice, ierr ) 2033 2034 2034 2035 ! Create the ice communicator , ie the pool of procs with sea-ice … … 2037 2038 ! Find proc number in the world of proc 0 in the north 2038 2039 ! The following line seems to be useless, we just comment & keep it as reminder 2039 ! CALL MPI_GROUP_TRANSLATE_RANKS(ngrp_ice,1,0,ngrp_world,n_ice_root,ierr) 2040 ! 2040 ! CALL MPI_GROUP_TRANSLATE_RANKS(ngrp_ice,1,0,ngrp_iworld,n_ice_root,ierr) 2041 ! 2042 CALL MPI_GROUP_FREE(ngrp_ice, ierr) 2043 CALL MPI_GROUP_FREE(ngrp_iworld, ierr) 2044 2041 2045 DEALLOCATE(kice, zwork) 2042 2046 !
Note: See TracChangeset
for help on using the changeset viewer.