Changeset 4535 for palm/trunk
- Timestamp:
- May 15, 2020 12:07:23 PM (5 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/biometeorology_mod.f90
r4517 r4535 27 27 ! ----------------- 28 28 ! $Id$ 29 ! bugfix for restart data format query 30 ! 31 ! 4517 2020-05-03 14:29:30Z raasch 29 32 ! added restart with MPI-IO for reading local arrays 30 33 ! … … 1516 1519 WRITE ( 14 ) average_trigger_mrt 1517 1520 1518 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN1521 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 1519 1522 1520 1523 CALL wrd_mpi_io( 'do_average_theta', do_average_theta ) … … 1555 1558 ENDIF 1556 1559 1557 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN1560 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 1558 1561 1559 1562 ! -
palm/trunk/SOURCE/bulk_cloud_model_mod.f90
r4533 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4533 2020-05-14 14:46:46Z schwenkel 27 30 ! Reformat intrinsic function 28 31 ! … … 3742 3745 WRITE ( 14 ) ice_crystal_sedimentation 3743 3746 3744 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN3747 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 3745 3748 3746 3749 CALL wrd_mpi_io( 'c_sedimentation', c_sedimentation ) … … 3865 3868 ENDIF 3866 3869 3867 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN3870 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 3868 3871 3869 3872 IF ( ALLOCATED( prr ) ) CALL wrd_mpi_io( 'prr', prr ) -
palm/trunk/SOURCE/check_parameters.f90
r4534 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! unneccessary query for restart data format removed 28 ! 29 ! 4534 2020-05-14 18:35:22Z raasch 27 30 ! adjustments for I/O on reduced number of cores using shared memory MPI 28 31 ! … … 284 287 message_string = 'illegal restart data output format "' // & 285 288 TRIM( restart_data_format_output ) // '"' 286 CALL message( 'check_parameters', 'PA....', 1, 2, 0, 6, 0 )287 ENDIF288 289 IF ( ( TRIM( restart_data_format_input ) == 'mpi_shared_memory' .AND. &290 TRIM( restart_data_format_output ) /= 'mpi_shared_memory' ) .OR. &291 ( TRIM( restart_data_format_input ) /= 'mpi_shared_memory' .AND. &292 TRIM( restart_data_format_output ) == 'mpi_shared_memory' ) ) THEN293 message_string = 'restart data formats both must be set "mpi_shared_memory"'294 289 CALL message( 'check_parameters', 'PA....', 1, 2, 0, 6, 0 ) 295 290 ENDIF -
palm/trunk/SOURCE/chemistry_model_mod.f90
r4517 r4535 27 27 ! ----------------- 28 28 ! $Id$ 29 ! bugfix for restart data format query 30 ! 31 ! 4517 2020-05-03 14:29:30Z raasch 29 32 ! added restart with MPI-IO 30 33 ! … … 3250 3253 ENDDO 3251 3254 3252 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN3255 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 3253 3256 3254 3257 DO lsp = 1, nspec -
palm/trunk/SOURCE/diagnostic_output_quantities_mod.f90
r4518 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4518 2020-05-04 15:44:28Z suehring 27 30 ! * Define arrays over ghost points in order to allow for standard mpi-io 28 31 ! treatment. By this modularization of restart-data input is possible with … … 2273 2276 ENDIF 2274 2277 2275 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN2278 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 2276 2279 2277 2280 IF ( ALLOCATED( pt_2m_av ) ) CALL wrd_mpi_io( 'pt_2m_av', pt_2m_av ) -
palm/trunk/SOURCE/gust_mod.f90
r4517 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4517 2020-05-03 14:29:30Z raasch 27 30 ! added restart with MPI-IO for reading local arrays 28 31 ! … … 727 730 ! ENDIF 728 731 729 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN732 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 730 733 731 734 ! CALL wrd_mpi_io( 'global_parameter', global_parameter ) … … 757 760 ! ENDIF 758 761 759 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN762 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 760 763 761 764 ! IF ( ALLOCATED( u2_av ) ) CALL wrd_mpi_io( 'u2_av', u2_av ) -
palm/trunk/SOURCE/lagrangian_particle_model_mod.f90
r4520 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4520 2020-05-06 08:57:19Z schwenkel 27 30 ! Add error number 28 31 ! … … 3229 3232 WRITE ( 14 ) iran, iran_part 3230 3233 3231 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN3234 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 3232 3235 3233 3236 CALL wrd_mpi_io( 'iran', iran ) ! matching random numbers is still unresolved issue … … 3260 3263 WRITE ( 14 ) interpolation_trilinear 3261 3264 3262 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN3265 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 3263 3266 3264 3267 CALL wrd_mpi_io( 'curvature_solution_effects', curvature_solution_effects ) -
palm/trunk/SOURCE/land_surface_model_mod.f90
r4534 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4534 2020-05-14 18:35:22Z raasch 27 30 ! bugfix for switching on restart data output with MPI-IO 28 31 ! … … 6663 6666 ENDDO 6664 6667 6665 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN6668 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 6666 6669 6667 6670 IF ( ALLOCATED( c_liq_av ) ) CALL wrd_mpi_io( 'c_liq_av', c_liq_av ) -
palm/trunk/SOURCE/ocean_mod.f90
r4517 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4517 2020-05-03 14:29:30Z raasch 27 30 ! added restart with MPI-IO for reading local arrays 28 31 ! … … 2202 2205 WRITE ( 14 ) wave_breaking 2203 2206 2204 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN2207 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 2205 2208 2206 2209 CALL wrd_mpi_io( 'bc_sa_t', bc_sa_t ) … … 2252 2255 ENDIF 2253 2256 2254 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN2257 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 2255 2258 2256 2259 IF ( ALLOCATED( rho_ocean_av ) ) CALL wrd_mpi_io( 'rho_ocean_av', rho_ocean_av ) -
palm/trunk/SOURCE/palm.f90
r4496 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4496 2020-04-15 08:37:26Z raasch 27 30 ! bugfix: coupling character added to restart output filename 28 31 ! … … 432 435 ENDDO 433 436 434 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN437 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 435 438 ! 436 439 !-- Open MPI-IO restart file -
palm/trunk/SOURCE/parin.f90
r4505 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4505 2020-04-20 15:37:15Z schwenkel 27 30 ! Add flag for saturation check 28 31 ! … … 511 514 !-- input needs to be set now! This is normally done later in check parameters. 512 515 IF ( TRIM( restart_data_format ) /= 'fortran_binary' .AND. & 513 TRIM( restart_data_format ) /= 'mpi' ) THEN 516 TRIM( restart_data_format ) /= 'mpi' .AND. & 517 TRIM( restart_data_format ) /= 'mpi_shared_memory' ) THEN 514 518 message_string = 'illegal restart data format "' // TRIM( restart_data_format ) // '"' 515 519 CALL message( 'parin', 'PA....', 1, 2, 0, 6, 0 ) -
palm/trunk/SOURCE/plant_canopy_model_mod.f90
r4525 r4535 27 27 ! ----------------- 28 28 ! $Id$ 29 ! bugfix for restart data format query 30 ! 31 ! 4525 2020-05-10 17:05:07Z raasch 29 32 ! bugfix for reading/writing pcm_...rate_av with MPI-IO 30 33 ! … … 2577 2580 WRITE ( 14 ) pch_index 2578 2581 2579 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN2582 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 2580 2583 2581 2584 CALL wrd_mpi_io( 'pch_index', pch_index ) … … 2612 2615 ENDIF 2613 2616 2614 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN2617 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 2615 2618 2616 2619 ! -
palm/trunk/SOURCE/radiation_model_mod.f90
r4531 r4535 28 28 ! ----------------- 29 29 ! $Id$ 30 ! bugfix for restart data format query 31 ! 32 ! 4531 2020-05-13 09:52:22Z moh.hefny 30 33 ! Bugfix in gather flux pabs_pc_lwdif in non_parallel case 31 34 ! … … 12081 12084 ENDIF 12082 12085 12083 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN12086 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 12084 12087 12085 12088 IF ( ALLOCATED( rad_net_av ) ) CALL wrd_mpi_io( 'rad_net_av', rad_net_av ) -
palm/trunk/SOURCE/salsa_mod.f90
r4527 r4535 26 26 ! ----------------- 27 27 ! $Id$ 28 ! bugfix for restart data format query 29 ! 30 ! 4527 2020-05-11 09:39:55Z monakurppa 28 31 ! Correct a bug in salsa_wrd_global and salsa_check_data_output, 29 32 ! and add reglim to be read/written in the restart data … … 3402 3405 WRITE ( 14 ) reglim 3403 3406 3404 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN3407 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 3405 3408 3406 3409 DO i = 1, 7 … … 3527 3530 ENDIF 3528 3531 3529 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN3532 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 3530 3533 3531 3534 ALLOCATE( tmp_3d(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) -
palm/trunk/SOURCE/surface_data_output_mod.f90
r4517 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4517 2020-05-03 14:29:30Z raasch 27 30 ! added restart with MPI-IO for reading local arrays 28 31 ! … … 4954 4957 WRITE ( 14 ) average_count_surf 4955 4958 4956 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN4959 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 4957 4960 4958 4961 CALL wrd_mpi_io( 'average_count_surf', average_count_surf ) … … 4979 4982 ENDIF 4980 4983 4981 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN4984 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 4982 4985 4983 4986 IF ( ALLOCATED( surfaces%var_av ) ) CALL wrd_mpi_io( 'surfaces%var_av', surfaces%var_av ) -
palm/trunk/SOURCE/surface_mod.f90
r4521 r4535 26 26 ! ----------------- 27 27 ! $Id$ 28 ! bugfix for restart data format query 29 ! 30 ! 4521 2020-05-06 11:39:49Z schwenkel 28 31 ! Rename variable 29 32 ! … … 3955 3958 ENDDO 3956 3959 3957 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN3960 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 3958 3961 3959 3962 ! -
palm/trunk/SOURCE/synthetic_turbulence_generator_mod.f90
r4495 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4495 2020-04-13 20:11:20Z raasch 27 30 ! restart data handling with MPI-IO added 28 31 ! … … 1269 1272 WRITE ( 14 ) use_syn_turb_gen 1270 1273 1271 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN1274 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 1272 1275 1273 1276 CALL wrd_mpi_io( 'time_stg_adjust', time_stg_adjust ) -
palm/trunk/SOURCE/urban_surface_mod.f90
r4517 r4535 27 27 ! ----------------- 28 28 ! $Id$ 29 ! bugfix for restart data format query 30 ! 31 ! 4517 2020-05-03 14:29:30Z raasch 29 32 ! added restart with MPI-IO for reading local arrays 30 33 ! … … 8660 8663 ENDDO 8661 8664 8662 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN8665 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 8663 8666 ! 8664 8667 !-- There is no information about the PE-grid necessary because the restart files consists of the -
palm/trunk/SOURCE/user_module.f90
r4517 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4517 2020-05-03 14:29:30Z raasch 27 30 ! added restart with MPI-IO for reading local arrays 28 31 ! … … 1241 1244 ! WRITE ( 14 ) global_parameter 1242 1245 1243 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN1246 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 1244 1247 1245 1248 ! CALL rrd_mpi_io( 'global_parameter', global_parameter ) … … 1270 1273 ! ENDIF 1271 1274 1272 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN1275 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 1273 1276 1274 1277 ! IF ( ALLOCATED( u2_av ) ) CALL wrd_mpi_io( 'u2_av', u2_av ) -
palm/trunk/SOURCE/virtual_flight_mod.f90
r4522 r4535 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for restart data format query 28 ! 29 ! 4522 2020-05-06 14:17:05Z suehring 27 30 ! Modularize user_init_flight in order to provide an explicit interface. 28 31 ! … … 1112 1115 WRITE ( 14 ) z_pos 1113 1116 1114 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN1117 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 1115 1118 1116 1119 CALL wrd_mpi_io_global_array( 'u_agl', u_agl ) -
palm/trunk/SOURCE/wind_turbine_model_mod.f90
r4528 r4535 26 26 ! ----------------- 27 27 ! $Id$ 28 ! bugfix for restart data format query 29 ! 30 ! 4528 2020-05-11 14:14:09Z oliver.maas 28 31 ! added namelist parameter smearing_kernel_size 29 32 ! … … 610 613 WRITE ( 14 ) torque_gen_old 611 614 612 ELSEIF ( TRIM( restart_data_format_output) == 'mpi' ) THEN615 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 613 616 614 617 CALL wrd_mpi_io_global_array( 'generator_speed', generator_speed ) -
palm/trunk/SOURCE/write_restart_data_mod.f90
r4514 r4535 24 24 ! ----------------- 25 25 ! $Id$ 26 ! bugfix for restart data format query 27 ! 28 ! 4514 2020-04-30 16:29:59Z suehring 26 29 ! qsurf and ssurf added 27 30 ! … … 876 879 WRITE ( 14 ) z_i 877 880 878 ELSEIF ( restart_data_format_output == 'mpi' ) THEN881 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 879 882 ! 880 883 !-- Write global restart data using MPI-IO … … 1471 1474 ENDIF 1472 1475 1473 ELSEIF ( restart_data_format_output == 'mpi' ) THEN1476 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 1474 1477 ! 1475 1478 !-- Write local restart data using MPI-IO
Note: See TracChangeset
for help on using the changeset viewer.