Ignore:
Timestamp:
Apr 5, 2016 4:30:18 PM (9 years ago)
Author:
maronga
Message:

removed parameter file check. update of mrungui for compilation with qt5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/check_parameters.f90

    r1796 r1804  
    1919! Current revisions:
    2020! -----------------
    21 !
     21! Removed code for parameter file check (__check)
    2222!
    2323! Former revisions:
     
    425425
    426426
    427 #if ! defined( __check )
    428427       IF ( myid == 0 ) THEN
    429428          CALL MPI_SEND( dt_coupling, 1, MPI_REAL, target_id, 11, comm_inter,  &
     
    433432       ENDIF
    434433       CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr)
    435 #endif     
     434
    436435       IF ( dt_coupling /= remote )  THEN
    437436          WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), &
     
    441440       ENDIF
    442441       IF ( dt_coupling <= 0.0_wp )  THEN
    443 #if ! defined( __check )
     442
    444443          IF ( myid == 0  ) THEN
    445444             CALL MPI_SEND( dt_max, 1, MPI_REAL, target_id, 19, comm_inter, ierr )
     
    448447          ENDIF   
    449448          CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr)
    450 #endif         
     449     
    451450          dt_coupling = MAX( dt_max, remote )
    452451          WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), &
     
    455454          CALL message( 'check_parameters', 'PA0005', 0, 1, 0, 6, 0 )
    456455       ENDIF
    457 #if ! defined( __check )
     456
    458457       IF ( myid == 0 ) THEN
    459458          CALL MPI_SEND( restart_time, 1, MPI_REAL, target_id, 12, comm_inter, &
     
    463462       ENDIF
    464463       CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr)
    465 #endif     
     464 
    466465       IF ( restart_time /= remote )  THEN
    467466          WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), &
     
    470469          CALL message( 'check_parameters', 'PA0006', 1, 2, 0, 6, 0 )
    471470       ENDIF
    472 #if ! defined( __check )
     471
    473472       IF ( myid == 0 ) THEN
    474473          CALL MPI_SEND( dt_restart, 1, MPI_REAL, target_id, 13, comm_inter,   &
     
    478477       ENDIF   
    479478       CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr)
    480 #endif     
     479   
    481480       IF ( dt_restart /= remote )  THEN
    482481          WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), &
     
    487486
    488487       simulation_time_since_reference = end_time - coupling_start_time
    489 #if ! defined( __check )
     488
    490489       IF  ( myid == 0 ) THEN
    491490          CALL MPI_SEND( simulation_time_since_reference, 1, MPI_REAL, target_id, &
     
    495494       ENDIF
    496495       CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr)
    497 #endif     
     496   
    498497       IF ( simulation_time_since_reference /= remote )  THEN
    499498          WRITE( message_string, * ) 'coupling mode "', TRIM( coupling_mode ), &
     
    504503       ENDIF
    505504
    506 #if ! defined( __check )
    507505       IF ( myid == 0 ) THEN
    508506          CALL MPI_SEND( dx, 1, MPI_REAL, target_id, 15, comm_inter, ierr )
     
    512510       CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr)
    513511
    514 #endif
     512
    515513       IF ( coupling_mode == 'atmosphere_to_ocean') THEN
    516514
     
    531529       ENDIF
    532530
    533 #if ! defined( __check )
    534531       IF ( myid == 0) THEN
    535532          CALL MPI_SEND( dy, 1, MPI_REAL, target_id, 16, comm_inter, ierr )
     
    538535       ENDIF
    539536       CALL MPI_BCAST( remote, 1, MPI_REAL, 0, comm2d, ierr)
    540 #endif
     537
    541538       IF ( coupling_mode == 'atmosphere_to_ocean') THEN
    542539
     
    579576    ENDIF
    580577
    581 #if defined( __parallel ) && ! defined ( __check )
     578#if defined( __parallel )
    582579!
    583580!-- Exchange via intercommunicator
     
    38563853!
    38573854!-- Check the NetCDF data format
    3858 #if ! defined ( __check )
    38593855    IF ( netcdf_data_format > 2 )  THEN
    38603856#if defined( __netcdf4 )
     
    38793875#endif
    38803876    ENDIF
    3881 #endif
    38823877
    38833878!
Note: See TracChangeset for help on using the changeset viewer.