Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
flexpart
flexpart
Commits
c8df6807
Commit
c8df6807
authored
Mar 06, 2018
by
Espen Sollum
Browse files
changed makefile to compile on Jenkins
parent
a63831ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/makefile
View file @
c8df6807
...
...
@@ -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 / nilu-projects.nilu.no
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
LIBPATH1
=
${ROOT_DIR}
/lib
endif
LDFLAGS
=
$(FFLAGS)
-L
$(LIBPATH2)
-L
$(LIBPATH1)
-lgrib_api_f90
-lgrib_api
-lm
-ljasper
MODOBJS
=
\
par_mod.o com_mod.o
\
conv_mod.o hanna_mod.o
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment