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