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
977906d8
Commit
977906d8
authored
Oct 16, 2014
by
Ignacio Pisso
Browse files
fix to compile on laptop with gfortran 4.9
parent
42241406
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/makefile.laptop
0 → 100644
View file @
977906d8
SHELL
=
/bin/bash
#MAIN = FP_ecmwf_gfortran
MAIN
=
FLEXPART_laptop
#
FC
=
gfortran
INCPATH
=
/xnilu_wrk/flex_wrk/bin64/grib_api/include
LIBPATH1
=
/xnilu_wrk/flex_wrk/bin64/grib_api/lib
LIBPATH2
=
/usr/lib/x86_64-linux-gnu/
FFLAGS
=
-O2
-m64
-mcmodel
=
medium
-fconvert
=
little-endian
-frecord-marker
=
4
-I
$(INCPATH)
#FFLAGS = -O2 -mcmodel=medium -fconvert=little-endian -frecord-marker=4 -I$(INCPATH)
#options for Lion
#libs_dir=/Users/ignacio_in_EBCRPA/flexpart/libs/
libs_dir
=
/Users/ignacio/flexpart/libs/
INCPATH
=
$(libs_dir)
/grib_api-1.12.3_dir/include
LIBPATH1
=
$(libs_dir)
/grib_api-1.12.3_dir/lib
LIBPATH2
=
$(libs_dir)
/jasper_dir/lib
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
\
interpol_mod.o cmapf_mod.o
\
unc_mod.o oh_mod.o
\
xmass_mod.o flux_mod.o
\
point_mod.o outg_mod.o
OBJECTS
=
\
writeheader.o writeheader_txt.o writeheader_surf.o assignland.o
\
calcpar.o part0.o
\
caldate.o partdep.o
\
coordtrafo.o psih.o
\
raerod.o
\
drydepokernel.o random.o
\
erf.o readavailable.o
\
ew.o readcommand.o
\
advance.o readdepo.o
\
releaseparticles.o psim.o
\
FLEXPART.o readlanduse.o
\
getfields.o init_domainfill.o
\
interpol_wind.o readoutgrid.o
\
interpol_all.o readpaths.o
\
getrb.o readreceptors.o
\
getrc.o readreleases.o
\
getvdep.o readspecies.o
\
interpol_misslev.o readwind.o
\
conccalc.o richardson.o
\
concoutput.o concoutput_surf.o scalev.o
\
pbl_profile.o readOHfield.o
\
juldate.o timemanager.o
\
interpol_vdep.o interpol_rain.o
\
verttransform.o partoutput.o
\
hanna.o wetdepokernel.o
\
mean.o wetdepo.o
\
hanna_short.o windalign.o
\
obukhov.o gridcheck.o
\
hanna1.o initialize.o
\
gridcheck_nests.o
\
readwind_nests.o calcpar_nests.o
\
verttransform_nests.o interpol_all_nests.o
\
interpol_wind_nests.o interpol_misslev_nests.o
\
interpol_vdep_nests.o interpol_rain_nests.o
\
getvdep_nests.o
\
readageclasses.o readpartpositions.o
\
calcfluxes.o fluxoutput.o
\
qvsat.o skplin.o
\
convmix.o calcmatrix.o
\
convect43c.o redist.o
\
sort2.o distance.o
\
centerofmass.o plumetraj.o
\
openouttraj.o calcpv.o
\
calcpv_nests.o distance2.o
\
clustering.o interpol_wind_short.o
\
interpol_wind_short_nests.o shift_field_0.o
\
shift_field.o outgrid_init.o
\
openreceptors.o boundcond_domainfill.o
\
partoutput_short.o readoutgrid_nest.o
\
outgrid_init_nest.o writeheader_nest.o writeheader_nest_surf.o
\
concoutput_nest.o concoutput_surf_nest.o wetdepokernel_nest.o
\
drydepokernel_nest.o zenithangle.o
\
ohreaction.o getvdep_nests.o
\
initial_cond_calc.o initial_cond_output.o
\
dynamic_viscosity.o get_settling.o
$(MAIN)
:
$(MODOBJS) $(OBJECTS)
$(FC)
*
.o
-o
$(MAIN)
$(LDFLAGS)
$(OBJECTS)
:
$(MODOBJS)
%.o
:
%.f90
$(FC)
-c
$(FFLAGS)
$<
clean
:
rm
*
.o
*
.mod
src/par_mod.f90
View file @
977906d8
...
...
@@ -153,8 +153,8 @@ module par_mod
! Maximum dimensions of the nested input grids
!*********************************************
!
integer,parameter :: maxnests=0, nxmaxn=0, nymaxn=0
integer
,
parameter
::
maxnests
=
1
,
nxmaxn
=
351
,
nymaxn
=
351
!ECMWF
integer
,
parameter
::
maxnests
=
0
,
nxmaxn
=
0
,
nymaxn
=
0
!
integer,parameter :: maxnests=1,nxmaxn=351,nymaxn=351 !ECMWF
!integer,parameter :: maxnests=1, nxmaxn=201, nymaxn=161 ! FNL XF
! maxnests maximum number of nested grids
! nxmaxn,nymaxn maximum dimension of nested wind fields in
...
...
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