Ignore:
Timestamp:
Sep 15, 2011 1:58:31 PM (10 years ago)
Author:
raasch
Message:

New:
---

The number of parallel I/O operations can be limited with new mrun-option -w.
(advec_particles, data_output_2d, data_output_3d, header, init_grid, init_pegrid, init_3d_model, modules, palm, parin, write_3d_binary)

Changed:


mrun option -T is obligatory

Errors:


Bugfix: No zero assignments to volume_flow_initial and volume_flow_area in
case of normal restart runs. (init_3d_model)

initialization of u_0, v_0. This is just to avoid access of uninitialized
memory in exchange_horiz_2d, which causes respective error messages
when the Intel thread checker (inspector) is used. (production_e)

Bugfix for ts limitation (prandtl_fluxes)

File:
1 edited

Legend:

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

    r756 r759  
    44! Current revisions:
    55! -----------------
     6! calculation of number of io_blocks and the io_group to which the respective
     7! PE belongs
    68!
    79! ATTENTION: nnz_x undefined problem still has to be solved!!!!!!!!
     
    12371239    ENDIF
    12381240
     1241!
     1242!-- Calculate the number of groups into which parallel I/O is split.
     1243!-- The default for files which are opened by all PEs (or where each
     1244!-- PE opens his own independent file) is, that all PEs are doing input/output
     1245!-- in parallel at the same time. This might cause performance or even more
     1246!-- severe problems depending on the configuration of the underlying file
     1247!-- system.
     1248!-- First, set the default:
     1249    IF ( maximum_parallel_io_streams == -1  .OR. &
     1250         maximum_parallel_io_streams > numprocs )  THEN
     1251       maximum_parallel_io_streams = numprocs
     1252    ENDIF
     1253
     1254!
     1255!-- Now calculate the number of io_blocks and the io_group to which the
     1256!-- respective PE belongs. I/O of the groups is done in serial, but in parallel
     1257!-- for all PEs belonging to the same group. A preliminary setting with myid
     1258!-- based on MPI_COMM_WORLD has been done in parin.
     1259    io_blocks = numprocs / maximum_parallel_io_streams
     1260    io_group  = MOD( myid+1, io_blocks )
     1261   
     1262
    12391263 END SUBROUTINE init_pegrid
Note: See TracChangeset for help on using the changeset viewer.