Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flexpart
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin Püschel
Flexpart
Commits
f0a2e58c
Commit
f0a2e58c
authored
Aug 7, 2020
by
Ignacio Pisso
Browse files
Options
Downloads
Patches
Plain Diff
fix makefile to compile with eccodes. make ncf build the default
parent
17c3c47d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/makefile
+9
-3
9 additions, 3 deletions
src/makefile
with
9 additions
and
3 deletions
src/makefile
+
9
−
3
View file @
f0a2e58c
...
...
@@ -43,8 +43,8 @@ SHELL = /bin/bash
#
# NETCDF OUTPUT
# To add support for output in netCDF format, append `ncf=yes` to the
# `make` command
#
# `make` command
(now the default)
#
To remove the dependency append `ncf=no` (or any string different from "yes")
################################################################################
## PROGRAMS
...
...
@@ -60,6 +60,8 @@ FLEXPART-MPI-DBG = DBG_FLEXPART_MPI
# Serial processing executable
FLEXPART-SERIAL
=
FLEXPART
ncf
=
yes
# the following is for NILU only
#ifeq ($(gcc), 4.9)
...
...
@@ -93,6 +95,10 @@ FLEXPART-SERIAL = FLEXPART
INCPATH2
=
./
LIBPATH1
=
/usr/lib/
INCPATH2
=
/opt/eccodes/include/
# INCPATH2 = ./
LIBPATH2
=
/opt/eccodes/lib/
# the following works on a Debian buster (and probably newer) machine
# F90 = gfortran
# MPIF90 = mpifort
...
...
@@ -132,7 +138,7 @@ DBGFLAGS = -I$(INCPATH1) -I$(INCPATH2) -O$(O_LEV_DBG) -g3 -ggdb3 -cpp \
-fbacktrace
-Wall
-fdump-core
$(
FUSER
)
-fcheck
=
all
#
\
# -ffpe-trap=invalid,overflow,denormal,underflow,zero
LDFLAGS
=
$(
FFLAGS
)
-L
$(
LIBPATH1
)
-Wl
,-rpath,
$(
LIBPATH1
)
$(
LIBS
)
LDFLAGS
=
$(
FFLAGS
)
-L
$(
LIBPATH1
)
-L
$(
LIBPATH2
)
-Wl
,-rpath,
$(
LIBPATH1
)
$(
LIBS
)
LDDEBUG
=
$(
DBGFLAGS
)
-L
$(
LIBPATH1
)
$(
LIBS
)
MODOBJS
=
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment