Ignore:
Timestamp:
Feb 15, 2018 9:55:58 AM (6 years ago)
Author:
schwenkel
Message:

Bugfix for gfortran: Replace the function C_SIZEOF with STORAGE_SIZE

File:
1 edited

Legend:

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

    r2753 r2809  
    2525! -----------------
    2626! $Id$
     27! Bugfix for gfortran: Replace the function C_SIZEOF with STORAGE_SIZE
     28!
     29! 2753 2018-01-16 14:16:49Z suehring
    2730! Tile approach for spectral albedo implemented.
    2831!
     
    59015904!--             must be in accordance with allocation of lad_s in plant_canopy_model
    59025905!--             optimization of memory should be done
    5903 !--             Argument X of function c_sizeof(X) needs arbitrary REAL(wp) value, set to 1.0_wp for now
    5904                 size_lad_rma = c_sizeof(1.0_wp)*nnx*nny*nzu
    5905                 CALL MPI_Win_allocate(size_lad_rma, c_sizeof(1.0_wp), minfo, comm2d, &
     5906!--             Argument X of function STORAGE_SIZE(X) needs arbitrary REAL(wp) value, set to 1.0_wp for now
     5907                size_lad_rma = STORAGE_SIZE(1.0_wp)/8*nnx*nny*nzu
     5908                CALL MPI_Win_allocate(size_lad_rma, STORAGE_SIZE(1.0_wp)/8, minfo, comm2d, &
    59065909                                        lad_s_rma_p, win_lad, ierr)
    59075910                CALL c_f_pointer(lad_s_rma_p, lad_s_rma, (/ nzu, nny, nnx /))
Note: See TracChangeset for help on using the changeset viewer.