Changeset 2583 for palm/trunk
- Timestamp:
- Oct 26, 2017 1:58:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/urban_surface_mod.f90
r2582 r2583 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Workaround for gnufortran compiler added in usm_calc_svf. CALL MPI_Win_allocate is29 ! replaced by CALL MPI_Win_allocate_cptr if defined ( __gnufortran ).30 !31 ! 2544 2017-10-13 18:09:32Z maronga32 28 ! Date and time quantities are now read from date_and_time_mod. Solar constant is 33 29 ! read from radiation_model_mod … … 1927 1923 !-- Argument X of function c_sizeof(X) needs arbitrary REAL(wp) value, set to 1.0_wp for now 1928 1924 size_lad_rma = c_sizeof(1.0_wp)*nnx*nny*nzu 1929 1930 #if defined( __gfortran ) 1931 ! 1932 !-- Workaround for the gfortran compiler. 1933 CALL MPI_Win_allocate_cptr( size_lad_rma, wp, minfo, comm2d, & 1934 lad_s_rma_p, win_lad, ierr ) 1935 #else 1936 CALL MPI_Win_allocate( size_lad_rma, c_sizeof(1.0_wp), minfo, & 1937 comm2d, lad_s_rma_p, win_lad, ierr ) 1938 #endif 1925 CALL MPI_Win_allocate(size_lad_rma, c_sizeof(1.0_wp), minfo, comm2d, & 1926 lad_s_rma_p, win_lad, ierr) 1939 1927 CALL c_f_pointer(lad_s_rma_p, lad_s_rma, (/ nzu, nny, nnx /)) 1940 1928 usm_lad(nzub:, nys:, nxl:) => lad_s_rma(:,:,:)
Note: See TracChangeset
for help on using the changeset viewer.