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

Last change on this file since 111 was 99, checked in by dumas, 7 years ago

First version of a closed water cycle in GRISLI. Output in short file for Ant-40 and Greeneem

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