source: trunk/SOURCES/Makefile.grisli.inc @ 65

Last change on this file since 65 was 65, checked in by dumas, 8 years ago

Deleting unused variables and move old sources

File size: 22.7 KB
Line 
1# Makefile de la version avec le new remplimat
2# Les options de complilations sont dans les fichiers specifiques, adaptes aux diverses machines utilisees
3# FT options de compilation
4# LK options de link
5# F_NETCDF options de compilation + librairies NETCDF
6
7# pour lancer des jobs avec lecture d'un fichier namelist
8# nojob pour lancer avec fichier param dans repertoire resultat
9JOB = 'nojob'
10# job pour lancer avec fichier param nom quelconque dans SOURCES/Fichiers-parametres
11#JOB = 'job'
12
13# pour lancer
14# sur pc: nohup `echo job-test | LBqAntar-15` &    ou echo job-test | LBqAntar-15
15# sur r2d2 le mettre dans job*sh
16
17#-------------------------------------------
18# listes pour la resolution equation elliptique
19#------------------------------------------------
20
21# nouvelle version de remplimat
22#----------------------------------
23
24mod_ell             = remplimat_declar_tabTu_mod.o eq_ellipt_sgbsv_mod-0.2.o
25routine_elliptiques = remplimat-shelves-tabTu.o graphique_L2.o graph-sgbsv.o
26diagnoshelf         = diagno-L2_mod.o
27
28
29# liste de modules communs a toutes geographies/experiences
30#-----------------------------------------------------------
31
32# modules servant aux declarations globales
33mod_dim_communs = runparam_mod.o param_phy_mod.o \
34        3D-physique-gen_mod.o io_netcdf_GRISLI.o
35
36
37
38# modules climats : doivent etre compatibles avec les modules choix
39# il faut choisir un des deux ou un specifique a une geometrie.
40
41# module de forcage climatique C. Dumas
42mod_clim_tof = climat_forcage_mois_mod.o climat-forcage-insolation_mod_oneway.o \
43        climat-forcage-insolation_mod.o climat_GrIce2sea_years_mod.o \
44        climat_GrIce2sea_years_perturb_mod.o \
45        climat-perturb_mod-0.4.o \
46        ablation_mod.o no_ablation_mod.o
47
48# methode forcage basee sur des snapshots climats
49mod_clim_forcage = climat-forcage_mod-0.4.o \
50        declare-month_mod.o \
51        declare-month_lapsecouche_mod.o  \
52        ablation_ann_july_mod.o \
53        ablation_month.o accum_month.o no_ablation_mod.o \
54        massb-ant_forcage-0.4.o accum7.o \
55        ablation_month_lapsecouche.o accum_month_lapsecouche.o
56
57# methode perturbation des champs actuels
58mod_clim_perturb = climat-perturb_mod-0.4.o climat-perturb-mois_mod.o \
59        climat-perturb-mois_lapsecouche_mod.o \
60        declare-month_mod.o \
61        declare-month_lapsecouche_mod.o  \
62        ablation_ann_july_mod.o \
63        ablation_month.o accum_month.o no_ablation_mod.o \
64        ablation_month_lapsecouche.o accum_month_lapsecouche.o \
65        massb_perturb_mois.o massb_perturb_mois_lapsecouche.o
66
67mod_communs = util_recovery.o \
68        interface_input.o \
69        iso_declar_mod-0.3.o isostasie_mod-0.3.o noisostasie_mod-0.3.o \
70        deformation_mod_2lois.o deformation_mod_2lois_isotherme.o     \
71        sliding_Bindshadler_mod.o no_sliding.o                      \
72        dragging_hwatermax_0.2_mod.o dragging_calc_beta_mod.o  \
73        dragging_hwat-contigu_mod.o dragging_hwat_contmaj_mod.o \
74        dragging_hwat_sedim_mod.o dragging_neff_slope_mod.o \
75        calving_frange.o no_calving.o no_lakes.o \
76        out_profile_mod.o printtable_mod.o mix-SIA-L1_mod.o \
77        relaxation_water_diffusion.o \
78        prescribe-H-i2s_mod.o  \
79        resol_adv_diff_2D-sept2009.o  \
80        conserv-mass-adv-diff_sept2009_mod.o  \
81        eaubasale-0.5_mod.o spinup_mod.o no_spinup_mod.o \
82        tridiag_mod-0.3.o out_horiz_mod.o bmelt-seuil-profondeur_mod.o
83
84mod_communs_RGL =   util_recovery.o \
85        interface_input.o \
86        iso_declar_mod-0.3.o isostasie_mod-0.3.o noisostasie_mod-0.3.o \
87        deformation_mod_2lois.o deformation_mod_2lois_isotherme.o      \
88        sliding_Bindshadler_mod.o no_sliding.o                      \
89        dragging_hwatermax_0.2_mod.o dragging_calc_beta_mod.o  \
90        dragging_hwat-contigu_mod.o dragging_hwat_contmaj_mod.o \
91        calving_frange.o no_calving.o no_lakes.o \
92        out_profile_mod.o printtable_mod.o mix-SIA-L1_mod.o \
93        relaxation_water_diffusion.o \
94        prescribe-H-i2s_mod.o   \
95        resol_adv_diff_2D-sept2009.o  \
96        conserv-mass-adv-diff_sept2009_mod.o  \
97        eaubasale-0.5_mod.o spinup_mod.o no_spinup_mod.o \
98        tridiag_mod-0.3.o out_horiz_mod.o bmelt-seuil-profondeur_mod.o
99
100
101# attention les tracers reclament le climat_perturb
102mod_tracers = tracer_vars_mod.o tracer_mod.o notracer_mod.o \
103        interpolate_tracer.o celltest_tracer.o 
104# no_tracer a part pour eviter pb avec climat_perturb => voir avec Cat
105mod_no_tracers = tracer_vars_mod.o notracer_mod.o
106
107
108Proto_recul = proto_declar_3D_grisli_mod.o \
109        declar_io_ncdf_proto_mod.o\
110        declar_proto_recul.o \
111        proto_recul_mod.o \
112
113# Toy est la version juin 2012 avec Schooffing
114
115toy_recul = toy_declar_3D_grisli_mod.o \
116        declar_io_ncdf_toy_mod_fake.o\
117        declar_toy_retreat.o \
118        toy_retreat_mod.o \
119
120
121
122# liste de routines communes
123
124routines_communes = tracebug.o ablation_bord.o \
125        icetemp_declar_mod.o bmelt-grounded.o \
126        diffusiv-polyn-0.6.o \
127        flottab2-0.7.o   \
128        advec_icetemp.o \
129        prop_th_icetemp.o \
130        Qprod_icetemp.o \
131        temp_col.o \
132        icetemp_mod.o \
133        initial-0.3.o initial-phy-2.o initial2-0.4.o \
134        lect-eis.o  readinput.o lect_datfile.o write_datfile.o \
135        out_cptr_mod.o lineartemp-0.2.o  litho-0.4.o main3D-0.4-40km.o masque.o \
136        minmax-format.o moy_mxmy.o neffect-0.4.o new-flot-0.3.o  next-time.o \
137        no-icethick.o  printdebug.o  \
138        sealevel-out.o slope_surf.o \
139        snaptime.o sortie-hz-multivar.o strain_rate.o \
140        tab-litho-0.3.o taubed-0.3.o \
141        velocities-polyn-0.3.o \
142        courbures.o
143
144# flottab-rescue-1.o avant flottab2
145# calceps2-0.2.o  \ apres bmelt-grounded.o juste au-dessus (pas appelé ????)
146# lastoutput-0.2.o avant lect-eis.o juste au-dessus (pas appelé ????)
147# vtoutput-0.2.o avant courbure.o juste au-dessus (pas appelé ???)
148
149# listes dependant de la geographie
150#_____________________________________
151
152# Liste_mismip_3D_5
153Liste_mismip_3D_5 =  no_ablation_mod.o climat-mismip3d_mod.o  \
154        output_global_mod.o dragging_mismip3d_mod.o \
155        fake-routines-mismip3d_mod.o \
156        tracer_vars_mod.o notracer_mod.o
157
158# Liste_mismip_post_ncdf
159Liste_mismip_post_ncdf = lect-mismip3d_mod.o  module_choix_mismip3d.o
160
161
162# Liste_GrIce2sea
163Liste_GrIce2sea =  lect_GrIce2sea_gen_nc.o  \
164        output_Grice2sea_mod.o  fake-routines_Grice2sea_mod.o \
165        dragging_prescr_beta_mod.o beta_iter_vitbil_mod.o module_choix_GrIce2sea.o
166       
167
168Liste_heminord = paradim-nord40_mod.o  output_nord_mod-0.4.o \
169        lect-clim-act-nord40_mod.o lect-nord40_mod.o  \
170        bmelt-nor-regions_mod.o bmelt-nor-depth_mod.o module_choix-heminord-0.4.o \
171        fake-routines-nord_mod.o
172
173
174Liste_ANT15-LBq = lect-Ant_clim_Acc-T_gen_dat.o output_anta_mod-0.4.o \
175        dragging-vit_bil_LBq_gen_mod.o dragging_LGM_mod.o dragging_plastic_LGM_mod.o \
176        dragging_prescr_beta_mod.o dragging_prescr_beta_buoyency_mod.o dragging_prescr_beta_nolin_mod.o \
177        fake-routines-ant_mod.o beta_iter_vitbil_mod.o \
178        lect-Ant_gen2010_dat.o module_choix_antar15_LBq.o \
179        massb-ant_perturb_Tparam.o track_ant40_mod.o
180
181
182
183Liste_hudson = sedim_declar_hudson_mod.o climat-hudson_mod.o \
184       lect-hudson_mod.o eaubasale-0.5_hudson_mod.o \
185       fake-routines-hudson_mod.o detect-assym.o  \
186       prop-therm-hudson_mod.o dragging_hudson_jorge_mod.o \
187       sliding-hudson_mod.o fake-dragging-hudson_mod.o \
188       dragging-hudson_mod.o dragging_hwatermax_hudson_mod.o \
189       output_hudson_mod.o bmelt_hudson_mod.o initial-hudson-phy.o  \
190       module_choix-hudson-0.4.o track_hudson_mod.o
191
192Liste_hemin40 = output_hemin40_mod.o \
193        lect-hemin40_mod.o  \
194        bmelt-hemin40-regions_mod.o bmelt-hemin40-depth_mod.o \
195        fake-routines-hemin40_mod.o  module_choix-hemin40-0.4.o \
196        track_hemin40_mod.o
197
198Liste_hemin15 = output_hemin40_mod.o \
199        lect-hemin15_mod.o  \
200        bmelt-hemin40-depth_mod.o \
201        fake-routines-hemin15_mod.o  module_choix-hemin15.o \
202        track_hemin15_mod.o
203
204Liste_greeneem15 = output_greeneem_mod-0.4.o \
205        lect-greeneem_mod.o \
206        dragging_neem_mod.o \
207        fake-routines-greeneem_mod.o \
208        module_choix-greeneem.o \
209        track_greeneem_mod.o
210
211Liste_Ant40 = output_anta40_mod-0.4.o \
212        lect-anteis_mod.o \
213        bmelt-ant-regions_mod.o \
214        bmelt-ant-regions-oce_mod.o \
215        fake-routines-ant_mod.o module_choix-antar40-0.4.o \
216        track_ant40_mod.o
217       
218Liste_Snowball = output_snowball_mod-0.4.o \
219        lect-snowball_mod.o \
220        bmelt-snowball-depth_mod.o \
221        fake-routines-snowball_mod.o \
222        module_choix-snowball.o \
223        track_snowball_mod.o
224       
225
226Liste_eura40 = output_eurasie40_mod-0.1.o \
227        lect-eurasie_mod.o lakes-prescribed_mod-0.1.o \
228        climat-forcage-mois_mod-0.2.o \
229        ablation_month.o accum_month.o  bmelt-eurasie-depth-lake_mod.o \
230        fake-routines-eurasie_mod.o module_choix-eurasie-0.4.o \
231        track_eurasie_mod.o
232
233Liste_greenmint40 = output_green_mod-0.4.o lect-clim-act-greenmint_mod.o \
234        lect-greenmint_mod.o massb_perturb_Tparam_green.o \
235        fake-routines-greenmint_mod.o massb-ant_forcage-0.4.o \
236        module_choix-greenmint-40.o track_greenmint_mod.o \
237
238Liste_greeneem45 = output_greeneem_mod-0.4.o lect-clim-act-greeneem_mod.o \
239        lect-clim-act-greeneem_mar_mod.o \
240        dragging_neem_mod.o \
241        lect-clim-act-greeneem_mois_lapsecouche_mod.o \
242        lect-clim-act-greeneem_mois_mod.o lect-greeneem_mod.o \
243        massb_perturb_Tparam_greeneem.o \
244        fake-routines-greeneem_mod.o massb-ant_forcage-0.4.o \
245        module_choix-greeneem.o track_greeneem_mod.o
246
247Liste_greeneem05 = output_greeneem_mod-0.4.o lect-clim-act-greeneem_mod.o \
248        lect-clim-act-greeneem_mar_mod.o \
249        dragging_neem_mod.o \
250        lect-clim-act-greeneem_mois_lapsecouche_mod.o \
251        lect-clim-act-greeneem_mois_mod.o lect-greeneem_mod.o \
252        massb_perturb_Tparam_greeneem.o \
253        fake-routines-greeneem_mod.o massb-ant_forcage-0.4.o \
254        module_choix-greeneem.o track_greeneem_mod.o
255
256Liste_gsearise15 = output_gsearise_mod-0.4.o lect-clim-act-gsearise_mod.o \
257        dragging_neem_mod.o \
258        lect-clim-act-gsearise_mois_mod.o lect-gsearise_mod.o \
259        massb_perturb_Tparam_gsearise.o \
260        fake-routines-gsearise_mod.o massb-ant_forcage-0.4.o \
261        module_choix-gsearise.o track_gsearise_mod.o
262
263Liste_gsearise05 = output_gsearise_mod-0.4.o lect-clim-act-gsearise_mod.o \
264        dragging_neem_mod.o \
265        lect-clim-act-gsearise_mois_mod.o lect-gsearise_mod.o \
266        massb_perturb_Tparam_gsearise.o \
267        fake-routines-gsearise_mod.o massb-ant_forcage-0.4.o \
268        module_choix-gsearise.o track_gsearise_mod.o
269
270# listes de dimensionnement (dependent de la geographie)
271#-----------------------------
272
273Dim_Mismip_3D_5 = paradim_mismip3D_5km_mod.o geography-Mismip3d.o
274
275Dim_GrIce2sea = paradim-GrIce2sea-cut_Tamsin.o geography-GrIce2sea.o
276
277Dim_ANT15-LBq    = paradim-ant15_LBq_mod.o geography-Ant15_LBq.o   
278
279Dim_hudson = paradim-hudson_mod.o geography-hudson_mod.o
280
281Dim_hemin40 = paradim-hemin40_mod.o geography-hemin40_mod.o
282
283Dim_hemin15 = paradim-hemin15_mod.o geography-hemin15_mod.o
284
285Dim_Ant40 = paradim-ant40_mod.o geography-ant40_mod.o
286
287Dim_Snowball = paradim-snowball_mod.o geography-snowball_mod.o
288
289Dim_eura40 = paradim-euras40_mod.o geography-euras40_mod.o
290
291Dim_greenmint40 = paradim-greenmint40_mod.o geography-greenmint40_mod.o
292
293Dim_greeneem45 = paradim-greeneem45_mod.o geography-greeneem45_mod.o
294
295Dim_greeneem15 = paradim-greeneem15_mod.o geography-greeneem15_mod.o
296
297Dim_greeneem05 = paradim-greeneem05_mod.o geography-greeneem05_mod.o
298
299Dim_gsearise15 = paradim-gsearise15_mod.o geography-gsearise15_mod.o
300
301Dim_gsearise05 = paradim-gsearise05_mod.o geography-gsearise05_mod.o
302
303
304ifeq ($(mkl_c), 0)
305Liste_BLAS = band.o reduc.o \
306        isamax.o lsame.o scopy.o \
307        slamch.o slabad.o slange.o \
308        slassq.o sgeqrf.o sormqr.o \
309        strmv.o slarft.o \
310        ilaslr.o ilaslc.o strmm.o \
311        slarfb.o slapy2.o slarfg.o slarf.o \
312        sgeqr2.o sorm2r.o snrm2.o \
313        slaqps.o slaqp2.o sgeqp3.o \
314        slaset.o slaisnan.o sisnan.o \
315        slascl.o sdot.o slaic1.o \
316        slarzb.o slarzt.o \
317        saxpy.o slarz.o sormr3.o \
318        sormrz.o slatrz.o stzrzf.o sgelsy.o \
319        sgbmv.o sgemm.o sgemv.o  sger.o \
320        sscal.o sswap.o stbsv.o \
321        strsm.o xerbla.o
322
323endif
324
325
326Liste_Netcdf =   sortie_netcdf_GRISLI_mod.0.2-hassine.o
327
328
329# Pour changer la methode de lecture du fichier param
330#----------------------------------------------------------------------------------
331initial-phy-2.o :
332        echo 'methode', $(JOB)
333
334ifeq ($(JOB),'job')
335        echo 'entree fichier parametre par commande echo job'
336
337         $(FT) $(NETCDFINCLUDE) -c initial-phy-2-job.f90
338else   
339        echo ' fichier parametre defini par runname'
340         $(FT) $(NETCDFINCLUDE) -c initial-phy-2.f90
341endif
342
343# Hemin40_files :
344%.o: Hemin40_files/%.f90
345        $(FT) $(NETCDFINCLUDE) -c Hemin40_files/$*.f90
346
347# Hemin15_files
348%.o: Hemin15_files/%.f90
349        $(FT) $(NETCDFINCLUDE) -c Hemin15_files/$*.f90
350       
351# Antarctique_general_files
352%.o: Antarctique_general_files/%.f90
353        $(FT) $(NETCDFINCLUDE) -c Antarctique_general_files/$*.f90
354       
355# GrIce2sea_files
356%.o: GrIce2sea_files/%.f90
357        $(FT) $(NETCDFINCLUDE) -c GrIce2sea_files/$*.f90
358       
359# Ant40_files
360%.o: Ant40_files/%.f90
361        $(FT) $(NETCDFINCLUDE) -c Ant40_files/$*.f90
362       
363# Greeneem_files/Greeneem15_files
364%.o: Greeneem_files/Greeneem15_files/%.f90
365        $(FT) $(NETCDFINCLUDE) -c Greeneem_files/Greeneem15_files/$*.f90
366       
367# Greeneem_files
368%.o: Greeneem_files/%.f90
369        $(FT) $(NETCDFINCLUDE) -c Greeneem_files/$*.f90
370               
371# Draggings_modules
372%.o: Draggings_modules/%.f90
373        $(FT) $(NETCDFINCLUDE) -c Draggings_modules/$*.f90
374       
375# Snowball_files
376%.o: Snowball_files/%.f90
377        $(FT) $(NETCDFINCLUDE) -c Snowball_files/$*.f90
378       
379       
380# subroutines communes :
381%.o: %.f90
382        $(FT) $(NETCDFINCLUDE) -c $*.f90
383       
384# New-remplimat :
385%.o : New-remplimat/%.f90
386        $(FT) $(NETCDFINCLUDE) -c New-remplimat/$*.f90
387       
388# Netcdf-routines :
389%.o: Netcdf-routines/%.f90
390        $(FT) $(NETCDFINCLUDE) -c Netcdf-routines/$*.f90
391       
392#toy_recul :
393%.o: Recul_force_grounding_line/%.f90
394        $(FT) $(NETCDFINCLUDE) -c Recul_force_grounding_line/$*.f90
395       
396#Temperature :
397%.o : Temperature-routines/%.f90
398        $(FT) $(NETCDFINCLUDE) -c Temperature-routines/$*.f90
399       
400# BLAS :
401%.o : BLAS/%.f
402        $(FT) -c BLAS/$*.f
403       
404# Reduc et band:   
405%.o : LAPACK/%.f
406        $(FT) -c LAPACK/$*.f
407
408
409# Liens et Construction des executables
410#---------------------------------------
411
412LBqAntar15 : $(Dim_ANT15-LBq) $(mod_dim_communs)  \
413        $(Proto_recul)  \
414        $(mod_communs) \
415        $(Proto_recul)  \
416        $(mod_clim_perturb)  \
417        $(mod_tracers) \
418        $(mod_ell) $(Liste_ANT15-LBq) \
419        $(diagnoshelf) \
420        $(Liste_Netcdf) \
421        $(routines_communes) steps_time_loop.o $(routine_elliptiques)
422
423        $(LK) -o ../bin/LBqAntar-15  $(Dim_ANT15-LBq) $(mod_dim_communs) \
424        $(Proto_recul)  \
425        $(mod_communs) \
426        $(mod_clim_perturb)  \
427        $(mod_tracers) \
428        $(mod_ell) \
429        $(Liste_ANT15-LBq) \
430        $(diagnoshelf) $(Liste_Netcdf) \
431        $(routines_communes) steps_time_loop.o $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
432
433Recul_ice2sea : $(Dim_ANT15-LBq) $(mod_dim_communs)  \
434        $(toy_recul) \
435        $(mod_communs_RGL) \
436        $(mod_clim_perturb)  \
437        $(mod_tracers) \
438        $(mod_ell) $(Liste_ANT15-LBq) \
439        $(diagnoshelf) \
440        $(Liste_Netcdf) \
441        $(routines_communes)steps_time_loop.o  $(routine_elliptiques)
442
443        $(LK) -o ../bin/recul_gl  $(Dim_ANT15-LBq) $(mod_dim_communs) \
444        $(toy_recul) \
445        $(mod_communs_RGL) \
446        $(mod_clim_perturb)  \
447        $(mod_tracers) \
448        $(mod_ell) \
449        $(Liste_ANT15-LBq) \
450        $(diagnoshelf) $(Liste_Netcdf) \
451        $(routines_communes) steps_time_loop.o $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
452
453
454Mismip3D_5 : $(Dim_Mismip_3D_5)  $(mod_dim_communs)  $(mod_communs) \
455        $(mod_ell) $(Liste_mismip_3D_5) \
456        $(Liste_Netcdf) $(Liste_mismip_post_ncdf) \
457        $(diagnoshelf) \
458        $(routines_communes) steps_time_loop.o $(routine_elliptiques)
459
460        $(LK) -o ../bin/mismip3D  $(Dim_Mismip_3D_5)  \
461        $(mod_dim_communs) fake-routines-mismip3d_mod.o $(mod_communs) \
462        $(mod_ell)  $(Liste_mismip_3D_5) \
463        $(Liste_Netcdf) $(Liste_mismip_post_ncdf) $(diagnoshelf) \
464        $(routines_communes) steps_time_loop.o $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
465
466Grice2sea : $(Dim_GrIce2sea) $(mod_dim_communs)   \
467        $(toy_recul)  \
468        $(mod_communs_RGL) \
469        $(mod_clim_tof)  \
470        $(mod_tracers) \
471        $(mod_ell) $(Liste_GrIce2sea) \
472        $(diagnoshelf) \
473        $(Liste_Netcdf) \
474        $(routines_communes) steps_time_loop.o \
475        $(routine_elliptiques) \
476        $(Liste_BLAS)
477
478        $(LK) -o ../bin/Grice2sea \
479        $(Dim_GrIce2sea) $(mod_dim_communs)  \
480        $(toy_recul)  \
481        $(mod_communs_RGL) \
482        $(mod_clim_tof)  \
483        $(mod_tracers) \
484        $(mod_ell) $(Liste_GrIce2sea) \
485        $(diagnoshelf) \
486        $(Liste_Netcdf) \
487        $(routines_communes) steps_time_loop.o \
488        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
489
490Grice2sea_iterbeta : $(Dim_GrIce2sea) $(mod_dim_communs)   \
491        $(toy_recul)  \
492        $(mod_communs_RGL) \
493        $(mod_clim_tof)  \
494        $(mod_tracers) \
495        $(mod_ell) $(Liste_GrIce2sea) \
496        $(diagnoshelf) \
497        $(Liste_Netcdf) \
498        $(routines_communes) steps_time_loop_avec_iterbeta.o \
499        $(routine_elliptiques) \
500        $(Liste_BLAS)
501
502        $(LK) -o ../bin/Grice2sea_iterbeta \
503        $(Dim_GrIce2sea) $(mod_dim_communs)  \
504        $(toy_recul)  \
505        $(mod_communs_RGL) \
506        $(mod_clim_tof)  \
507        $(mod_tracers) \
508        $(mod_ell) $(Liste_GrIce2sea) \
509        $(diagnoshelf) \
510        $(Liste_Netcdf) \
511        $(routines_communes) steps_time_loop_avec_iterbeta.o \
512        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
513
514Hemin-40 : $(Dim_hemin40) $(mod_dim_communs) \
515        $(toy_recul)  \
516        $(mod_communs) \
517        $(mod_clim_tof) \
518        $(mod_tracers) \
519        $(mod_ell) $(Liste_hemin40) \
520        $(diagnoshelf) \
521        $(Liste_Netcdf) \
522        $(routines_communes) steps_time_loop.o \
523        $(routine_elliptiques) \
524        $(Liste_BLAS)
525
526        $(LK) -o  ../bin/Hemin-40 \
527        $(Dim_hemin40) $(mod_dim_communs) \
528        $(toy_recul)  \
529        $(mod_communs) \
530        $(mod_clim_tof) \
531        $(mod_tracers) \
532        $(mod_ell) $(Liste_hemin40) \
533        $(diagnoshelf) \
534        $(Liste_Netcdf) \
535        $(routines_communes) steps_time_loop.o \
536        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
537
538Hemin-15 : $(Dim_hemin15) $(mod_dim_communs) \
539        $(toy_recul)  \
540        $(mod_communs) \
541        $(mod_clim_tof) \
542        $(mod_no_tracers) \
543        $(mod_ell) $(Liste_hemin15) \
544        $(diagnoshelf) \
545        $(Liste_Netcdf) \
546        $(routines_communes) steps_time_loop.o \
547        $(routine_elliptiques) \
548        $(Liste_BLAS)
549
550        $(LK) -o  ../bin/Hemin-15 \
551        $(Dim_hemin15) $(mod_dim_communs) \
552        $(toy_recul)  \
553        $(mod_communs) \
554        $(mod_clim_tof) \
555        $(mod_no_tracers) \
556        $(mod_ell) $(Liste_hemin15) \
557        $(diagnoshelf) \
558        $(Liste_Netcdf) \
559        $(routines_communes) steps_time_loop.o \
560        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
561
562Greeneem15 : $(Dim_greeneem15) $(mod_dim_communs) \
563        $(toy_recul)  \
564        $(mod_communs) \
565        $(mod_clim_tof) \
566        $(mod_tracers) \
567        $(mod_ell) $(Liste_greeneem15) \
568        $(diagnoshelf) \
569        $(Liste_Netcdf) \
570        $(routines_communes) steps_time_loop.o \
571        $(routine_elliptiques) \
572        $(Liste_BLAS)
573
574        $(LK) -o ../bin/Greeneem15 \
575        $(Dim_greeneem15) $(mod_dim_communs) \
576        $(toy_recul)  \
577        $(mod_communs) \
578        $(mod_clim_tof) \
579        $(mod_no_tracers) \
580        $(mod_ell) $(Liste_greeneem15) \
581        $(diagnoshelf) \
582        $(Liste_Netcdf) \
583        $(routines_communes) steps_time_loop.o \
584        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
585
586Ant-40 : $(Dim_Ant40) $(mod_dim_communs) \
587        $(toy_recul)  \
588        $(mod_communs) \
589        $(mod_clim_tof) \
590        $(mod_no_tracers) \
591        $(mod_ell) $(Liste_Ant40) \
592        $(diagnoshelf) \
593        $(Liste_Netcdf) \
594        $(routines_communes) steps_time_loop.o \
595        $(routine_elliptiques) \
596        $(Liste_BLAS)
597
598        $(LK) -o  ../bin/Ant-40 \
599        $(Dim_Ant40) $(mod_dim_communs) \
600        $(toy_recul)  \
601        $(mod_communs) \
602        $(mod_clim_tof) \
603        $(mod_no_tracers) \
604        $(mod_ell) $(Liste_Ant40) \
605        $(diagnoshelf) \
606        $(Liste_Netcdf) \
607        $(routines_communes) steps_time_loop.o \
608        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
609       
610Snowball : $(Dim_Snowball) $(mod_dim_communs) \
611        $(toy_recul)  \
612        $(mod_communs) \
613        $(mod_clim_tof) \
614        $(mod_no_tracers) \
615        $(mod_ell) $(Liste_Snowball) \
616        $(diagnoshelf) \
617        $(Liste_Netcdf) \
618        $(routines_communes) steps_time_loop.o \
619        $(routine_elliptiques) \
620        $(Liste_BLAS)
621
622        $(LK) -o  ../bin/Snowball \
623        $(Dim_Snowball) $(mod_dim_communs) \
624        $(toy_recul)  \
625        $(mod_communs) \
626        $(mod_clim_tof) \
627        $(mod_no_tracers) \
628        $(mod_ell) $(Liste_Snowball) \
629        $(diagnoshelf) \
630        $(Liste_Netcdf) \
631        $(routines_communes) steps_time_loop.o \
632        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
633       
634       
635clean   :
636        rm -f *.o *.mod *~  */*~ BLAS/*.o
637       
638
639
640
641
642# attention : dans les geometries suivantes la liste module climat n'est pas donnee
643
644Hudson : $(Dim_hudson) $(mod_dim_communs) $(mod_communs)  $(mod_ell) $(Liste_hudson) \
645        $(diagnoshelf) $(Liste_Netcdf) \
646        $(routines_communes) $(routine_elliptiques) 
647        $(LK) -o ../bin/Hudson  $(Dim_hudson) $(mod_dim_communs) $(mod_communs) $(mod_ell) $(Liste_hudson) \
648        $(diagnoshelf) $(Liste_Netcdf) \
649        $(routines_communes) $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
650
651#Hemin-40 : $(Dim_hemin40) $(mod_dim_communs) $(mod_communs)  $(mod_ell)  $(Liste_hemin40) \
652#       $(diagnoshelf) $(Liste_Netcdf) \
653#       $(routines_communes) $(routine_elliptiques) 
654
655#       $(LK) -o  ../bin/Hemin-40  $(Dim_hemin40) $(mod_dim_communs) $(mod_communs) \
656#       $(mod_ell)  $(Liste_hemin40) \
657#       $(diagnoshelf) $(Liste_Netcdf) \
658#       $(routines_communes) $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
659
660Heminord : $(Liste_heminord) $(Liste_commune) $(Liste_BLAS)
661        $(LK) -o Heminord $(Liste_heminord) $(Liste_commune) $(Liste_BLAS)
662
663
664Eura-40 :  $(Dim_eura40) $(mod_dim_communs) $(mod_communs)  $(mod_ell)  $(Liste_eura40) \
665        $(diagnoshelf) $(Liste_Netcdf) \
666        $(routines_communes) $(routine_elliptiques)
667
668        $(LK) -o  ../bin/Eura-40  $(Dim_eura40) $(mod_dim_communs) $(mod_communs) \
669        $(mod_ell)  $(Liste_eura40) \
670        $(diagnoshelf) $(Liste_Netcdf) \
671        $(routines_communes) $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
672
673Greenmint40 : $(Dim_greenmint40) $(mod_dim_communs) $(mod_communs) \
674        $(mod_ell) $(Liste_greenmint40) \
675        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
676
677        $(LK) -o ../bin/Greenmint40 $(Dim_greenmint40) $(mod_dim_communs) $(mod_communs) \
678        $(mod_ell) $(Liste_greenmint40) \
679        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
680        $(NCDF_LIB)  $(MKL_LIB)
681
682Greeneem45 : $(Dim_greeneem45) $(mod_dim_communs) $(mod_communs) \
683        $(mod_ell) $(Liste_greeneem45) \
684        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
685
686        $(LK) -o ../bin/Greeneem45 $(Dim_greeneem45) $(mod_dim_communs) $(mod_communs) \
687        $(mod_ell) $(Liste_greeneem45) \
688        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
689        $(NCDF_LIB)  $(MKL_LIB)
690
691Greeneem05 : $(Dim_greeneem05) $(mod_dim_communs) $(mod_communs) \
692        $(mod_ell) $(Liste_greeneem05) \
693        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
694
695        $(LK) -o ../bin/Greeneem05 $(Dim_greeneem05) $(mod_dim_communs) $(mod_communs) \
696        $(mod_ell) $(Liste_greeneem05) \
697        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
698        $(NCDF_LIB)  $(MKL_LIB)
699
700
701Gsearise15 : $(Dim_gsearise15) $(mod_dim_communs) $(mod_communs) \
702        $(mod_ell) $(Liste_gsearise15) \
703        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
704
705        $(LK) -o ../bin/Gsearise15 $(Dim_gsearise15) $(mod_dim_communs) $(mod_communs) \
706        $(mod_ell) $(Liste_gsearise15) \
707        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
708        $(NCDF_LIB)  $(MKL_LIB)
709
710
711Gsearise05 : $(Dim_gsearise05) $(mod_dim_communs) $(mod_communs) \
712        $(mod_ell) $(Liste_gsearise05) \
713        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
714
715        $(LK) -o ../bin/Gsearise05 $(Dim_gsearise05) $(mod_dim_communs) $(mod_communs) \
716        $(mod_ell) $(Liste_gsearise05) \
717        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
718        $(NCDF_LIB)  $(MKL_LIB)
719
720
721
722
723
724
725
726
727
728
729
Note: See TracBrowser for help on using the repository browser.