Changeset 7f89fb3 in flex_extract.git


Ignore:
Timestamp:
Oct 12, 2018, 10:57:42 AM (7 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
dev
Children:
99c3bd0
Parents:
34b247b
Message:

substituted grib_api libs with eccodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/fortran/Makefile.gfortran

    r25b14be r7f89fb3  
    1111           .s .s~ .sh .sh~ .h .h~ .C .C~ .a
    1212
    13 
    14 #GRIB_API_INCLUDE_DIR=/usr/local/gcc-4.9.3/grib1.12.3//include
    15 #GRIB_API_LIB=-openmp -L/usr/local/gcc-4.9.3/grib1.12.3/lib -Bstatic  -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic  -lm  -ljasper
    16 #EMOSLIB=-lemosR64
    17 
    1813OPT     = -g
    1914DEBUG   = -g
    20 LIB     =  $(GRIB_API_LIB) $(EMOSLIB)
     15LIB     =  $(ECCODES_LIB) $(EMOSLIB)
    2116
    2217FC=gfortran   -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore  -ffixed-line-length-132 -fopenmp  -fconvert=big-endian 
    2318F90C=gfortran   -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore  -ffixed-line-length-132 -fopenmp  -fconvert=big-endian
    2419
    25 FFLAGS =  $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR)
    26 F90FLAGS =  $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR)
     20FFLAGS =  $(OPT) -I. -I$(ECCODES_INCLUDE_DIR)
     21F90FLAGS =  $(OPT) -I. -I$(ECCODES_INCLUDE_DIR)
    2722
    2823LDFLAGS =  $(OPT)
     
    5247        $(F90C) -c -g -O3 -fopenmp ftrafo.f
    5348
    54 $(BINDIR)/CONVERT2:     phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  posnam.o preconvert.o
    55         $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/CONVERT2 ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
     49$(BINDIR)/${EXE}:       phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  posnam.o preconvert.o
     50        $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
    5651
    5752
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG