Ignore:
Timestamp:
Apr 15, 2020 8:37:26 AM (4 years ago)
Author:
raasch
Message:

bugfixes for restart with MPI-IO: problem with posix read arguments for surface data fixed, MPI barrier removed, coupling character added to restart input and output filename

File:
1 edited

Legend:

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

    r4495 r4496  
    2424! -----------------
    2525! $Id$
    26 ! Initial version (K. Ketelsen)
     26! problem with posix read arguments for surface data fixed
     27!
     28! 4495 2020-04-13 20:11:20Z raasch
     29! Initial version (K. Ketelsen), adjusted to PALM formatting standards (s. Raasch)
    2730!
    2831!
     
    17701773#else
    17711774                CALL posix_lseek( fh, disp_f )
    1772 !ATTENTION: next line needs to be fixed because of: There is no specific subroutine for the generic ‘posix_read’
    1773 !                CALL posix_read( fh, data(m_start_index(j_f,i_f)), nr_bytes_f )
     1775                CALL posix_read( fh, data(m_start_index(j_f:,i_f:)), nr_bytes_f )
    17741776#endif
    17751777                disp_f     = disp
     
    23062308!> This subroutine creates file types to access 3d-soil arrays
    23072309!> distributed in blocks among processes to a single file that contains the global arrays.
     2310!> It is not required for the serial mode.
    23082311!--------------------------------------------------------------------------------------------------!
    23092312#if defined( __parallel )
     
    23342337    start3(3) = lb%nys
    23352338
    2336     CALL MPI_TYPE_CREATE_SUBARRAY( 3, dims3, lize3, start3, MPI_ORDER_FORTRAN, MPI_REAL, ft_3dsoil, ierr )
     2339    CALL MPI_TYPE_CREATE_SUBARRAY( 3, dims3, lize3, start3, MPI_ORDER_FORTRAN, MPI_REAL,           &
     2340                                   ft_3dsoil, ierr )
    23372341    CALL MPI_TYPE_COMMIT( ft_3dsoil, ierr )
    23382342
Note: See TracChangeset for help on using the changeset viewer.