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

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

OpenMP parallelization in remplimat-shelves-tabTu.f90 and simplified compilation options

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