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