Changeset f0a2e58 in flexpart.git


Ignore:
Timestamp:
Aug 7, 2020, 9:21:53 AM (4 years ago)
Author:
Ignacio Pisso <Ignacio.Pisso@…>
Branches:
bugfixes+enhancements, release-10.4.1, scaling-bug
Children:
49e63b9
Parents:
17c3c47
Message:

fix makefile to compile with eccodes. make ncf build the default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/makefile

    r5cbd51b rf0a2e58  
    4444#  NETCDF OUTPUT
    4545#    To add support for output in netCDF format, append `ncf=yes` to the
    46 #    `make` command
    47 #
     46#    `make` command (now the default)
     47#    To remove the dependency  append `ncf=no` (or any string different from "yes")
    4848################################################################################
    4949
     
    6060# Serial processing executable
    6161FLEXPART-SERIAL = FLEXPART
     62
     63ncf=yes
    6264
    6365# the following is for NILU only
     
    9496        LIBPATH1  = /usr/lib/
    9597
     98        INCPATH2  = /opt/eccodes/include/
     99#       INCPATH2  = ./
     100        LIBPATH2  = /opt/eccodes/lib/
     101
    96102# the following works on a Debian buster (and probably newer) machine
    97103#       F90       = gfortran
     
    133139            #  -ffpe-trap=invalid,overflow,denormal,underflow,zero
    134140
    135 LDFLAGS  = $(FFLAGS) -L$(LIBPATH1) -Wl,-rpath,$(LIBPATH1) $(LIBS)
     141LDFLAGS  = $(FFLAGS) -L$(LIBPATH1) -L$(LIBPATH2) -Wl,-rpath,$(LIBPATH1) $(LIBS)
    136142LDDEBUG  = $(DBGFLAGS) -L$(LIBPATH1) $(LIBS)
    137143
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG