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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin Püschel
Flexpart
Commits
4c0504c3
Commit
4c0504c3
authored
7 years ago
by
Gerald Klinkl
Browse files
Options
Downloads
Patches
Plain Diff
Remove CTBTO specific paths from general makefiles
parent
e4c6b7c6
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
flexpart_code/makefile.general.gfortran
+10
-20
10 additions, 20 deletions
flexpart_code/makefile.general.gfortran
flexpart_code/makefile.general.ifort
+11
-26
11 additions, 26 deletions
flexpart_code/makefile.general.ifort
with
21 additions
and
46 deletions
flexpart_code/makefile.general.gfortran
+
10
−
20
View file @
4c0504c3
...
...
@@ -4,34 +4,24 @@ GRIB2FLEXPART_EXECUTABLE = GRIB2FLEXPART_GFORTRAN
#############################################
#### Uncomment this to activate performance timing
#DEFS = -DPERFTIMER -DCTBTO
#DEFS = -DPERFTIMER
# DEFS = -DCTBTO
DEFS
=
#############################################
FC
=
gfortran
PREFIX
?=
/usr/local
GRIB_API_ROOT
=
/dvlscratch/ATM/morton/usr/local/grib_api
INCPATH
=
$(
PREFIX
)
/include
LIBPATH1
=
-L
$(
PREFIX
)
/lib
# NetCDF4 stuff
NC4_ROOT
=
/dvlscratch/ATM/morton/usr/local
NC4_INCLUDE_FLAGS
=
-I
${
NC4_ROOT
}
/netcdf-fortran-4.4.3/include
NC4_LIB_FLAGS
=
-Wl
,-rpath
=
${
NC4_ROOT
}
/netcdf-fortran-4.4.3/lib
\
-L
${
NC4_ROOT
}
/netcdf-fortran-4.4.3/lib
\
-lnetcdff
\
-Wl
,-rpath
=
${
NC4_ROOT
}
/netcdf-c-4.4.0/lib
\
-L
${
NC4_ROOT
}
/netcdf-c-4.4.0/lib
\
-lnetcdf
-lnetcdf
## INTEL_ROOT=/path/to/intel/compiler/root
## FC = $(INTEL_ROOT)/bin/ifort
## LIBPATH2 = -Wl,-rpath=${INTEL_ROOT}/lib/intel64 -L${INTEL_ROOT}/lib/intel64
## FFLAGS = -O2 -m64 -mcmodel=medium -fconvert=little-endian -frecord-marker=4 -I$(INCPATH)
## default is 4 for frecord-marker
FFLAGS
=
-O2
-mcmodel
=
medium
-fconvert
=
little-endian
-I
$(
INCPATH
)
INCPATH
=
${
GRIB_API_ROOT
}
/include
LIBPATH1
=
${
GRIB_API_ROOT
}
/lib
#LIBPATH2 =
FFLAGS
=
-O2
-m64
-mcmodel
=
medium
-fconvert
=
little-endian
-frecord-marker
=
4
-I
$(
INCPATH
)
${
NC4_INCLUDE_FLAGS
}
LDFLAGS
=
$(
FFLAGS
)
-L
$(
LIBPATH2
)
-L
$(
LIBPATH1
)
-lgrib_api_f90
-lgrib_api
-lm
-ljasper
${
NC4_LIB_FLAGS
}
LDFLAGS
=
$(
FFLAGS
)
$(
LIBPATH2
)
$(
LIBPATH1
)
-lgrib_api_f90
-lgrib_api
-ljasper
-lnetcdff
-lnetcdf
-lnetcdf
-lhdf5_hl
-lhdf5
-ldl
-lm
-lcurl
MODOBJS
=
\
...
...
This diff is collapsed.
Click to expand it.
flexpart_code/makefile.general.ifort
+
11
−
26
View file @
4c0504c3
...
...
@@ -3,38 +3,23 @@ FLEXPART_EXECUTABLE = flexpart_ifort
GRIB2FLEXPART_EXECUTABLE
=
grib2flexpart_ifort
#############################################
# DEFS = -DCTBTO
#### Uncomment this to activate performance timing
#DEFS = -DPERFTIMER
#############################################
INTEL_ROOT
=
/cots/intel/composer_xe_2013.2.146
GRIB_API_ROOT
=
/dvl/atm/klinkl/src/ifort_grib_api/grib_api-1.14.2
NC4_ROOT
=
/dvlscratch/ATM/morton/usrifort/local
FC
?=
ifort
PREFIX
?=
/usr/local
INCPATH
=
$(
PREFIX
)
/include
LIBPATH1
=
-L
$(
PREFIX
)
/lib
## INTEL_ROOT=/path/to/intel/compiler/root
## FC = $(INTEL_ROOT)/bin/ifort
## LIBPATH2 = -Wl,-rpath=${INTEL_ROOT}/lib/intel64 -L${INTEL_ROOT}/lib/intel64
F
C
=
$(
INTEL_ROOT
)
/bin/ifort
F
FLAGS
=
-O2
-mcmodel
=
medium
-convert
little_endian
-I
$(
INCPATH
)
INCPATH
=
$(
GRIB_API_ROOT
)
/fortran
LIBPATH1
=
$(
GRIB_API_ROOT
)
/fortran/.libs
LIBPATH2
=
$(
GRIB_API_ROOT
)
/src/.libs
LIBNC4_INCLUDES
=
-I
${
NC4_ROOT
}
/netcdf-fortran-4.4.3/include
LIBNC4_FLAGS
=
-Wl
,-rpath
=
${
NC4_ROOT
}
/netcdf-fortran-4.4.3/lib
\
-L
${
NC4_ROOT
}
/netcdf-fortran-4.4.3/lib
\
-lnetcdff
\
-Wl
,-rpath
=
${
NC4_ROOT
}
/netcdf-c-4.4.0/lib
\
-L
${
NC4_ROOT
}
/netcdf-c-4.4.0/lib
\
-lnetcdf
-lnetcdf
\
-Wl
,-rpath
=
${
INTEL_ROOT
}
/lib/intel64
\
-L
${
INTEL_ROOT
}
//lib/intel64
\
-lifport
-lifcore
-limf
-lsvml
-lintlc
FFLAGS
=
-O2
-mcmodel
=
medium
-convert
little_endian
-I
$(
INCPATH
)
\
${
LIBNC4_INCLUDES
}
LDFLAGS
=
$(
FFLAGS
)
-L
$(
LIBPATH2
)
-L
$(
LIBPATH1
)
-lgrib_api_f90
-lgrib_api
-lm
-ljasper
${
LIBNC4_FLAGS
}
LDFLAGS
=
$(
FFLAGS
)
$(
LIBPATH2
)
$(
LIBPATH1
)
-lgrib_api_f90
-lgrib_api
-ljasper
-lnetcdff
-lnetcdf
-lnetcdf
-lhdf5_hl
-lhdf5
-ldl
-lm
-lcurl
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
register
or
sign in
to comment