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
cd851382
Commit
cd851382
authored
Mar 18, 2015
by
Espen Sollum
Browse files
Modified makefile to compile under user flexpart, with working NetCDF4 output
parent
1d207bb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/makefile
View file @
cd851382
...
...
@@ -34,12 +34,12 @@ FLEXPART-GFS = FP_gfs_gfortran
FLEXPART-GFS-MPI
=
FP_gfs_MPI
## COMPILERS
#
F90 = /usr/bin/gfortran
F90
=
${HOME}
/gcc-4.9.1/bin/gfortran
F90
=
/usr/bin/gfortran
#
F90 = ${HOME}/gcc-4.9.1/bin/gfortran
#MPIF90 = ${HOME}/opt/bin/mpifort
#MPIF90 = mpif90.mpich
#
MPIF90 = mpif90.openmpi
MPIF90
=
mpifort
MPIF90
=
mpif90.openmpi
#
MPIF90 = mpifort
## OPTIMIZATION LEVEL
O_LEV
=
2
# [0,1,2,3,g,s,fast]
...
...
@@ -50,15 +50,15 @@ LIBS = -lgrib_api_f90 -lgrib_api -lm -ljasper -lnetcdff # -fopenmp # -llapack
## 1) System libraries at NILU
# INCPATH1 = /usr/include
#
INCPATH
2
= /xnilu_wrk/flex_wrk/bin64/grib_api/include
#
LIBPATH1 = /xnilu_wrk/flex_wrk/bin64/grib_api/lib
INCPATH
1
=
/xnilu_wrk/flex_wrk/bin64/grib_api/include
LIBPATH1
=
/xnilu_wrk/flex_wrk/bin64/grib_api/lib
# LIBPATH2 = /usr/lib/x86_64-linux-gnu
## 2) Home-made libraries
INCPATH
1
=
${HOME}
/include
INCPATH2
=
${HOME}
/include
LIBPATH
1
=
${HOME}
/lib
LIB
PATH2
=
${HOME}
/lib
#
INCPATH
2
= ${HOME}/include
INCPATH2
=
/homevip/flexpart
/include
LIBPATH
2
=
/homevip/flexpart
/lib
#INC
PATH2 = ${HOME}/lib
FFLAGS
=
-I
$(INCPATH1)
-I
$(INCPATH2)
-O
$(O_LEV)
-g
-m64
-mcmodel
=
medium
-fconvert
=
little-endian
-frecord-marker
=
4
-fmessage-length
=
0
-flto
=
jobserver
-O
$(O_LEV)
-mtune
=
native
$(FUSER)
# -march=native
DBGFLAGS
=
-I
$(INCPATH1)
-I
$(INCPATH2)
-O
$(O_LEV_DBG)
-g3
-ggdb3
-m64
-mcmodel
=
medium
-fconvert
=
little-endian
-frecord-marker
=
4
-fmessage-length
=
0
-flto
=
jobserver
-O
$(O_LEV_DBG)
-fbacktrace
-fdump-core
-Warray-bounds
-ffpe-trap
=
invalid,overflow,denormal
-Wall
-fcheck
=
all
$(FUSER)
# ,underflow,zero
...
...
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