Changeset 4496 for palm/trunk
- Timestamp:
- Apr 15, 2020 8:37:26 AM (5 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/palm.f90
r4495 r4496 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix: coupling character added to restart output filename 28 ! 29 ! 4495 2020-04-13 20:11:20Z raasch 27 30 ! restart data handling with MPI-IO added 28 31 ! … … 432 435 ! 433 436 !-- Open MPI-IO restart file 434 CALL rd_mpi_io_open( 'write', 'BINOUT' )437 CALL rd_mpi_io_open( 'write', 'BINOUT' // TRIM( coupling_char ) ) 435 438 ! 436 439 !-- Write control parameters and other global variables for restart. -
palm/trunk/SOURCE/read_restart_data_mod.f90
r4495 r4496 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix: MPI barrier removed, coupling character added to input filename 28 ! 29 ! 4495 2020-04-13 20:11:20Z raasch 27 30 ! restart data handling with MPI-IO added 28 31 ! … … 842 845 ! 843 846 !-- Open the MPI-IO restart file. 844 CALL rd_mpi_io_open( 'read', 'BININ' , only_global = .TRUE. )847 CALL rd_mpi_io_open( 'read', 'BININ' // TRIM( coupling_char ), only_global = .TRUE. ) 845 848 846 849 ! … … 1141 1144 CALL rd_mpi_io_close 1142 1145 1143 #if defined( __parallel )1144 CALL MPI_BARRIER( MPI_COMM_WORLD, ierr )1145 #endif1146 1147 1146 ENDIF 1148 1147 -
palm/trunk/SOURCE/restart_data_mpi_io_mod.f90
r4495 r4496 24 24 ! ----------------- 25 25 ! $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) 27 30 ! 28 31 ! … … 1770 1773 #else 1771 1774 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 ) 1774 1776 #endif 1775 1777 disp_f = disp … … 2306 2308 !> This subroutine creates file types to access 3d-soil arrays 2307 2309 !> distributed in blocks among processes to a single file that contains the global arrays. 2310 !> It is not required for the serial mode. 2308 2311 !--------------------------------------------------------------------------------------------------! 2309 2312 #if defined( __parallel ) … … 2334 2337 start3(3) = lb%nys 2335 2338 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 ) 2337 2341 CALL MPI_TYPE_COMMIT( ft_3dsoil, ierr ) 2338 2342
Note: See TracChangeset
for help on using the changeset viewer.