Changeset 516 for trunk/NEMO/OPA_SRC/opa.F90
- Timestamp:
- 2006-10-05T17:53:31+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/opa.F90
r508 r516 166 166 CHARACTER (len=20) :: namelistname 167 167 CHARACTER (len=28) :: file_out 168 NAMELIST/namctl/ ln_ctl, nprint, nictls, nictle, & 169 & isplt , jsplt , njctls, njctle, nbench 168 170 !!---------------------------------------------------------------------- 169 171 … … 178 180 & 'SEQUENTIAL', 1, numout, .FALSE., 1 ) 179 181 ENDIF 180 181 namelistname = 'namelist'182 CALL ctlopn( numnam, namelistname, 'OLD', 'FORMATTED', 'SEQUENTIAL', &183 & 1, numout, .FALSE., 1 )184 182 185 183 WRITE(numout,*) … … 191 189 WRITE(numout,*) 192 190 191 namelistname = 'namelist' 192 CALL ctlopn( numnam, namelistname, 'OLD', 'FORMATTED', 'SEQUENTIAL', & 193 & 1, numout, .FALSE., 1 ) 194 195 ! Namelist namctl : Control prints & Benchmark 196 REWIND( numnam ) 197 READ ( numnam, namctl ) 198 193 199 ! Nodes selection 194 200 narea = mynode() … … 196 202 lwp = narea == 1 197 203 198 IF( lk_mpp ) THEN 199 CLOSE( numout ) ! standard model output file 200 WRITE(file_out,FMT="('ocean.output_',I4.4)") narea-1 201 IF ( numout /= 0 .AND. numout /= 6 ) THEN 202 CALL ctlopn( numout, file_out, 'UNKNOWN', 'FORMATTED', & 203 & 'SEQUENTIAL', 1, numout, .FALSE., 1 ) 204 ! open additionnal listing 205 IF( ln_ctl ) THEN 206 IF( narea-1 > 0 ) THEN 207 WRITE(file_out,FMT="('ocean.output_',I4.4)") narea-1 208 IF( numout /= 0 .AND. numout /= 6 ) THEN 209 CALL ctlopn( numout, file_out, 'UNKNOWN', 'FORMATTED', & 210 & 'SEQUENTIAL', 1, numout, .FALSE., 1 ) 211 ENDIF 212 lwp = .TRUE. 213 ! 214 WRITE(numout,*) 215 WRITE(numout,*) ' L O D Y C - I P S L' 216 WRITE(numout,*) ' O P A model' 217 WRITE(numout,*) ' Ocean General Circulation Model' 218 WRITE(numout,*) ' version OPA 9.0 (2005) ' 219 WRITE(numout,*) ' MPI Ocean output ' 220 WRITE(numout,*) 221 WRITE(numout,*) 204 222 ENDIF 205 !206 WRITE(numout,*)207 WRITE(numout,*) ' L O D Y C - I P S L'208 WRITE(numout,*) ' O P A model'209 WRITE(numout,*) ' Ocean General Circulation Model'210 WRITE(numout,*) ' version OPA 9.0 (2005) '211 WRITE(numout,*) ' MPI Ocean output '212 WRITE(numout,*)213 WRITE(numout,*)214 223 ENDIF 215 224 … … 220 229 IF(lwp) WRITE(numout,cform_aaa) ! Flag AAAAAAA 221 230 231 IF(lwp) THEN 232 WRITE(numout,*) 233 WRITE(numout,*) 'opa_init: Control prints & Benchmark' 234 WRITE(numout,*) '~~~~~~~~ ' 235 WRITE(numout,*) ' Namelist namctl' 236 WRITE(numout,*) ' run control (for debugging) ln_ctl = ', ln_ctl 237 WRITE(numout,*) ' level of print nprint = ', nprint 238 WRITE(numout,*) ' Start i indice for SUM control nictls = ', nictls 239 WRITE(numout,*) ' End i indice for SUM control nictle = ', nictle 240 WRITE(numout,*) ' Start j indice for SUM control njctls = ', njctls 241 WRITE(numout,*) ' End j indice for SUM control njctle = ', njctle 242 WRITE(numout,*) ' number of proc. following i isplt = ', isplt 243 WRITE(numout,*) ' number of proc. following j jsplt = ', jsplt 244 WRITE(numout,*) ' benchmark parameter (0/1) nbench = ', nbench 245 ENDIF 222 246 ! Domain decomposition 223 247 IF( jpni*jpnj == jpnij ) THEN
Note: See TracChangeset
for help on using the changeset viewer.