Changeset 532 for trunk/NEMO/OPA_SRC/opa.F90
- Timestamp:
- 2006-10-20T08:36:42+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/opa.F90
r531 r532 28 28 !! ! 00-07 (J-M Molines, M. Imbard) Open Boundary Conditions (CLIPPER) 29 29 !! 9.0 ! 02-08 (G. Madec) F90: Free form and modules 30 !! " ! 04-06 (R. Redler, NEC CCRLE, Germany) add OASIS[3/4] coupled interfaces 30 31 !! " ! 04-08 (C. Talandier) New trends organization 31 32 !! " ! 05-06 (C. Ethe) Add the 1D configuration possibility … … 68 69 69 70 USE step ! OPA time-stepping (stp routine) 71 #if defined key_oasis3 72 USE cpl_oasis3 ! OASIS3 coupling (to ECHAM5) 73 #else if defined key_oasis4 74 USE cpl_oasis4 ! OASIS4 coupling (to ECHAM5) 75 #endif 76 USE dynspg_oce ! Control choice of surface pressure gradient schemes 70 77 USE prtctl ! Print control (prt_ctl_init routine) 71 78 USE ini1d ! re-initialization of u-v mask for the 1D configuration … … 149 156 150 157 CALL opa_closefile 158 #if defined key_oasis3 || defined key_oasis4 159 call cpl_prism_finalize 160 #else 151 161 IF( lk_mpp ) CALL mppstop ! Close all files (mpp) 162 #endif 152 163 153 164 END SUBROUTINE opa_model … … 163 174 #if defined key_coupled 164 175 INTEGER :: itro, istp0 ! ??? 176 #endif 177 #if defined key_oasis3 || defined key_oasis4 178 INTEGER :: localComm 165 179 #endif 166 180 CHARACTER (len=20) :: namelistname … … 197 211 READ ( numnam, namctl ) 198 212 213 #ifdef key_oasis3 || defined key_oasis4 214 call cpl_prism_init(localComm) 215 ! Nodes selection 216 narea = mynode(localComm) 217 #else 199 218 ! Nodes selection 200 219 narea = mynode() 220 #endif 201 221 narea = narea + 1 ! mynode return the rank of proc (0 --> jpnij -1 ) 202 222 lwp = narea == 1 … … 286 306 #endif 287 307 288 #if defined key_coupled 308 #if defined key_coupled && ! defined key_oasis3 && ! defined key_oasis4 289 309 itro = nitend - nit000 + 1 ! Coupled 290 310 istp0 = NINT( rdt ) 291 311 CALL cpl_init( itro, nexco, istp0 ) ! Signal processing and process id exchange 312 #endif 313 314 #if defined key_oasis3 || defined key_oasis4 315 CALL cpl_prism_define 292 316 #endif 293 317 … … 398 422 SELECT CASE ( cp_cfg ) 399 423 CASE ( 'gyre' ) 400 CALL ctl_warn( ' The Benchmark is activated ' )424 CALL ctl_warn( ' The Benchmark is activated ' ) 401 425 CASE DEFAULT 402 CALL ctl_stop( ' The Benchmark is based on the GYRE configuration: key_gyre must be used or set nbench = 0' ) 426 CALL ctl_stop( ' The Benchmark is based on the GYRE configuration: key_gyre must & 427 & be used or set nbench = 0' ) 403 428 END SELECT 404 429 ENDIF 405 430 406 SELECT CASE ( nbit_cmp ) 407 CASE ( 1 ) 408 CALL ctl_warn( ' Bit comparison enabled Single and multiple processor results should bit compare', & 409 & ' WARNING: RESULTS ARE NOT PHYSICAL.' ) 410 CASE DEFAULT 411 CALL ctl_warn( ' Bit comparison not enabled. Single and multiple processor results will differ.' ) 412 END SELECT 431 IF( nbit_cmp == 1 ) THEN 432 CALL ctl_warn( ' Bit comparison enabled. Single and multiple processor results must bit compare', & 433 & ' WARNING: RESULTS ARE NOT PHYSICAL.' ) 434 ENDIF 413 435 414 436
Note: See TracChangeset
for help on using the changeset viewer.