#1913 closed Bug (fixed)
Compilation issue due to typo in diaar5
Reported by: | nicolasmartin | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | v3.6 |
Severity: | minor | Keywords: | |
Cc: |
Description (last modified by nemo)
Context
ORCA1_LIM3_PISCES cfg. monitored by trusting tool is down since 27th of May with rev. 8084.
The follow-up of ORCA2_LIM_PISCES cfg. didn't detect an issue.
Analysis
Compilation stops and complains about [ZPE] variable not declared, actually 'pe' is declared and initialised but it is 'zpe' which is used in the loop.
Extract of diaar5.F90
IncludeSource(/branches/2015/nemo_v3_6_STABLE/NEMOGCM/NEMO/OPA_SRC/DIA/diaar5.F90, start=208, end=238, rev=8084, line_numbers=0)?
Fix
Correct the typos
-
NEMO/OPA_SRC/DIA/diaar5.F90
80 80 REAL(wp) :: zaw, zbw, zrw 81 81 ! 82 82 REAL(wp), POINTER, DIMENSION(:,:) :: zarea_ssh , zbotpres ! 2D workspace 83 REAL(wp), POINTER, DIMENSION(:,:) :: pe ! 2D workspace83 REAL(wp), POINTER, DIMENSION(:,:) :: zpe ! 2D workspace 84 84 REAL(wp), POINTER, DIMENSION(:,:,:) :: zrhd , zrhop ! 3D workspace 85 85 REAL(wp), POINTER, DIMENSION(:,:,:,:) :: ztsn ! 4D workspace 86 86 !!-------------------------------------------------------------------- … … 90 90 !initialisation 91 91 IF( kt == nit000 ) CALL dia_ar5_init 92 92 93 CALL wrk_alloc( jpi , jpj , zarea_ssh , zbotpres, pe )93 CALL wrk_alloc( jpi , jpj , zarea_ssh , zbotpres, zpe ) 94 94 CALL wrk_alloc( jpi , jpj , jpk , zrhd , zrhop ) 95 95 CALL wrk_alloc( jpi , jpj , jpk , jpts , ztsn ) 96 96 … … 205 205 ! Work done against stratification by vertical mixing 206 206 ! Exclude points where rn2 is negative as convection kicks in here and 207 207 ! work is not being done against stratification 208 pe(:,:) = 0._wp208 zpe(:,:) = 0._wp 209 209 IF( lk_zdfddm ) THEN 210 210 DO jk = 2, jpk 211 211 DO jj = 1, jpj … … 233 233 END DO 234 234 END DO 235 235 ENDIF 236 CALL lbc_lnk( pe, 'T', 1._wp)237 CALL iom_put( 'tnpeo', pe )236 CALL lbc_lnk(zpe, 'T', 1._wp) 237 CALL iom_put( 'tnpeo', zpe ) 238 238 ENDIF 239 239 ! 240 CALL wrk_dealloc( jpi , jpj , zarea_ssh , zbotpres, pe )240 CALL wrk_dealloc( jpi , jpj , zarea_ssh , zbotpres, zpe ) 241 241 CALL wrk_dealloc( jpi , jpj , jpk , zrhd , zrhop ) 242 242 CALL wrk_dealloc( jpi , jpj , jpk , jpts , ztsn ) 243 243 !
Commit History (1)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
8187 | nicolasmartin | 2017-06-19T15:46:10+02:00 | Fix for typos in diaar5.F90 [close #1913] |
Change History (2)
comment:1 Changed 7 years ago by nicolasmartin
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 6 years ago by nemo
- Description modified (diff)
- Severity set to minor
Note: See
TracTickets for help on using
tickets.
Fix in r8187