Changeset 635 for trunk/NEMO/OPA_SRC
- Timestamp:
- 2007-03-07T14:26:45+01:00 (17 years ago)
- Location:
- trunk/NEMO/OPA_SRC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/lib_mpp.F90
r629 r635 98 98 !! The processor number is a required power of two : 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024,... 99 99 INTEGER, PARAMETER :: & 100 nprocmax = 2**10, & ! maximun dimension 101 ndim_mpp = jpnij ! dimension for this simulation 100 nprocmax = 2**10 ! maximun dimension 102 101 103 102 #if defined key_mpp_mpi … … 416 415 npvm_tids(0) = npvm_mytid 417 416 npvm_me = 0 418 IF( ndim_mpp> nprocmax ) THEN417 IF( jpnij > nprocmax ) THEN 419 418 WRITE(ctmp1,*) 'npvm_mytid=', npvm_mytid, ' too great' 420 419 CALL ctl_stop( ctmp1 ) 421 420 422 421 ELSE 423 npvm_nproc = ndim_mpp422 npvm_nproc = jpnij 424 423 ENDIF 425 424 … … 536 535 ENDIF 537 536 ! --- END receive dimension --- 538 IF( ndim_mpp> nprocmax ) THEN537 IF( jpnij > nprocmax ) THEN 539 538 WRITE(ctmp1,*) 'mytid=',nt3d_mytid,' too great' 540 539 CALL ctl_stop( ctmp1 ) 541 540 ELSE 542 nt3d_nproc = ndim_mpp541 nt3d_nproc = jpnij 543 542 ENDIF 544 543 IF( mpparent_print /= 0 ) THEN -
trunk/NEMO/OPA_SRC/par_oce.F90
r511 r635 25 25 !! so jpiglo=jpi and jpjglo=jpj 26 26 27 INTEGER, PUBLIC, PARAMETER :: & !: 27 #if ! defined key_mpp_dyndist 28 INTEGER, PUBLIC, PARAMETER :: & !: 28 29 jpni = 1, & !: number of processors following i 29 30 jpnj = 1, & !: number of processors following j 30 jpnij = 1 , &!: nb of local domain = nb of processors31 jpnij = 1 !: nb of local domain = nb of processors 31 32 ! ! ( <= jpni x jpnj ) 33 #else 34 INTEGER, PUBLIC :: & ! 35 jpni , & !: number of processors following i 36 jpnj , & !: number of processors following j 37 jpnij !: nb of local domain = nb of processors 38 ! ! ( <= jpni x jpnj ) 39 #endif 40 41 INTEGER, PUBLIC, PARAMETER :: & !: 32 42 jpr2di = 0, & !: number of columns for extra outer halo 33 43 jpr2dj = 0, & !: number of rows for extra outer halo
Note: See TracChangeset
for help on using the changeset viewer.