Ignore:
Timestamp:
Oct 19, 2012 2:35:30 PM (12 years ago)
Author:
raasch
Message:

netCDF4 without parallel file support implemented
additional define string netcdf4_parallel is required to switch on parallel file support

File:
1 edited

Legend:

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

    r1008 r1031  
    44! Current revisions:
    55! -----------------
    6 !
     6! netCDF4 without parallel file support implemented
    77!
    88! Former revisions:
     
    4545!
    4646! 493 2010-03-01 08:30:24Z raasch
    47 ! NetCDF4 support (parallel output)
     47! netCDF4 support (parallel output)
    4848!
    4949! 355 2009-07-17 01:03:01Z letzel
    50 ! simulated_time in NetCDF output replaced by time_since_reference_point.
    51 ! Output of NetCDF messages with aid of message handling routine.
     50! simulated_time in netCDF output replaced by time_since_reference_point.
     51! Output of netCDF messages with aid of message handling routine.
    5252! Output of messages replaced by message handling routine.
    5353! Bugfix: to_be_resorted => s_av for time-averaged scalars
     
    7575! Description:
    7676! ------------
    77 ! Output of the 3D-arrays in NetCDF and/or AVS format.
     77! Output of the 3D-arrays in netCDF and/or AVS format.
    7878!------------------------------------------------------------------------------!
    7979
     
    113113!-- Open output file.
    114114!-- Also creates coordinate and fld-file for AVS.
    115 !-- For classic or 64bit NetCDF output or output of other (old) data formats,
     115!-- For classic or 64bit netCDF output or output of other (old) data formats,
    116116!-- for a run on more than one PE, each PE opens its own file and
    117117!-- writes the data of its subdomain in binary format (regardless of the format
     
    119119!-- file by combine_plot_fields in the format requested by the user (netcdf
    120120!-- and/or avs).
    121 !-- For NetCDF4/HDF5 output, data is written in parallel into one file.
     121!-- For netCDF4/HDF5 output, data is written in parallel into one file.
    122122    IF ( netcdf_output )  THEN
    123        IF ( netcdf_data_format < 3 )  THEN
     123       IF ( netcdf_data_format < 5 )  THEN
    124124          CALL check_open( 30 )
    125125          IF ( myid == 0 )  CALL check_open( 106+av*10 )
     
    136136
    137137!
    138 !-- Update the NetCDF time axis
     138!-- Update the netCDF time axis
    139139#if defined( __netcdf )
    140     IF ( myid == 0  .OR.  netcdf_data_format > 2 )  THEN
     140    IF ( myid == 0  .OR.  netcdf_data_format > 4 )  THEN
    141141       do3d_time_count(av) = do3d_time_count(av) + 1
    142142       IF ( netcdf_output )  THEN
     
    456456#if defined( __parallel )
    457457          IF ( netcdf_output )  THEN
    458              IF ( netcdf_data_format < 3 )  THEN
    459 !
    460 !--             Classic or 64bit format. Data is output in parallel in FORTRAN
    461 !--             binary format here, and later collected into one file by
     458             IF ( netcdf_data_format < 5 )  THEN
     459!
     460!--             Non-parallel netCDF output. Data is output in parallel in
     461!--             FORTRAN binary format here, and later collected into one file by
    462462!--             combine_plot_fields
    463463                IF ( myid == 0 )  THEN
     
    478478#if defined( __netcdf )
    479479!
    480 !--             Output in NetCDF4/HDF5 format.
     480!--             Parallel output in netCDF4/HDF5 format.
    481481!--             Do not output redundant ghost point data except for the
    482482!--             boundaries of the total domain.
Note: See TracChangeset for help on using the changeset viewer.