Changeset 2626
- Timestamp:
- 2011-02-27T17:41:49+01:00 (13 years ago)
- Location:
- branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_2/iceini_2.F90
r2613 r2626 18 18 USE phycst ! physical constants 19 19 USE dom_oce ! ocean domain 20 USE sbc_oce ! surface boundary condition: ocean 21 USE sbc_ice ! LIM2 surface boundary condition 20 22 USE dom_ice_2 ! LIM2 ice domain 21 USE sbc_oce ! surface boundary condition: ocean 22 USE sbc_ice ! surface boundary condition: ice 23 USE par_ice_2 ! LIM2 parameters 23 24 USE thd_ice_2 ! LIM2 thermodynamical variables 24 25 USE limrhg ! LIM2 rheology … … 66 67 IF( lk_mpp ) CALL mpp_sum( ierr ) 67 68 IF( ierr /= 0 ) CALL ctl_stop( 'STOP', 'ice_init_2 : unable to allocate ice arrays' ) 69 70 ! ! adequation jpk versus ice/snow layers 71 IF( jpl > jpk .OR. jplayersp1 > jpk ) CALL ctl_stop( 'STOP', & 72 & 'ice_init: the 3rd dimension of workspace arrays is too small.', & 73 & 'use more ocean levels or less ice layers/categories.' ) 68 74 69 75 ! ! Open the namelist file -
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_2/limwri_2.F90
r2615 r2626 79 79 ALLOCATE( ndex51(jpij), zcmo(jpi,jpj,jpnoumax), STAT=lim_wri_alloc_2) 80 80 ! 81 IF( lk_mpp ) CALL mpp_sum ( lim_wri_alloc_2 )81 IF( lk_mpp ) CALL mpp_sum ( lim_wri_alloc_2 ) 82 82 IF( lim_wri_alloc_2 /= 0 ) CALL ctl_warn('lim_wri_alloc_2: failed to allocate array ndex51') 83 83 ! -
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_3/iceini.F90
r2612 r2626 65 65 IF( lk_mpp ) CALL mpp_sum( ierr ) 66 66 IF( ierr /= 0 ) CALL ctl_stop( 'STOP', 'ice_init : unable to allocate ice arrays' ) 67 68 IF( ierr > 0 ) THEN 69 WRITE(numout,*) 70 WRITE(numout,*) 'ERROR: Allocation of memory failed in nemo_alloc' 71 IF( lk_mpp ) CALL mppstop() 72 STOP 73 END IF 74 ! 67 ! 68 ! ! adequation jpk versus ice/snow layers/categories 69 IF( jpl > jpk .OR. jpm > jpk .OR. & 70 jkmax > jpk .OR. nlay_s > jpk ) CALL ctl_stop( 'STOP', & 71 & 'ice_init: the 3rd dimension of workspace arrays is too small.', & 72 & 'use more ocean levels or less ice/snow layers/categories.' ) 73 75 74 ! ! Open the namelist file 76 75 CALL ctl_opn( numnam_ice, 'namelist_ice', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) -
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_3/limthd.F90
r2612 r2626 96 96 IF( .NOT. wrk_use(2, 1) ) THEN 97 97 CALL ctl_stop( 'lim_thd : requested workspace arrays unavailable' ) ; RETURN 98 END 98 ENDIF 99 99 100 100 !------------------------------------------------------------------------------! … … 246 246 !------------------------------------------------------------------------------! 247 247 248 IF( lk_mpp ) CALL mpp_ini_ice( nbpb )248 IF( lk_mpp ) CALL mpp_ini_ice( nbpb , numout ) 249 249 250 250 IF( nbpb > 0 ) THEN ! If there is no ice, do nothing.
Note: See TracChangeset
for help on using the changeset viewer.