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

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

New lightened Makefile (only with ifort) | Some unused files moved in Old-sources directory

File size: 23.0 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_mod-0.3.o relaxation_water_mod-0.4.o 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_mod-0.3.o relaxation_water_mod-0.4.o 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        flottab-rescue-1.o 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# calceps2-0.2.o  \ apres bmelt-grounded.o juste au-dessus (pas appelé ????)
145# lastoutput-0.2.o avant lect-eis.o juste au-dessus (pas appelé ????)
146# vtoutput-0.2.o avant courbure.o juste au-dessus (pas appelé ???)
147
148# listes dependant de la geographie
149#_____________________________________
150
151# Liste_mismip_3D_5
152Liste_mismip_3D_5 =  no_ablation_mod.o climat-mismip3d_mod.o  \
153        output_global_mod.o dragging_mismip3d_mod.o \
154        fake-routines-mismip3d_mod.o \
155        tracer_vars_mod.o notracer_mod.o
156
157# Liste_mismip_post_ncdf
158Liste_mismip_post_ncdf = lect-mismip3d_mod.o  module_choix_mismip3d.o
159
160
161# Liste_GrIce2sea
162Liste_GrIce2sea =  lect_GrIce2sea_gen_nc.o  \
163        output_Grice2sea_mod.o  fake-routines_Grice2sea_mod.o \
164        dragging_prescr_beta_mod.o beta_iter_vitbil_mod.o module_choix_GrIce2sea.o
165       
166
167Liste_heminord = paradim-nord40_mod.o  output_nord_mod-0.4.o \
168        lect-clim-act-nord40_mod.o lect-nord40_mod.o  \
169        bmelt-nor-regions_mod.o bmelt-nor-depth_mod.o module_choix-heminord-0.4.o \
170        fake-routines-nord_mod.o
171
172
173Liste_ANT15-LBq = lect-Ant_clim_Acc-T_gen_dat.o output_anta_mod-0.4.o \
174        dragging-vit_bil_LBq_gen_mod.o dragging_LGM_mod.o dragging_plastic_LGM_mod.o \
175        dragging_prescr_beta_mod.o dragging_prescr_beta_buoyency_mod.o dragging_prescr_beta_nolin_mod.o \
176        fake-routines-ant_mod.o beta_iter_vitbil_mod.o \
177        lect-Ant_gen2010_dat.o module_choix_antar15_LBq.o \
178        massb-ant_perturb_Tparam.o track_ant40_mod.o
179
180
181
182Liste_hudson = sedim_declar_hudson_mod.o climat-hudson_mod.o \
183       lect-hudson_mod.o eaubasale-0.5_hudson_mod.o \
184       fake-routines-hudson_mod.o detect-assym.o  \
185       prop-therm-hudson_mod.o dragging_hudson_jorge_mod.o \
186       sliding-hudson_mod.o fake-dragging-hudson_mod.o \
187       dragging-hudson_mod.o dragging_hwatermax_hudson_mod.o \
188       output_hudson_mod.o bmelt_hudson_mod.o initial-hudson-phy.o  \
189       module_choix-hudson-0.4.o track_hudson_mod.o
190
191Liste_hemin40 = output_hemin40_mod.o \
192        lect-hemin40_mod.o  \
193        bmelt-hemin40-regions_mod.o bmelt-hemin40-depth_mod.o \
194        fake-routines-hemin40_mod.o  module_choix-hemin40-0.4.o \
195        track_hemin40_mod.o
196
197Liste_hemin15 = output_hemin40_mod.o \
198        lect-hemin15_mod.o  \
199        bmelt-hemin40-depth_mod.o \
200        fake-routines-hemin15_mod.o  module_choix-hemin15.o \
201        track_hemin15_mod.o
202
203Liste_greeneem15 = output_greeneem_mod-0.4.o \
204        lect-greeneem_mod.o \
205        dragging_neem_mod.o \
206        fake-routines-greeneem_mod.o \
207        module_choix-greeneem.o \
208        track_greeneem_mod.o
209
210Liste_Ant40 = output_anta40_mod-0.4.o \
211        lect-anteis_mod.o \
212        bmelt-ant-regions_mod.o \
213        bmelt-ant-regions-oce_mod.o \
214        fake-routines-ant_mod.o module_choix-antar40-0.4.o \
215        track_ant40_mod.o
216       
217Liste_Snowball = output_snowball_mod-0.4.o \
218        lect-snowball_mod.o \
219        bmelt-snowball-depth_mod.o \
220        fake-routines-snowball_mod.o \
221        module_choix-snowball.o \
222        track_snowball_mod.o
223       
224
225Liste_eura40 = output_eurasie40_mod-0.1.o \
226        lect-eurasie_mod.o lakes-prescribed_mod-0.1.o \
227        climat-forcage-mois_mod-0.2.o \
228        ablation_month.o accum_month.o  bmelt-eurasie-depth-lake_mod.o \
229        fake-routines-eurasie_mod.o module_choix-eurasie-0.4.o \
230        track_eurasie_mod.o
231
232Liste_greenmint40 = output_green_mod-0.4.o lect-clim-act-greenmint_mod.o \
233        lect-greenmint_mod.o massb_perturb_Tparam_green.o \
234        fake-routines-greenmint_mod.o massb-ant_forcage-0.4.o \
235        module_choix-greenmint-40.o track_greenmint_mod.o \
236
237Liste_greeneem45 = output_greeneem_mod-0.4.o lect-clim-act-greeneem_mod.o \
238        lect-clim-act-greeneem_mar_mod.o \
239        dragging_neem_mod.o \
240        lect-clim-act-greeneem_mois_lapsecouche_mod.o \
241        lect-clim-act-greeneem_mois_mod.o lect-greeneem_mod.o \
242        massb_perturb_Tparam_greeneem.o \
243        fake-routines-greeneem_mod.o massb-ant_forcage-0.4.o \
244        module_choix-greeneem.o track_greeneem_mod.o
245
246Liste_greeneem05 = output_greeneem_mod-0.4.o lect-clim-act-greeneem_mod.o \
247        lect-clim-act-greeneem_mar_mod.o \
248        dragging_neem_mod.o \
249        lect-clim-act-greeneem_mois_lapsecouche_mod.o \
250        lect-clim-act-greeneem_mois_mod.o lect-greeneem_mod.o \
251        massb_perturb_Tparam_greeneem.o \
252        fake-routines-greeneem_mod.o massb-ant_forcage-0.4.o \
253        module_choix-greeneem.o track_greeneem_mod.o
254
255Liste_gsearise15 = output_gsearise_mod-0.4.o lect-clim-act-gsearise_mod.o \
256        dragging_neem_mod.o \
257        lect-clim-act-gsearise_mois_mod.o lect-gsearise_mod.o \
258        massb_perturb_Tparam_gsearise.o \
259        fake-routines-gsearise_mod.o massb-ant_forcage-0.4.o \
260        module_choix-gsearise.o track_gsearise_mod.o
261
262Liste_gsearise05 = output_gsearise_mod-0.4.o lect-clim-act-gsearise_mod.o \
263        dragging_neem_mod.o \
264        lect-clim-act-gsearise_mois_mod.o lect-gsearise_mod.o \
265        massb_perturb_Tparam_gsearise.o \
266        fake-routines-gsearise_mod.o massb-ant_forcage-0.4.o \
267        module_choix-gsearise.o track_gsearise_mod.o
268
269# listes de dimensionnement (dependent de la geographie)
270#-----------------------------
271
272Dim_Mismip_3D_5 = paradim_mismip3D_5km_mod.o geography-Mismip3d.o
273
274Dim_GrIce2sea = paradim-GrIce2sea-cut_Tamsin.o geography-GrIce2sea.o
275
276Dim_ANT15-LBq    = paradim-ant15_LBq_mod.o geography-Ant15_LBq.o   
277
278Dim_hudson = paradim-hudson_mod.o geography-hudson_mod.o
279
280Dim_hemin40 = paradim-hemin40_mod.o geography-hemin40_mod.o
281
282Dim_hemin15 = paradim-hemin15_mod.o geography-hemin15_mod.o
283
284Dim_Ant40 = paradim-ant40_mod.o geography-ant40_mod.o
285
286Dim_Snowball = paradim-snowball_mod.o geography-snowball_mod.o
287
288Dim_eura40 = paradim-euras40_mod.o geography-euras40_mod.o
289
290Dim_greenmint40 = paradim-greenmint40_mod.o geography-greenmint40_mod.o
291
292Dim_greeneem45 = paradim-greeneem45_mod.o geography-greeneem45_mod.o
293
294Dim_greeneem15 = paradim-greeneem15_mod.o geography-greeneem15_mod.o
295
296Dim_greeneem05 = paradim-greeneem05_mod.o geography-greeneem05_mod.o
297
298Dim_gsearise15 = paradim-gsearise15_mod.o geography-gsearise15_mod.o
299
300Dim_gsearise05 = paradim-gsearise05_mod.o geography-gsearise05_mod.o
301
302
303ifeq ($(mkl_c), 0)
304Liste_BLAS = LAPACK/band.o LAPACK/reduc.o \
305        BLAS/isamax.o BLAS/lsame.o BLAS/scopy.o \
306        BLAS/slamch.o BLAS/slabad.o BLAS/slange.o \
307        BLAS/slassq.o BLAS/sgeqrf.o BLAS/sormqr.o \
308        BLAS/strmv.o BLAS/slarft.o \
309        BLAS/ilaslr.o BLAS/ilaslc.o BLAS/strmm.o \
310        BLAS/slarfb.o BLAS/slapy2.o BLAS/slarfg.o BLAS/slarf.o \
311        BLAS/sgeqr2.o BLAS/sorm2r.o BLAS/snrm2.o \
312        BLAS/slaqps.o BLAS/slaqp2.o BLAS/sgeqp3.o \
313        BLAS/slaset.o BLAS/slaisnan.o BLAS/sisnan.o \
314        BLAS/slascl.o BLAS/sdot.o BLAS/slaic1.o \
315        BLAS/slarzb.o BLAS/slarzt.o \
316        BLAS/saxpy.o BLAS/slarz.o BLAS/sormr3.o \
317        BLAS/sormrz.o BLAS/slatrz.o BLAS/stzrzf.o BLAS/sgelsy.o \
318        BLAS/sgbmv.o BLAS/sgemm.o BLAS/sgemv.o  BLAS/sger.o \
319        BLAS/sscal.o BLAS/sswap.o BLAS/stbsv.o \
320        BLAS/strsm.o BLAS/xerbla.o
321
322endif
323
324
325Liste_Netcdf =   sortie_netcdf_GRISLI_mod.0.2-hassine.o
326
327
328# Pour changer la methode de lecture du fichier param
329#----------------------------------------------------------------------------------
330initial-phy-2.o :
331        echo 'methode', $(JOB)
332
333ifeq ($(JOB),'job')
334        echo 'entree fichier parametre par commande echo job'
335
336         $(FT) $(NETCDFINCLUDE) -c initial-phy-2-job.f90
337else   
338        echo ' fichier parametre defini par runname'
339         $(FT) $(NETCDFINCLUDE) -c initial-phy-2.f90
340endif
341
342# Hemin40_files :
343%.o: Hemin40_files/%.f90
344        $(FT) $(NETCDFINCLUDE) -c Hemin40_files/$*.f90
345
346# Hemin15_files
347%.o: Hemin15_files/%.f90
348        $(FT) $(NETCDFINCLUDE) -c Hemin15_files/$*.f90
349       
350# Antarctique_general_files
351%.o: Antarctique_general_files/%.f90
352        $(FT) $(NETCDFINCLUDE) -c Antarctique_general_files/$*.f90
353       
354# GrIce2sea_files
355%.o: GrIce2sea_files/%.f90
356        $(FT) $(NETCDFINCLUDE) -c GrIce2sea_files/$*.f90
357       
358# Ant40_files
359%.o: Ant40_files/%.f90
360        $(FT) $(NETCDFINCLUDE) -c Ant40_files/$*.f90
361       
362# Greeneem_files/Greeneem15_files
363%.o: Greeneem_files/Greeneem15_files/%.f90
364        $(FT) $(NETCDFINCLUDE) -c Greeneem_files/Greeneem15_files/$*.f90
365       
366# Greeneem_files
367%.o: Greeneem_files/%.f90
368        $(FT) $(NETCDFINCLUDE) -c Greeneem_files/$*.f90
369               
370# Draggings_modules
371%.o: Draggings_modules/%.f90
372        $(FT) $(NETCDFINCLUDE) -c Draggings_modules/$*.f90
373       
374# Snowball_files
375%.o: Snowball_files/%.f90
376        $(FT) $(NETCDFINCLUDE) -c Snowball_files/$*.f90
377       
378       
379# subroutines communes :
380%.o: %.f90
381        $(FT) $(NETCDFINCLUDE) -c $*.f90
382       
383# New-remplimat :
384%.o : New-remplimat/%.f90
385        $(FT) $(NETCDFINCLUDE) -c New-remplimat/$*.f90
386       
387# Netcdf-routines :
388%.o: Netcdf-routines/%.f90
389        $(FT) $(NETCDFINCLUDE) -c Netcdf-routines/$*.f90
390       
391#toy_recul :
392%.o: Recul_force_grounding_line/%.f90
393        $(FT) $(NETCDFINCLUDE) -c Recul_force_grounding_line/$*.f90
394       
395#Temperature :
396%.o : Temperature-routines/%.f90
397        $(FT) $(NETCDFINCLUDE) -c Temperature-routines/$*.f90
398       
399# BLAS :
400%.o : BLAS/%.f
401        $(FT) $(NETCDFINCLUDE) -c BLAS/$*.f
402       
403# Reduc et band:
404band.o : LAPACK/band.f
405        $(FT) $(NETCDFINCLUDE) -c $*.f
406reduc.o : LAPACK/reduc.f
407        $(FT) $(NETCDFINCLUDE) -c $*.f
408
409
410# Liens et Construction des executables
411#---------------------------------------
412
413LBqAntar15 : $(Dim_ANT15-LBq) $(mod_dim_communs)  \
414        $(Proto_recul)  \
415        $(mod_communs) \
416        $(Proto_recul)  \
417        $(mod_clim_perturb)  \
418        $(mod_tracers) \
419        $(mod_ell) $(Liste_ANT15-LBq) \
420        $(diagnoshelf) \
421        $(Liste_Netcdf) \
422        $(routines_communes) steps_time_loop.o $(routine_elliptiques)
423
424        $(LK) -o ../bin/LBqAntar-15  $(Dim_ANT15-LBq) $(mod_dim_communs) \
425        $(Proto_recul)  \
426        $(mod_communs) \
427        $(mod_clim_perturb)  \
428        $(mod_tracers) \
429        $(mod_ell) \
430        $(Liste_ANT15-LBq) \
431        $(diagnoshelf) $(Liste_Netcdf) \
432        $(routines_communes) steps_time_loop.o $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
433
434Recul_ice2sea : $(Dim_ANT15-LBq) $(mod_dim_communs)  \
435        $(toy_recul) \
436        $(mod_communs_RGL) \
437        $(mod_clim_perturb)  \
438        $(mod_tracers) \
439        $(mod_ell) $(Liste_ANT15-LBq) \
440        $(diagnoshelf) \
441        $(Liste_Netcdf) \
442        $(routines_communes)steps_time_loop.o  $(routine_elliptiques)
443
444        $(LK) -o ../bin/recul_gl  $(Dim_ANT15-LBq) $(mod_dim_communs) \
445        $(toy_recul) \
446        $(mod_communs_RGL) \
447        $(mod_clim_perturb)  \
448        $(mod_tracers) \
449        $(mod_ell) \
450        $(Liste_ANT15-LBq) \
451        $(diagnoshelf) $(Liste_Netcdf) \
452        $(routines_communes) steps_time_loop.o $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
453
454
455Mismip3D_5 : $(Dim_Mismip_3D_5)  $(mod_dim_communs)  $(mod_communs) \
456        $(mod_ell) $(Liste_mismip_3D_5) \
457        $(Liste_Netcdf) $(Liste_mismip_post_ncdf) \
458        $(diagnoshelf) \
459        $(routines_communes) steps_time_loop.o $(routine_elliptiques)
460
461        $(LK) -o ../bin/mismip3D  $(Dim_Mismip_3D_5)  \
462        $(mod_dim_communs) fake-routines-mismip3d_mod.o $(mod_communs) \
463        $(mod_ell)  $(Liste_mismip_3D_5) \
464        $(Liste_Netcdf) $(Liste_mismip_post_ncdf) $(diagnoshelf) \
465        $(routines_communes) steps_time_loop.o $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
466
467Grice2sea : $(Dim_GrIce2sea) $(mod_dim_communs)   \
468        $(toy_recul)  \
469        $(mod_communs_RGL) \
470        $(mod_clim_tof)  \
471        $(mod_tracers) \
472        $(mod_ell) $(Liste_GrIce2sea) \
473        $(diagnoshelf) \
474        $(Liste_Netcdf) \
475        $(routines_communes) steps_time_loop.o $(routine_elliptiques)
476
477        $(LK) -o ../bin/Grice2sea \
478        $(Dim_GrIce2sea) $(mod_dim_communs)  \
479        $(toy_recul)  \
480        $(mod_communs_RGL) \
481        $(mod_clim_tof)  \
482        $(mod_tracers) \
483        $(mod_ell) $(Liste_GrIce2sea) \
484        $(diagnoshelf) \
485        $(Liste_Netcdf) \
486        $(routines_communes) steps_time_loop.o \
487        $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
488
489Grice2sea_iterbeta : $(Dim_GrIce2sea) $(mod_dim_communs)   \
490        $(toy_recul)  \
491        $(mod_communs_RGL) \
492        $(mod_clim_tof)  \
493        $(mod_tracers) \
494        $(mod_ell) $(Liste_GrIce2sea) \
495        $(diagnoshelf) \
496        $(Liste_Netcdf) \
497        $(routines_communes) steps_time_loop_avec_iterbeta.o \
498        $(routine_elliptiques)
499
500        $(LK) -o ../bin/Grice2sea_iterbeta \
501        $(Dim_GrIce2sea) $(mod_dim_communs)  \
502        $(toy_recul)  \
503        $(mod_communs_RGL) \
504        $(mod_clim_tof)  \
505        $(mod_tracers) \
506        $(mod_ell) $(Liste_GrIce2sea) \
507        $(diagnoshelf) \
508        $(Liste_Netcdf) \
509        $(routines_communes) steps_time_loop_avec_iterbeta.o \
510        $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
511
512Hemin-40 : $(Dim_hemin40) $(mod_dim_communs) \
513        $(toy_recul)  \
514        $(mod_communs) \
515        $(mod_clim_tof) \
516        $(mod_tracers) \
517        $(mod_ell) $(Liste_hemin40) \
518        $(diagnoshelf) \
519        $(Liste_Netcdf) \
520        $(routines_communes) steps_time_loop.o \
521        $(routine_elliptiques) \
522        $(Liste_BLAS)
523
524        $(LK) -o  ../bin/Hemin-40 \
525        $(Dim_hemin40) $(mod_dim_communs) \
526        $(toy_recul)  \
527        $(mod_communs) \
528        $(mod_clim_tof) \
529        $(mod_tracers) \
530        $(mod_ell) $(Liste_hemin40) \
531        $(diagnoshelf) \
532        $(Liste_Netcdf) \
533        $(routines_communes) steps_time_loop.o \
534        $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB) $(Liste_BLAS)
535
536Hemin-15 : $(Dim_hemin15) $(mod_dim_communs) \
537        $(toy_recul)  \
538        $(mod_communs) \
539        $(mod_clim_tof) \
540        $(mod_no_tracers) \
541        $(mod_ell) $(Liste_hemin15) \
542        $(diagnoshelf) \
543        $(Liste_Netcdf) \
544        $(routines_communes) steps_time_loop.o \
545        $(routine_elliptiques)
546
547        $(LK) -o  ../bin/Hemin-15 \
548        $(Dim_hemin15) $(mod_dim_communs) \
549        $(toy_recul)  \
550        $(mod_communs) \
551        $(mod_clim_tof) \
552        $(mod_no_tracers) \
553        $(mod_ell) $(Liste_hemin15) \
554        $(diagnoshelf) \
555        $(Liste_Netcdf) \
556        $(routines_communes) steps_time_loop.o \
557        $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
558
559Greeneem15 : $(Dim_greeneem15) $(mod_dim_communs) \
560        $(toy_recul)  \
561        $(mod_communs) \
562        $(mod_clim_tof) \
563        $(mod_tracers) \
564        $(mod_ell) $(Liste_greeneem15) \
565        $(diagnoshelf) \
566        $(Liste_Netcdf) \
567        $(routines_communes) steps_time_loop.o \
568        $(routine_elliptiques)
569
570        $(LK) -o ../bin/Greeneem15 \
571        $(Dim_greeneem15) $(mod_dim_communs) \
572        $(toy_recul)  \
573        $(mod_communs) \
574        $(mod_clim_tof) \
575        $(mod_no_tracers) \
576        $(mod_ell) $(Liste_greeneem15) \
577        $(diagnoshelf) \
578        $(Liste_Netcdf) \
579        $(routines_communes) steps_time_loop.o \
580        $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
581
582Ant-40 : $(Dim_Ant40) $(mod_dim_communs) \
583        $(toy_recul)  \
584        $(mod_communs) \
585        $(mod_clim_tof) \
586        $(mod_no_tracers) \
587        $(mod_ell) $(Liste_Ant40) \
588        $(diagnoshelf) \
589        $(Liste_Netcdf) \
590        $(routines_communes) steps_time_loop.o \
591        $(routine_elliptiques) \
592        $(Liste_BLAS)
593
594        $(LK) -o  ../bin/Ant-40 \
595        $(Dim_Ant40) $(mod_dim_communs) \
596        $(toy_recul)  \
597        $(mod_communs) \
598        $(mod_clim_tof) \
599        $(mod_no_tracers) \
600        $(mod_ell) $(Liste_Ant40) \
601        $(diagnoshelf) \
602        $(Liste_Netcdf) \
603        $(routines_communes) steps_time_loop.o \
604        $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB) $(Liste_BLAS)
605       
606Snowball : $(Dim_Snowball) $(mod_dim_communs) \
607        $(toy_recul)  \
608        $(mod_communs) \
609        $(mod_clim_tof) \
610        $(mod_no_tracers) \
611        $(mod_ell) $(Liste_Snowball) \
612        $(diagnoshelf) \
613        $(Liste_Netcdf) \
614        $(routines_communes) steps_time_loop.o \
615        $(routine_elliptiques) \
616        $(Liste_BLAS)
617
618        $(LK) -o  ../bin/Snowball \
619        $(Dim_Snowball) $(mod_dim_communs) \
620        $(toy_recul)  \
621        $(mod_communs) \
622        $(mod_clim_tof) \
623        $(mod_no_tracers) \
624        $(mod_ell) $(Liste_Snowball) \
625        $(diagnoshelf) \
626        $(Liste_Netcdf) \
627        $(routines_communes) steps_time_loop.o \
628        $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB) $(Liste_BLAS)
629       
630       
631clean   :
632        rm -f *.o *.mod *~  */*~ BLAS/*.o
633       
634
635
636
637
638# attention : dans les geometries suivantes la liste module climat n'est pas donnee
639
640Hudson : $(Dim_hudson) $(mod_dim_communs) $(mod_communs)  $(mod_ell) $(Liste_hudson) \
641        $(diagnoshelf) $(Liste_Netcdf) \
642        $(routines_communes) $(routine_elliptiques) 
643        $(LK) -o ../bin/Hudson  $(Dim_hudson) $(mod_dim_communs) $(mod_communs) $(mod_ell) $(Liste_hudson) \
644        $(diagnoshelf) $(Liste_Netcdf) \
645        $(routines_communes) $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
646
647#Hemin-40 : $(Dim_hemin40) $(mod_dim_communs) $(mod_communs)  $(mod_ell)  $(Liste_hemin40) \
648#       $(diagnoshelf) $(Liste_Netcdf) \
649#       $(routines_communes) $(routine_elliptiques) 
650
651#       $(LK) -o  ../bin/Hemin-40  $(Dim_hemin40) $(mod_dim_communs) $(mod_communs) \
652#       $(mod_ell)  $(Liste_hemin40) \
653#       $(diagnoshelf) $(Liste_Netcdf) \
654#       $(routines_communes) $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
655
656Heminord : $(Liste_heminord) $(Liste_commune) $(Liste_BLAS)
657        $(LK) -o Heminord $(Liste_heminord) $(Liste_commune) $(Liste_BLAS)
658
659
660Eura-40 :  $(Dim_eura40) $(mod_dim_communs) $(mod_communs)  $(mod_ell)  $(Liste_eura40) \
661        $(diagnoshelf) $(Liste_Netcdf) \
662        $(routines_communes) $(routine_elliptiques)
663
664        $(LK) -o  ../bin/Eura-40  $(Dim_eura40) $(mod_dim_communs) $(mod_communs) \
665        $(mod_ell)  $(Liste_eura40) \
666        $(diagnoshelf) $(Liste_Netcdf) \
667        $(routines_communes) $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
668
669Greenmint40 : $(Dim_greenmint40) $(mod_dim_communs) $(mod_communs) \
670        $(mod_ell) $(Liste_greenmint40) \
671        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
672
673        $(LK) -o ../bin/Greenmint40 $(Dim_greenmint40) $(mod_dim_communs) $(mod_communs) \
674        $(mod_ell) $(Liste_greenmint40) \
675        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
676        $(NCDF_LIB)  $(MKL_LIB)
677
678Greeneem45 : $(Dim_greeneem45) $(mod_dim_communs) $(mod_communs) \
679        $(mod_ell) $(Liste_greeneem45) \
680        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
681
682        $(LK) -o ../bin/Greeneem45 $(Dim_greeneem45) $(mod_dim_communs) $(mod_communs) \
683        $(mod_ell) $(Liste_greeneem45) \
684        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
685        $(NCDF_LIB)  $(MKL_LIB)
686
687Greeneem05 : $(Dim_greeneem05) $(mod_dim_communs) $(mod_communs) \
688        $(mod_ell) $(Liste_greeneem05) \
689        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
690
691        $(LK) -o ../bin/Greeneem05 $(Dim_greeneem05) $(mod_dim_communs) $(mod_communs) \
692        $(mod_ell) $(Liste_greeneem05) \
693        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
694        $(NCDF_LIB)  $(MKL_LIB)
695
696
697Gsearise15 : $(Dim_gsearise15) $(mod_dim_communs) $(mod_communs) \
698        $(mod_ell) $(Liste_gsearise15) \
699        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
700
701        $(LK) -o ../bin/Gsearise15 $(Dim_gsearise15) $(mod_dim_communs) $(mod_communs) \
702        $(mod_ell) $(Liste_gsearise15) \
703        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
704        $(NCDF_LIB)  $(MKL_LIB)
705
706
707Gsearise05 : $(Dim_gsearise05) $(mod_dim_communs) $(mod_communs) \
708        $(mod_ell) $(Liste_gsearise05) \
709        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
710
711        $(LK) -o ../bin/Gsearise05 $(Dim_gsearise05) $(mod_dim_communs) $(mod_communs) \
712        $(mod_ell) $(Liste_gsearise05) \
713        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
714        $(NCDF_LIB)  $(MKL_LIB)
715
716
717
718
719
720
721
722
723
724
725
Note: See TracBrowser for help on using the repository browser.