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
b5d0e7e3
Commit
b5d0e7e3
authored
Apr 09, 2015
by
Espen Sollum
Browse files
Makefile modification
parent
f9ce123b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/makefile
View file @
b5d0e7e3
...
@@ -33,16 +33,14 @@ FLEXPART-ECMWF = FP_ecmwf_gfortran
...
@@ -33,16 +33,14 @@ FLEXPART-ECMWF = FP_ecmwf_gfortran
FLEXPART-GFS
=
FP_gfs_gfortran
FLEXPART-GFS
=
FP_gfs_gfortran
FLEXPART-GFS-MPI
=
FP_gfs_MPI
FLEXPART-GFS-MPI
=
FP_gfs_MPI
## Linker
LD
=
ld.gold
## COMPILERS
## COMPILERS
#
F90 = /usr/bin/gfortran
F90
=
/usr/bin/gfortran
F90
=
${HOME}
/gcc-4.9.1/bin/gfortran
#
F90 = ${HOME}/gcc-4.9.1/bin/gfortran
#MPIF90 = ${HOME}/opt/bin/mpifort
#MPIF90 = ${HOME}/opt/bin/mpifort
#MPIF90 = mpif90.mpich
#MPIF90 = mpif90.mpich
#
MPIF90 = mpif90.openmpi
MPIF90
=
mpif90.openmpi
MPIF90
=
mpifort
#
MPIF90 = mpifort
## OPTIMIZATION LEVEL
## OPTIMIZATION LEVEL
O_LEV
=
2
# [0,1,2,3,g,s,fast]
O_LEV
=
2
# [0,1,2,3,g,s,fast]
...
@@ -52,17 +50,17 @@ O_LEV_DBG = 0 # [0,g]
...
@@ -52,17 +50,17 @@ O_LEV_DBG = 0 # [0,g]
LIBS
=
-lgrib_api_f90
-lgrib_api
-lm
-ljasper
-lnetcdff
# -fopenmp # -llapack -lnetcdf
LIBS
=
-lgrib_api_f90
-lgrib_api
-lm
-ljasper
-lnetcdff
# -fopenmp # -llapack -lnetcdf
## 1) System libraries at NILU
## 1) System libraries at NILU
#
INCPATH1 = /usr/include
INCPATH1
=
/usr/include
#
INCPATH1 = /xnilu_wrk/flex_wrk/bin64/grib_api/include
INCPATH1
=
/xnilu_wrk/flex_wrk/bin64/grib_api/include
#
LIBPATH1 = /xnilu_wrk/flex_wrk/bin64/grib_api/lib
LIBPATH1
=
/xnilu_wrk/flex_wrk/bin64/grib_api/lib
#
LIBPATH2 = /usr/lib/x86_64-linux-gnu
LIBPATH2
=
/usr/lib/x86_64-linux-gnu
## 2) Home-made libraries
## 2) Home-made libraries
INCPATH1
=
${HOME}
/include
#
INCPATH1 = ${HOME}/include
INCPATH2
=
/homevip/flexpart/include/
#
INCPATH2 = /homevip/flexpart/include/
#LIBPATH2 = /homevip/flexpart/lib/
#LIBPATH2 = /homevip/flexpart/lib/
LIBPATH1
=
${HOME}
/lib
#
LIBPATH1 = ${HOME}/lib
LIBPATH2
=
${HOME}
/lib
#
LIBPATH2 = ${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
-fuse-linker-plugin
$(FUSER)
# -march=native
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
-fuse-linker-plugin
$(FUSER)
# -march=native
...
...
Write
Preview
Supports
Markdown
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