Skip to content
Snippets Groups Projects
Commit 7f89fb33 authored by Anne Philipp's avatar Anne Philipp
Browse files

substituted grib_api libs with eccodes

parent 34b247b9
No related branches found
No related tags found
No related merge requests found
...@@ -10,20 +10,15 @@ ...@@ -10,20 +10,15 @@
.SUFFIXES: .o .c .c~ .f .f~ .F90 .f90 .f90~ .f95 .f95~ .F .F~ .y .y~ .l .l~ \ .SUFFIXES: .o .c .c~ .f .f~ .F90 .f90 .f90~ .f95 .f95~ .F .F~ .y .y~ .l .l~ \
.s .s~ .sh .sh~ .h .h~ .C .C~ .a .s .s~ .sh .sh~ .h .h~ .C .C~ .a
#GRIB_API_INCLUDE_DIR=/usr/local/gcc-4.9.3/grib1.12.3//include
#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
#EMOSLIB=-lemosR64
OPT = -g OPT = -g
DEBUG = -g DEBUG = -g
LIB = $(GRIB_API_LIB) $(EMOSLIB) LIB = $(ECCODES_LIB) $(EMOSLIB)
FC=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian FC=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian
F90C=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian F90C=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian
FFLAGS = $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR) FFLAGS = $(OPT) -I. -I$(ECCODES_INCLUDE_DIR)
F90FLAGS = $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR) F90FLAGS = $(OPT) -I. -I$(ECCODES_INCLUDE_DIR)
LDFLAGS = $(OPT) LDFLAGS = $(OPT)
...@@ -51,8 +46,8 @@ grphreal.o: grphreal.f ...@@ -51,8 +46,8 @@ grphreal.o: grphreal.f
ftrafo.o: ftrafo.f ftrafo.o: ftrafo.f
$(F90C) -c -g -O3 -fopenmp ftrafo.f $(F90C) -c -g -O3 -fopenmp ftrafo.f
$(BINDIR)/CONVERT2: phgrreal.o grphreal.o ftrafo.o rwGRIB2.o posnam.o preconvert.o $(BINDIR)/${EXE}: phgrreal.o grphreal.o ftrafo.o rwGRIB2.o posnam.o preconvert.o
$(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/CONVERT2 ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB} $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
############################################################################### ###############################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment