Commit c8df6807 authored by Espen Sollum's avatar Espen Sollum
Browse files

changed makefile to compile on Jenkins

parent a63831ff
......@@ -12,9 +12,22 @@ LIBPATH2 = /usr/lib/x86_64-linux-gnu/
#FFLAGS = -O2 -m64 -mcmodel=medium -fconvert=little-endian -frecord-marker=4 -I$(INCPATH)
FFLAGS = -m64 -mcmodel=medium -fconvert=little-endian -frecord-marker=4 -I$(INCPATH)
#FFLAGS = -fbounds-check -m64 -mcmodel=medium -fconvert=little-endian -frecord-marker=4 -I$(INCPATH)
LDFLAGS = $(FFLAGS) -L$(LIBPATH2) -L$(LIBPATH1) -lgrib_api_f90 -lgrib_api -lm -ljasper
ifeq ($(gcc), 4.9)
# Compiled libraries under user ~flexpart, gfortran v4.9
# Use this option for automated build on jenkins /
ROOT_DIR = /homevip/flexpart/
F90 = ${ROOT_DIR}/gcc-4.9.1/bin/gfortran
MPIF90 = ${ROOT_DIR}/bin/mpifort
INCPATH = ${ROOT_DIR}/gcc-4.9.1/include
LDFLAGS = $(FFLAGS) -L$(LIBPATH2) -L$(LIBPATH1) -lgrib_api_f90 -lgrib_api -lm -ljasper
par_mod.o com_mod.o \
conv_mod.o hanna_mod.o \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment