Changeset 1804 for palm/trunk/SOURCE/check_parameters.f90
- Timestamp:
- Apr 5, 2016 4:30:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r1796 r1804 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! Removed code for parameter file check (__check) 22 22 ! 23 23 ! Former revisions: … … 425 425 426 426 427 #if ! defined( __check )428 427 IF ( myid == 0 ) THEN 429 428 CALL MPI_SEND( dt_coupling, 1, MPI_REAL, target_id, 11, comm_inter, & … … 433 432 ENDIF 434 433 CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr) 435 #endif434 436 435 IF ( dt_coupling /= remote ) THEN 437 436 WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), & … … 441 440 ENDIF 442 441 IF ( dt_coupling <= 0.0_wp ) THEN 443 #if ! defined( __check ) 442 444 443 IF ( myid == 0 ) THEN 445 444 CALL MPI_SEND( dt_max, 1, MPI_REAL, target_id, 19, comm_inter, ierr ) … … 448 447 ENDIF 449 448 CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr) 450 #endif449 451 450 dt_coupling = MAX( dt_max, remote ) 452 451 WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), & … … 455 454 CALL message( 'check_parameters', 'PA0005', 0, 1, 0, 6, 0 ) 456 455 ENDIF 457 #if ! defined( __check ) 456 458 457 IF ( myid == 0 ) THEN 459 458 CALL MPI_SEND( restart_time, 1, MPI_REAL, target_id, 12, comm_inter, & … … 463 462 ENDIF 464 463 CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr) 465 #endif464 466 465 IF ( restart_time /= remote ) THEN 467 466 WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), & … … 470 469 CALL message( 'check_parameters', 'PA0006', 1, 2, 0, 6, 0 ) 471 470 ENDIF 472 #if ! defined( __check ) 471 473 472 IF ( myid == 0 ) THEN 474 473 CALL MPI_SEND( dt_restart, 1, MPI_REAL, target_id, 13, comm_inter, & … … 478 477 ENDIF 479 478 CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr) 480 #endif479 481 480 IF ( dt_restart /= remote ) THEN 482 481 WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), & … … 487 486 488 487 simulation_time_since_reference = end_time - coupling_start_time 489 #if ! defined( __check ) 488 490 489 IF ( myid == 0 ) THEN 491 490 CALL MPI_SEND( simulation_time_since_reference, 1, MPI_REAL, target_id, & … … 495 494 ENDIF 496 495 CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr) 497 #endif496 498 497 IF ( simulation_time_since_reference /= remote ) THEN 499 498 WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), & … … 504 503 ENDIF 505 504 506 #if ! defined( __check )507 505 IF ( myid == 0 ) THEN 508 506 CALL MPI_SEND( dx, 1, MPI_REAL, target_id, 15, comm_inter, ierr ) … … 512 510 CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr) 513 511 514 #endif 512 515 513 IF ( coupling_mode == 'atmosphere_to_ocean') THEN 516 514 … … 531 529 ENDIF 532 530 533 #if ! defined( __check )534 531 IF ( myid == 0) THEN 535 532 CALL MPI_SEND( dy, 1, MPI_REAL, target_id, 16, comm_inter, ierr ) … … 538 535 ENDIF 539 536 CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr) 540 #endif 537 541 538 IF ( coupling_mode == 'atmosphere_to_ocean') THEN 542 539 … … 579 576 ENDIF 580 577 581 #if defined( __parallel ) && ! defined ( __check )578 #if defined( __parallel ) 582 579 ! 583 580 !-- Exchange via intercommunicator … … 3856 3853 ! 3857 3854 !-- Check the NetCDF data format 3858 #if ! defined ( __check )3859 3855 IF ( netcdf_data_format > 2 ) THEN 3860 3856 #if defined( __netcdf4 ) … … 3879 3875 #endif 3880 3876 ENDIF 3881 #endif3882 3877 3883 3878 !
Note: See TracChangeset
for help on using the changeset viewer.