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 2668 for branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2011-03-07T20:14:16+01:00 (13 years ago)
Author:
trackstand2
Message:

Added jpni, jpnj and jpnij to nammpp namelist. Suppressed nammpp_dyndist section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r2664 r2668  
    184184      INTEGER ::   ji            ! dummy loop indices 
    185185      INTEGER ::   ilocal_comm   ! local integer 
    186       CHARACTER(len=80), DIMENSION(10) ::   cltxt 
     186      CHARACTER(len=80), DIMENSION(16) ::   cltxt 
    187187      !! 
    188188      NAMELIST/namctl/ ln_ctl  , nn_print, nn_ictls, nn_ictle,   & 
     
    223223      lwp = (narea == 1) .OR. ln_ctl                        ! control of all listing output print 
    224224 
    225       ! Decide on size of grid now that we have our communicator size 
    226  
     225      ! If dimensions of processor grid weren't specified in the namelist file  
     226      ! then we calculate them here now that we have our communicator size 
     227      IF( (jpni < 1) .OR. (jpnj < 1) )THEN 
    227228#if   defined key_mpp_mpi   ||   defined key_mpp_shmem 
    228       CALL nemo_partition(mppsize) 
     229         CALL nemo_partition(mppsize) 
    229230#else 
    230       jpni = 1 
    231       jpnj = 1 
    232       jpnij = jpni*jpnj 
    233 #endif 
     231         jpni = 1 
     232         jpnj = 1 
     233         jpnij = jpni*jpnj 
     234#endif 
     235      END IF 
     236 
    234237      ! Calculate domain dimensions given calculated jpni and jpnj 
    235238      ! This used to be done in par_oce.F90 when they were parameters rather 
     
    537540         jpni = ifact(imin + 1) 
    538541      ENDIF 
     542      ! 
    539543      jpnij = jpni*jpnj 
    540  
    541       WRITE(*,*) 'ARPDBG: jpni = ',jpni,'jpnj = ',jpnj,'jpnij = ',jpnij 
    542544      ! 
    543545   END SUBROUTINE nemo_partition 
Note: See TracChangeset for help on using the changeset viewer.