Skip to content
Snippets Groups Projects
Commit 5868d748 authored by anphi's avatar anphi
Browse files

remove ifort makefile since untested; renamed GRIB_API_LIB to ECCODES_LIB

parent da1b7883
Branches
Tags
No related merge requests found
......@@ -14,9 +14,9 @@
EXE = calc_etadot_debug.out
GRIB_API_LIB= -Bstatic -leccodes_f90 -leccodes -Bdynamic -lm -ljasper
ECCODES_LIB= -Bstatic -leccodes_f90 -leccodes -Bdynamic -lm -ljasper
EMOSLIB=-lemosR64
LIB = $(GRIB_API_LIB) $(EMOSLIB)
LIB = $(ECCODES_LIB) $(EMOSLIB)
ECCODES_INCLUDE_DIR=/usr/lib/x86_64-linux-gnu/fortran/gfortran-mod-15
INC = -I. -I$(ECCODES_INCLUDE_DIR)
......
###############################################################################
#
# Top level Makefile for ECMWFDATA7.0 software
#
# Last modified: December 1, 2015
#
###############################################################################
.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
GRIB_API_INCLUDE_DIR=/usr/local/include
GRIB_API_LIB= -L/usr/local/lib -leccodes_f90 -leccodes -lm -ljasper
OPT = -g -O3 -mcmodel=medium -unroll -inline -heap-arrays 32
DEBUG = ''
LIB = $(GRIB_API_LIB) -lemosR64 -lgfortran
FC=/opt/intel/composerxe/bin/ifort -132 -traceback -r8
F90C=/opt/intel/composerxe/bin/ifort -132 -traceback -r8
FFLAGS = $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR)
F90FLAGS = $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR)
LDFLAGS = $(OPT)
BINDIR = .
EXE = calc_etadot.s8.ifort
.f.o:
$(F90C) -c $(F90FLAGS) -132 $(DEBUG) $*.f
.f90.o:
$(F90C) -c $(F90FLAGS) -132 $(DEBUG) $*.f90
all: ${EXE}
clean:
rm *.o *.mod ${EXE}
phgrreal.o: phgrreal.f
$(F90C) -c -g -O3 phgrreal.f
grphreal.o: grphreal.f
$(F90C) -c -g -O3 grphreal.f
ftrafo.o: ftrafo.f
$(F90C) -c -g -O3 ftrafo.f
$(BINDIR)/${EXE}: phgrreal.o grphreal.o ftrafo.o rwgrib2.o posnam.o calc_etadot.o
$(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwgrib2.o posnam.o calc_etadot.o ${LIB}
###############################################################################
#
# End of the Makefile
#
###############################################################################
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment