Changeset 1808 for palm/trunk/UTIL
- Timestamp:
- Apr 5, 2016 7:44:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/combine_plot_fields.f90
r1552 r1808 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! cpu measurements are done with standard FORTRAN routine on every machine 23 23 ! 24 24 ! Former revisions: … … 107 107 ze, zza, zze 108 108 109 #if defined( __lc ) || defined( __decalpha ) 110 INTEGER(8) :: count, count_rate 111 #elif defined( __nec ) 112 INTEGER(iwp) :: count, count_rate 113 #elif defined( __ibm ) 114 INTEGER(8) :: IRTC 115 #endif 109 INTEGER(8) :: count, count_rate 116 110 117 111 INTEGER(iwp), DIMENSION(0:1) :: current_level, current_var, & … … 180 174 ! 181 175 !-- Take current time 182 #if defined( __lc ) || defined( __decalpha ) || defined( __nec )183 176 CALL SYSTEM_CLOCK( count, count_rate ) 184 177 cpu_start_time = REAL( count ) / REAL( count_rate ) 185 #elif defined( __ibm )186 cpu_start_time = IRTC( ) * 1E-9187 #else188 PRINT*, '+++ INFORMATIVE: no time measurement defined on this host'189 #endif190 178 191 179 netcdf_parallel = .FALSE. … … 553 541 !-- Output required cpu time 554 542 IF ( danz /= 0 .AND. .NOT. netcdf_parallel ) THEN 555 #if defined( __lc ) || defined( __decalpha ) || defined( __nec )556 543 CALL SYSTEM_CLOCK( count, count_rate ) 557 544 cpu_end_time = REAL( count ) / REAL( count_rate ) 558 545 WRITE (*,'(5X,A,F9.3,A)') 'Required cpu-time: ', & 559 546 cpu_end_time-cpu_start_time, ' sec' 560 #elif defined( __ibm )561 cpu_end_time = IRTC( ) * 1E-9562 WRITE (*,'(5X,A,F9.3,A)') 'Required cpu-time: ', &563 cpu_end_time-cpu_start_time, ' sec'564 #else565 CONTINUE566 #endif567 547 ENDIF 568 548 … … 592 572 ! 593 573 !-- Take current time 594 #if defined( __lc ) || defined( __decalpha ) || defined( __nec )595 574 CALL SYSTEM_CLOCK( count, count_rate ) 596 575 cpu_start_time = REAL( count ) / REAL( count_rate ) 597 #elif defined( __ibm )598 cpu_start_time = IRTC( ) * 1E-9599 #else600 PRINT*, '+++ INFORMATIVE: no time measurement defined on this host'601 #endif602 576 603 577 ! … … 885 859 ! 886 860 !-- Output required cpu time 887 #if defined( __lc ) || defined( __decalpha ) || defined( __nec )888 861 CALL SYSTEM_CLOCK( count, count_rate ) 889 862 cpu_end_time = REAL( count ) / REAL( count_rate ) 890 863 WRITE (*,'(5X,A,F9.3,A)') 'Required cpu-time: ', & 891 864 cpu_end_time-cpu_start_time, ' sec' 892 #elif defined( __ibm )893 cpu_end_time = IRTC( ) * 1E-9894 WRITE (*,'(5X,A,F9.3,A)') 'Required cpu-time: ', &895 cpu_end_time-cpu_start_time, ' sec'896 #endif897 865 898 866 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.