source: flexpart.git/src/makefile.laptop @ 977906d

FPv9.3.1FPv9.3.1b_testingFPv9.3.2NetCDFdepositiondevfp9.3.1-20161214-nc4grib2nc4_repairinputlistlaptoprelease-10univie
Last change on this file since 977906d was 977906d, checked in by Ignacio Pisso <Ignacio.Pisso@…>, 5 years ago

fix to compile on laptop with gfortran 4.9

  • Property mode set to 100644
File size: 3.3 KB
Line 
1SHELL = /bin/bash
2#MAIN = FP_ecmwf_gfortran
3MAIN = FLEXPART_laptop
4#
5
6FC       = gfortran
7INCPATH  = /xnilu_wrk/flex_wrk/bin64/grib_api/include
8LIBPATH1 = /xnilu_wrk/flex_wrk/bin64/grib_api/lib
9LIBPATH2 =   /usr/lib/x86_64-linux-gnu/
10FFLAGS   =   -O2 -m64 -mcmodel=medium -fconvert=little-endian -frecord-marker=4 -I$(INCPATH)
11#FFLAGS   =   -O2 -mcmodel=medium -fconvert=little-endian -frecord-marker=4 -I$(INCPATH)
12
13#options for Lion
14#libs_dir=/Users/ignacio_in_EBCRPA/flexpart/libs/
15libs_dir=/Users/ignacio/flexpart/libs/
16INCPATH  = $(libs_dir)/grib_api-1.12.3_dir/include
17LIBPATH1 = $(libs_dir)/grib_api-1.12.3_dir/lib
18LIBPATH2 = $(libs_dir)/jasper_dir/lib
19
20LDFLAGS  = $(FFLAGS) -L$(LIBPATH2) -L$(LIBPATH1) -lgrib_api_f90 -lgrib_api -lm -ljasper
21
22MODOBJS = \
23par_mod.o    com_mod.o \
24conv_mod.o              hanna_mod.o \
25interpol_mod.o          cmapf_mod.o \
26unc_mod.o               oh_mod.o \
27xmass_mod.o             flux_mod.o \
28point_mod.o             outg_mod.o
29
30OBJECTS = \
31writeheader.o  writeheader_txt.o   writeheader_surf.o       assignland.o\
32calcpar.o               part0.o \
33caldate.o               partdep.o \
34coordtrafo.o            psih.o \
35raerod.o \
36drydepokernel.o         random.o \
37erf.o                   readavailable.o \
38ew.o                    readcommand.o \
39advance.o               readdepo.o \
40releaseparticles.o      psim.o     \
41FLEXPART.o              readlanduse.o \
42getfields.o             init_domainfill.o\
43interpol_wind.o         readoutgrid.o \
44interpol_all.o          readpaths.o \
45getrb.o                 readreceptors.o \
46getrc.o                 readreleases.o \
47getvdep.o               readspecies.o \
48interpol_misslev.o      readwind.o \
49conccalc.o              richardson.o \
50concoutput.o  concoutput_surf.o          scalev.o \
51pbl_profile.o           readOHfield.o\
52juldate.o               timemanager.o \
53interpol_vdep.o         interpol_rain.o \
54verttransform.o         partoutput.o \
55hanna.o                 wetdepokernel.o \
56mean.o                  wetdepo.o \
57hanna_short.o           windalign.o \
58obukhov.o               gridcheck.o \
59hanna1.o                initialize.o \
60                        gridcheck_nests.o \
61readwind_nests.o        calcpar_nests.o \
62verttransform_nests.o   interpol_all_nests.o \
63interpol_wind_nests.o   interpol_misslev_nests.o \
64interpol_vdep_nests.o   interpol_rain_nests.o \
65getvdep_nests.o \
66readageclasses.o        readpartpositions.o \
67calcfluxes.o            fluxoutput.o \
68qvsat.o                 skplin.o \
69convmix.o               calcmatrix.o \
70convect43c.o               redist.o \
71sort2.o                 distance.o \
72centerofmass.o          plumetraj.o \
73openouttraj.o           calcpv.o \
74calcpv_nests.o          distance2.o \
75clustering.o            interpol_wind_short.o \
76interpol_wind_short_nests.o shift_field_0.o \
77shift_field.o           outgrid_init.o \
78openreceptors.o         boundcond_domainfill.o\
79partoutput_short.o      readoutgrid_nest.o \
80outgrid_init_nest.o     writeheader_nest.o writeheader_nest_surf.o \
81concoutput_nest.o concoutput_surf_nest.o      wetdepokernel_nest.o \
82drydepokernel_nest.o    zenithangle.o \
83ohreaction.o            getvdep_nests.o \
84initial_cond_calc.o     initial_cond_output.o \
85dynamic_viscosity.o     get_settling.o
86
87
88$(MAIN): $(MODOBJS) $(OBJECTS)
89        $(FC) *.o -o $(MAIN) $(LDFLAGS)
90
91$(OBJECTS): $(MODOBJS)
92
93%.o: %.f90
94        $(FC) -c $(FFLAGS) $<
95
96clean:
97        rm *.o *.mod
98
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG