- Timestamp:
- 2021-03-31T17:18:48+02:00 (3 years ago)
- Location:
- NEMO/branches/UKMO/NEMO_4.0.1_NGMS_couple_stage2_spmd/src/OCE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0.1_NGMS_couple_stage2_spmd/src/OCE/LBC/lib_mpp.F90
r13311 r14661 692 692 ELSE 693 693 CALL mppsync 694 #if !defined key_spmd 694 695 CALL mpi_finalize( info ) 696 #endif 695 697 ENDIF 696 698 IF( ll_abort ) STOP 123 -
NEMO/branches/UKMO/NEMO_4.0.1_NGMS_couple_stage2_spmd/src/OCE/nemo.f90
r11715 r14661 16 16 !!---------------------------------------------------------------------- 17 17 ! 18 CALL nemo_gcm ! NEMO direct code 18 CALL nemo_gcm_init ! NEMO direct code 19 CALL nemo_gcm_run 20 CALL nemo_gcm_finalise 19 21 ! 20 22 !!====================================================================== -
NEMO/branches/UKMO/NEMO_4.0.1_NGMS_couple_stage2_spmd/src/OCE/nemogcm.F90
r13443 r14661 117 117 CONTAINS 118 118 119 SUBROUTINE nemo_gcm 120 !!---------------------------------------------------------------------- 121 !! *** ROUTINE nemo_gcm ***119 SUBROUTINE nemo_gcm_init 120 !!---------------------------------------------------------------------- 121 !! *** ROUTINE nemo_gcm_init *** 122 122 !! 123 123 !! ** Purpose : NEMO solves the primitive equations on an orthogonal … … 125 125 !! 126 126 !! ** Method : - model general initialization 127 !! - launch the time-stepping (stp routine)128 !! - finalize the run by closing files and communications129 127 !! 130 128 !! References : Madec, Delecluse, Imbard, and Levy, 1997: internal report, IPSL. 131 129 !! Madec, 2008, internal report, IPSL. 132 130 !!---------------------------------------------------------------------- 133 INTEGER :: istp, nerror ! time step index134 REAL(wp):: zstptiming ! elapsed time for 1 time step135 !!----------------------------------------------------------------------136 !137 131 #if defined key_agrif 138 132 CALL Agrif_Init_Grids() ! AGRIF: set the meshes … … 151 145 # endif 152 146 #endif 147 END SUBROUTINE nemo_gcm_init 148 149 SUBROUTINE nemo_gcm_run 150 !!---------------------------------------------------------------------- 151 !! *** ROUTINE nemo_gcm_run *** 152 !! 153 !! ** Purpose : NEMO solves the primitive equations on an orthogonal 154 !! curvilinear mesh on the sphere. 155 !! 156 !! ** Method : - launch the time-stepping (stp routine) 157 !! 158 !! References : Madec, Delecluse, Imbard, and Levy, 1997: internal report, IPSL. 159 !! Madec, 2008, internal report, IPSL. 160 !!---------------------------------------------------------------------- 161 INTEGER :: istp ! time step index 162 REAL(wp):: zstptiming ! elapsed time for 1 time step 163 !!---------------------------------------------------------------------- 164 ! 153 165 ! check that all process are still there... If some process have an error, 154 166 ! they will never enter in step and other processes will wait until the end of the cpu time! … … 248 260 write(numout,*) "RSRH done closefiles " , lk_oasis; flush(numout) 249 261 ! 262 END SUBROUTINE nemo_gcm_run 263 264 SUBROUTINE nemo_gcm_finalise 265 !!---------------------------------------------------------------------- 266 !! *** ROUTINE nemo_gcm_run *** 267 !! 268 !! ** Purpose : NEMO solves the primitive equations on an orthogonal 269 !! curvilinear mesh on the sphere. 270 !! 271 !! ** Method : - finalize the run by closing files and communications 272 !! 273 !! References : Madec, Delecluse, Imbard, and Levy, 1997: internal report, IPSL. 274 !! Madec, 2008, internal report, IPSL. 275 !!---------------------------------------------------------------------- 276 integer :: nerror 277 !!---------------------------------------------------------------------- 278 ! 250 279 #if defined key_iomput 251 280 CALL xios_finalize() ! end mpp communications with xios … … 262 291 #endif 263 292 ! 293 #if !defined key_spmd 264 294 IF(lwm) THEN 265 295 IF( nstop == 0 ) THEN … … 269 299 ENDIF 270 300 ENDIF 271 ! 272 END SUBROUTINE nemo_gcm 301 #endif 302 ! 303 END SUBROUTINE nemo_gcm_finalise 273 304 274 305 … … 305 336 ! RSRH simplify initialisaton for test 306 337 IF( lk_oasis ) THEN 338 #if !defined key_spmd 307 339 CALL mpi_init(nerror) 340 #endif 308 341 CALL oasis_init_comp ( ncomp_id, "toyoce", nerror, .TRUE. ) 309 342 ! CALL cpl_init( "toyoce", ilocal_comm )
Note: See TracChangeset
for help on using the changeset viewer.