Changeset 108 for palm/trunk/SOURCE/time_integration.f90
- Timestamp:
- Aug 24, 2007 3:10:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_integration.f90
r106 r108 9 9 ! random perturbation has to be added to the velocity fields also after the 10 10 ! first substep 11 ! modifications to terminate coupled runs 12 ! 11 13 ! 12 14 ! Former revisions: … … 78 80 CALL run_control 79 81 82 ! 83 !-- Data exchange between coupled models in case that a call has been omitted 84 !-- at the end of the previous run of a job chain. 85 IF ( coupling_mode /= 'uncoupled' ) THEN 86 ! 87 !-- In case of model termination initiated by the local model the coupler 88 !-- must not be called because this would again cause an MPI hang. 89 DO WHILE ( time_coupling >= dt_coupling .AND. terminate_coupled == 0 ) 90 CALL surface_coupler 91 time_coupling = time_coupling - dt_coupling 92 ENDDO 93 ENDIF 94 95 80 96 #if defined( __dvrp_graphics ) 81 97 ! … … 306 322 IF ( coupling_mode /= 'uncoupled' ) THEN 307 323 time_coupling = time_coupling + dt_3d 308 DO WHILE ( time_coupling >= dt_coupling ) 324 ! 325 !-- In case of model termination initiated by the local model 326 !-- (terminate_coupled > 0), the coupler must be skipped because it would 327 !-- cause an MPI intercomminucation hang. 328 !-- If necessary, the coupler will be called at the beginning of the 329 !-- next restart run. 330 DO WHILE ( time_coupling >= dt_coupling .AND. terminate_coupled == 0 ) 309 331 CALL surface_coupler 310 332 time_coupling = time_coupling - dt_coupling … … 327 349 !-- Check, if restart is necessary (because cpu-time is expiring or 328 350 !-- because it is forced by user) and set stop flag 329 CALL check_for_restart 351 !-- This call is skipped if the remote model has already initiated a restart. 352 IF ( .NOT. terminate_run ) CALL check_for_restart 330 353 331 354 !
Note: See TracChangeset
for help on using the changeset viewer.