- Timestamp:
- Nov 6, 2020 2:50:49 PM (4 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/read_restart_data_mod.f90
r4671 r4777 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for reading spectra data with MPI-I/O (they are global arrays!) 28 ! 29 ! 4671 2020-09-09 20:27:58Z pavelkrc 27 30 ! Implementation of downward facing USM and LSM surfaces 28 31 ! … … 1062 1065 ALLOCATE( spectrum_x( 1:nx/2, 1:100, 1:10 ) ) 1063 1066 ENDIF 1064 CALL rrd_mpi_io ( 'spectrum_y', spectrum_y)1067 CALL rrd_mpi_io_global_array( 'spectrum_x', spectrum_x ) 1065 1068 ENDIF 1066 1069 CALL rd_mpi_io_check_array( 'spectrum_y', found = array_found ) … … 1069 1072 ALLOCATE( spectrum_y( 1:ny/2, 1:100, 1:10 ) ) 1070 1073 ENDIF 1071 CALL rrd_mpi_io ( 'spectrum_y', spectrum_y )1074 CALL rrd_mpi_io_global_array( 'spectrum_y', spectrum_y ) 1072 1075 ENDIF 1073 1076 CALL rrd_mpi_io( 'spinup_time ', spinup_time ) -
palm/trunk/SOURCE/write_restart_data_mod.f90
r4671 r4777 24 24 ! ----------------- 25 25 ! $Id$ 26 ! bugfix for writing spectra data with MPI-I/O (they are global arrays!) 27 ! 28 ! 4671 2020-09-09 20:27:58Z pavelkrc 26 29 ! Implementation of downward facing USM and LSM surfaces 27 30 ! … … 1050 1053 CALL wrd_mpi_io( 'simulated_time', simulated_time ) 1051 1054 IF ( ALLOCATED( spectrum_x ) ) THEN 1052 CALL wrd_mpi_io ( 'spectrum_x', spectrum_x )1053 CALL wrd_mpi_io ( 'spectrum_y', spectrum_y )1055 CALL wrd_mpi_io_global_array( 'spectrum_x', spectrum_x ) 1056 CALL wrd_mpi_io_global_array( 'spectrum_y', spectrum_y ) 1054 1057 ENDIF 1055 1058 CALL wrd_mpi_io( 'spinup_time ', spinup_time )
Note: See TracChangeset
for help on using the changeset viewer.