Changeset a9cf4b1 in flexpart.git for src/readcommand.f90


Ignore:
Timestamp:
Apr 5, 2018, 12:30:54 PM (6 years ago)
Author:
Espen Sollum ATMOS <eso@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
3f149cc
Parents:
8fcfd08
Message:

Made enabling netCDF output during compilation optional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readcommand.f90

    r01e6052 ra9cf4b1  
    392392  endif
    393393
    394 !  check for netcdf output switch (use for non-namelist input only!)
     394! Check for netcdf output switch
     395!*******************************
    395396  if (iout.ge.8) then
    396397     lnetcdfout = 1
    397398     iout = iout - 8
    398 ! #ifndef NETCDF_OUTPUT
    399 !      print*,'ERROR: netcdf output not activated during compile time but used in COMMAND file!'
    400 !      print*,'Please recompile with netcdf library or use standard output format.'
    401 !      stop
    402 ! #endif
     399#ifndef USE_NCF
     400     write(*,*) 'ERROR: netcdf output not activated during compile time but used in COMMAND file!'
     401     write(*,*) 'Please recompile with netcdf library (`make [...] ncf=yes`) or use standard output format.'
     402     stop
     403#endif
    403404  endif
    404405
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG