Ignore:
Timestamp:
Mar 13, 2014 2:58:42 PM (10 years ago)
Author:
fricke
Message:

Adjustments for parallel NetCDF output for lccrayh/lccrayb (Cray XC30 systems)

File:
1 edited

Legend:

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

    r1277 r1308  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! +netcdf_data_format_save
     23! For masked data, parallel netcdf output is not tested so far, hence
     24! netcdf_data_format is switched back to non-paralell output.
    2325!
    2426! Former revisions:
     
    186188
    187189    CHARACTER (LEN=9) ::  time_to_string
     190    INTEGER           ::  netcdf_data_format_save
    188191
    189192!
     
    810813!
    811814!--    masked data output
     815!--    Parallel netcdf output is not tested so far for masked data, hence
     816!--    netcdf_data_format is switched back to non-paralell output.
     817       netcdf_data_format_save = netcdf_data_format
     818       IF ( netcdf_data_format == 5 ) netcdf_data_format = 3
     819       IF ( netcdf_data_format == 6 ) netcdf_data_format = 4
    812820       DO  mid = 1, masks
    813821          IF ( time_domask(mid) >= dt_domask(mid) )  THEN
     
    817825          ENDIF
    818826       ENDDO
     827       netcdf_data_format = netcdf_data_format_save
    819828
    820829!
     
    826835          CALL data_output_2d( 'yz', 1 )
    827836          CALL data_output_3d( 1 )
     837!--       Parallel netcdf output is not tested so far for masked data, hence
     838!--       netcdf_data_format is switched back to non-paralell output.
     839          netcdf_data_format_save = netcdf_data_format
     840          IF ( netcdf_data_format == 5 ) netcdf_data_format = 3
     841          IF ( netcdf_data_format == 6 ) netcdf_data_format = 4
    828842          DO  mid = 1, masks
    829843             CALL data_output_mask( 1 )
    830844          ENDDO
     845          netcdf_data_format = netcdf_data_format_save
    831846          time_do_av = MOD( time_do_av, MAX( dt_data_output_av, dt_3d ) )
    832847       ENDIF
Note: See TracChangeset for help on using the changeset viewer.