New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 3625 for branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90 – NEMO

Ignore:
Timestamp:
2012-11-21T14:19:18+01:00 (11 years ago)
Author:
acc
Message:

Branch dev_NOC_2012_r3555. #1006. Step 7. Check in code now merged with dev_r3385_NOCS04_HAMF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90

    r3609 r3625  
    120120 
    121121   ! 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) 
    123124   INTEGER ::   ngrp_ice        !  group ID for the ice processors (for rheology) 
    124125   INTEGER ::   ndim_rank_ice   !  number of 'ice' processors 
     
    19781979      !!      ndim_rank_ice = number of processors with ice 
    19791980      !!      nrank_ice (ndim_rank_ice) = ice processors 
    1980       !!      ngrp_world = group ID for the world processors 
     1981      !!      ngrp_iworld = group ID for the world processors 
    19811982      !!      ngrp_ice = group ID for the ice processors 
    19821983      !!      ncomm_ice = communicator for the ice procs. 
     
    20272028 
    20282029      ! 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 ) 
    20302031 
    20312032      ! 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 ) 
    20332034 
    20342035      ! Create the ice communicator , ie the pool of procs with sea-ice 
     
    20372038      ! Find proc number in the world of proc 0 in the north 
    20382039      ! 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 
    20412045      DEALLOCATE(kice, zwork) 
    20422046      ! 
Note: See TracChangeset for help on using the changeset viewer.