source: branches/iLoveclim/SOURCES/Makefile.grisli-gfortran.inc @ 100

Last change on this file since 100 was 91, checked in by aquiquet, 8 years ago

GRISLI coupled using basal melting rates coming from CLIO. Might need further testing for LGM conditions.

File size: 23.3 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
42# Modif dmr 2016-01-20
43mod_clim_tof = climat_forcage_mois_mod.o climat-forcage-insolation_mod_oneway.o \
44        climat-forcage-insolation_mod.o climat_GrIce2sea_years_mod.o \
45        climat_GrIce2sea_years_perturb_mod.o \
46        climat-perturb_mod-0.4.o \
47        ablation_mod.o no_ablation_mod.o \
48        climat_coupl_atm_mod.o
49
50# methode forcage basee sur des snapshots climats
51mod_clim_forcage = climat-forcage_mod-0.4.o \
52        declare-month_mod.o \
53        declare-month_lapsecouche_mod.o  \
54        ablation_ann_july_mod.o \
55        ablation_month.o accum_month.o no_ablation_mod.o \
56        massb-ant_forcage-0.4.o accum7.o \
57        ablation_month_lapsecouche.o accum_month_lapsecouche.o
58
59# methode perturbation des champs actuels
60mod_clim_perturb = climat-perturb_mod-0.4.o climat-perturb-mois_mod.o \
61        climat-perturb-mois_lapsecouche_mod.o \
62        declare-month_mod.o \
63        declare-month_lapsecouche_mod.o  \
64        ablation_ann_july_mod.o \
65        ablation_month.o accum_month.o no_ablation_mod.o \
66        ablation_month_lapsecouche.o accum_month_lapsecouche.o \
67        massb_perturb_mois.o massb_perturb_mois_lapsecouche.o
68
69mod_communs = util_recovery.o \
70        interface_input.o \
71        iso_declar_mod-0.3.o isostasie_mod-0.3.o noisostasie_mod-0.3.o \
72        deformation_mod_2lois.o deformation_mod_2lois_isotherme.o     \
73        sliding_Bindshadler_mod.o no_sliding.o                      \
74        dragging_hwatermax_0.2_mod.o dragging_calc_beta_mod.o  \
75        dragging_hwat-contigu_mod.o dragging_hwat_contmaj_mod.o \
76        dragging_hwat_sedim_mod.o dragging_neff_slope_mod.o \
77        calving_frange.o no_calving.o no_lakes.o \
78        out_profile_mod.o printtable_mod.o mix-SIA-L1_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 \
85        bmelt_clio_coupl_mod.o bmelt-seuil-profondeur_mod.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        calving_frange.o no_calving.o no_lakes.o \
95        out_profile_mod.o printtable_mod.o mix-SIA-L1_mod.o \
96        relaxation_water_diffusion.o \
97        prescribe-H-i2s_mod.o   \
98        resol_adv_diff_2D-sept2009.o  \
99        conserv-mass-adv-diff_sept2009_mod.o  \
100        eaubasale-0.5_mod.o spinup_mod.o no_spinup_mod.o \
101        tridiag_mod-0.3.o out_horiz_mod.o bmelt-seuil-profondeur_mod.o
102
103
104# attention les tracers reclament le climat_perturb
105mod_tracers = tracer_vars_mod.o tracer_mod.o notracer_mod.o \
106        interpolate_tracer.o celltest_tracer.o 
107# no_tracer a part pour eviter pb avec climat_perturb => voir avec Cat
108mod_no_tracers = tracer_vars_mod.o notracer_mod.o
109
110
111Proto_recul = proto_declar_3D_grisli_mod.o \
112        declar_io_ncdf_proto_mod.o\
113        declar_proto_recul.o \
114        proto_recul_mod.o \
115
116# Toy est la version juin 2012 avec Schooffing
117
118toy_recul = toy_declar_3D_grisli_mod.o \
119        declar_io_ncdf_toy_mod_fake.o\
120        declar_toy_retreat.o \
121        toy_retreat_mod.o \
122
123
124
125# liste de routines communes
126
127routines_communes = tracebug.o ablation_bord.o \
128        icetemp_declar_mod.o bmelt-grounded.o \
129        diffusiv-polyn-0.6.o \
130        flottab2-0.7.o   \
131        advec_icetemp.o \
132        prop_th_icetemp.o \
133        Qprod_icetemp.o \
134        temp_col.o \
135        icetemp_mod.o \
136        initial-0.3.o initial-phy-2.o initial2-0.4.o \
137        lect-eis.o  readinput.o lect_datfile.o write_datfile.o \
138        out_cptr_mod.o lineartemp-0.2.o  litho-0.4.o main3D-0.4-40km.o masque.o \
139        minmax-format.o moy_mxmy.o neffect-0.4.o new-flot-0.3.o  next-time.o \
140        no-icethick.o  printdebug.o  \
141        sealevel-out.o slope_surf.o \
142        snaptime.o sortie-hz-multivar.o strain_rate.o \
143        tab-litho-0.3.o taubed-0.3.o \
144        velocities-polyn-0.3.o \
145        courbures.o
146
147
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
310Liste_BLAS = LAPACK/band.o LAPACK/reduc.o \
311        BLAS/isamax.o BLAS/lsame.o BLAS/scopy.o \
312        BLAS/slamch.o BLAS/slabad.o BLAS/slange.o \
313        BLAS/slassq.o BLAS/sgeqrf.o BLAS/sormqr.o \
314        BLAS/strmv.o BLAS/slarft.o \
315        BLAS/ilaslr.o BLAS/ilaslc.o BLAS/strmm.o \
316        BLAS/slarfb.o BLAS/slapy2.o BLAS/slarfg.o BLAS/slarf.o \
317        BLAS/sgeqr2.o BLAS/sorm2r.o BLAS/snrm2.o \
318        BLAS/slaqps.o BLAS/slaqp2.o BLAS/sgeqp3.o \
319        BLAS/slaset.o BLAS/slaisnan.o BLAS/sisnan.o \
320        BLAS/slascl.o BLAS/sdot.o BLAS/slaic1.o \
321        BLAS/slarzb.o BLAS/slarzt.o \
322        BLAS/saxpy.o BLAS/slarz.o BLAS/sormr3.o \
323        BLAS/sormrz.o BLAS/slatrz.o BLAS/stzrzf.o BLAS/sgelsy.o \
324        BLAS/sgbmv.o BLAS/sgemm.o BLAS/sgemv.o  BLAS/sger.o \
325        BLAS/sscal.o BLAS/sswap.o BLAS/stbsv.o \
326        BLAS/strsm.o BLAS/xerbla.o
327
328
329
330Liste_Netcdf =   sortie_netcdf_GRISLI_mod.0.2-hassine.o
331
332
333# Pour changer la methode de lecture du fichier param
334#----------------------------------------------------------------------------------
335initial-phy-2.o :
336        echo 'methode', $(JOB)
337
338ifeq ($(JOB),'job')
339        echo 'entree fichier parametre par commande echo job'
340
341         $(FT) $(NCDF_INC) -c initial-phy-2-job.f90
342else   
343        echo ' fichier parametre defini par runname'
344         $(FT) $(NCDF_INC) -c initial-phy-2.f90
345endif
346
347# Hemin40_files :
348%.o: Hemin40_files/%.f90
349        $(FT) $(NCDF_INC) -c Hemin40_files/$*.f90
350
351# Hemin15_files
352%.o: Hemin15_files/%.f90
353        $(FT) $(NCDF_INC) -c Hemin15_files/$*.f90
354       
355# Antarctique_general_files
356%.o: Antarctique_general_files/%.f90
357        $(FT) $(NCDF_INC) -c Antarctique_general_files/$*.f90
358       
359# GrIce2sea_files
360%.o: GrIce2sea_files/%.f90
361        $(FT) $(NCDF_INC) -c GrIce2sea_files/$*.f90
362       
363# Ant40_files
364%.o: Ant40_files/%.f90
365        $(FT) $(NCDF_INC) -c Ant40_files/$*.f90
366       
367# ANT15-LBq_files
368%.o: ANT15-LBq_files/%.f90
369        $(FT) $(NCDF_INC) -c ANT15-LBq_files/$*.f90
370       
371# Greeneem_files/Greeneem15_files
372%.o: Greeneem_files/Greeneem15_files/%.f90
373        $(FT) $(NCDF_INC) -c Greeneem_files/Greeneem15_files/$*.f90
374       
375# Greeneem_files
376%.o: Greeneem_files/%.f90
377        $(FT) $(NCDF_INC) -c Greeneem_files/$*.f90
378               
379# Draggings_modules
380%.o: Draggings_modules/%.f90
381        $(FT) $(NCDF_INC) -c Draggings_modules/$*.f90
382       
383# Snowball_files
384%.o: Snowball_files/%.f90
385        $(FT) $(NCDF_INC) -c Snowball_files/$*.f90
386       
387       
388# subroutines communes :
389%.o: %.f90
390        $(FT) $(NCDF_INC) -c $*.f90
391       
392# New-remplimat :
393%.o : New-remplimat/%.f90
394        $(FT) $(NCDF_INC) -c New-remplimat/$*.f90
395       
396# Netcdf-routines :
397%.o: Netcdf-routines/%.f90
398        $(FT) $(NCDF_INC) -c Netcdf-routines/$*.f90
399       
400#toy_recul :
401%.o: Recul_force_grounding_line/%.f90
402        $(FT) $(NCDF_INC) -c Recul_force_grounding_line/$*.f90
403       
404#Temperature :
405%.o : Temperature-routines/%.f90
406        $(FT) $(NCDF_INC) -c Temperature-routines/$*.f90
407       
408# BLAS :
409%.o : BLAS/%.f
410        $(FT) -c BLAS/$*.f
411       
412# Reduc et band:   
413%.o : LAPACK/%.f
414        $(FT) -c LAPACK/$*.f
415
416
417# Liens et Construction des executables
418#---------------------------------------
419#       $(mod_clim_forcage) \ a mettre a la place de mod_clim_perturb eventuellement
420
421Ant-15 : $(Dim_ANT15-LBq) $(mod_dim_communs) \
422        $(toy_recul) \
423        $(mod_communs) \
424        $(mod_clim_tof)  \
425        $(mod_no_tracers) \
426        $(mod_ell) $(Liste_ANT15-LBq) \
427        $(diagnoshelf) \
428        $(Liste_Netcdf) \
429        $(routines_communes) steps_time_loop.o \
430        $(routine_elliptiques) \
431        $(Liste_BLAS)
432
433        $(LK) -o ../bin/Ant-15 \
434        $(Dim_ANT15-LBq) $(mod_dim_communs) \
435        $(toy_recul)  \
436        $(mod_communs) \
437        $(mod_clim_tof)  \
438        $(mod_no_tracers) \
439        $(mod_ell) $(Liste_ANT15-LBq) \
440        $(diagnoshelf) \
441        $(Liste_Netcdf) \
442        $(routines_communes) steps_time_loop.o \
443        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
444
445Recul_ice2sea : $(Dim_ANT15-LBq) $(mod_dim_communs)  \
446        $(toy_recul) \
447        $(mod_communs_RGL) \
448        $(mod_clim_perturb)  \
449        $(mod_tracers) \
450        $(mod_ell) $(Liste_ANT15-LBq) \
451        $(diagnoshelf) \
452        $(Liste_Netcdf) \
453        $(routines_communes)steps_time_loop.o  $(routine_elliptiques)
454
455        $(LK) -o ../bin/recul_gl  $(Dim_ANT15-LBq) $(mod_dim_communs) \
456        $(toy_recul) \
457        $(mod_communs_RGL) \
458        $(mod_clim_perturb)  \
459        $(mod_tracers) \
460        $(mod_ell) \
461        $(Liste_ANT15-LBq) \
462        $(diagnoshelf) $(Liste_Netcdf) \
463        $(routines_communes) steps_time_loop.o $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
464
465
466Mismip3D_5 : $(Dim_Mismip_3D_5)  $(mod_dim_communs)  $(mod_communs) \
467        $(mod_ell) $(Liste_mismip_3D_5) \
468        $(Liste_Netcdf) $(Liste_mismip_post_ncdf) \
469        $(diagnoshelf) \
470        $(routines_communes) steps_time_loop.o $(routine_elliptiques)
471
472        $(LK) -o ../bin/mismip3D  $(Dim_Mismip_3D_5)  \
473        $(mod_dim_communs) fake-routines-mismip3d_mod.o $(mod_communs) \
474        $(mod_ell)  $(Liste_mismip_3D_5) \
475        $(Liste_Netcdf) $(Liste_mismip_post_ncdf) $(diagnoshelf) \
476        $(routines_communes) steps_time_loop.o $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
477
478Grice2sea : $(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) \
488        $(Liste_BLAS)
489
490        $(LK) -o ../bin/Grice2sea \
491        $(Dim_GrIce2sea) $(mod_dim_communs)  \
492        $(toy_recul)  \
493        $(mod_communs_RGL) \
494        $(mod_clim_tof)  \
495        $(mod_tracers) \
496        $(mod_ell) $(Liste_GrIce2sea) \
497        $(diagnoshelf) \
498        $(Liste_Netcdf) \
499        $(routines_communes) steps_time_loop.o \
500        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
501
502Grice2sea_iterbeta : $(Dim_GrIce2sea) $(mod_dim_communs)   \
503        $(toy_recul)  \
504        $(mod_communs_RGL) \
505        $(mod_clim_tof)  \
506        $(mod_tracers) \
507        $(mod_ell) $(Liste_GrIce2sea) \
508        $(diagnoshelf) \
509        $(Liste_Netcdf) \
510        $(routines_communes) steps_time_loop_avec_iterbeta.o \
511        $(routine_elliptiques) \
512        $(Liste_BLAS)
513
514        $(LK) -o ../bin/Grice2sea_iterbeta \
515        $(Dim_GrIce2sea) $(mod_dim_communs)  \
516        $(toy_recul)  \
517        $(mod_communs_RGL) \
518        $(mod_clim_tof)  \
519        $(mod_tracers) \
520        $(mod_ell) $(Liste_GrIce2sea) \
521        $(diagnoshelf) \
522        $(Liste_Netcdf) \
523        $(routines_communes) steps_time_loop_avec_iterbeta.o \
524        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
525
526Hemin-40 : $(Dim_hemin40) $(mod_dim_communs) \
527        $(toy_recul)  \
528        $(mod_communs) \
529        $(mod_clim_tof) \
530        $(mod_tracers) \
531        $(mod_ell) $(Liste_hemin40) \
532        $(diagnoshelf) \
533        $(Liste_Netcdf) \
534        $(routines_communes) main_dummy.o steps_time_loop.o \
535        $(routine_elliptiques) \
536        $(Liste_BLAS)
537
538        $(LK) -o  ../bin/Hemin-40 \
539        $(Dim_hemin40) $(mod_dim_communs) \
540        $(toy_recul)  \
541        $(mod_communs) \
542        $(mod_clim_tof) \
543        $(mod_tracers) \
544        $(mod_ell) $(Liste_hemin40) \
545        $(diagnoshelf) \
546        $(Liste_Netcdf) \
547        $(routines_communes) main_dummy.o steps_time_loop.o \
548        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
549
550        ar -cvr libgrisli.a $(Dim_hemin40) $(mod_dim_communs) \
551        $(toy_recul)  \
552        $(mod_communs) \
553        $(mod_clim_tof) \
554        $(mod_no_tracers) \
555        $(mod_ell) $(Liste_hemin40) \
556        $(diagnoshelf) \
557        $(Liste_Netcdf) \
558        $(routines_communes) steps_time_loop.o \
559        $(routine_elliptiques) \
560        $(Liste_BLAS) *.mod
561
562Hemin-15 : $(Dim_hemin15) $(mod_dim_communs) \
563        $(toy_recul)  \
564        $(mod_communs) \
565        $(mod_clim_tof) \
566        $(mod_no_tracers) \
567        $(mod_ell) $(Liste_hemin15) \
568        $(diagnoshelf) \
569        $(Liste_Netcdf) \
570        $(routines_communes) steps_time_loop.o \
571        $(routine_elliptiques) \
572        $(Liste_BLAS)
573
574        $(LK) -o  ../bin/Hemin-15 \
575        $(Dim_hemin15) $(mod_dim_communs) \
576        $(toy_recul)  \
577        $(mod_communs) \
578        $(mod_clim_tof) \
579        $(mod_no_tracers) \
580        $(mod_ell) $(Liste_hemin15) \
581        $(diagnoshelf) \
582        $(Liste_Netcdf) \
583        $(routines_communes) steps_time_loop.o \
584        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
585
586Greeneem15 : $(Dim_greeneem15) $(mod_dim_communs) \
587        $(toy_recul)  \
588        $(mod_communs) \
589        $(mod_clim_tof) \
590        $(mod_tracers) \
591        $(mod_ell) $(Liste_greeneem15) \
592        $(diagnoshelf) \
593        $(Liste_Netcdf) \
594        $(routines_communes) steps_time_loop.o \
595        $(routine_elliptiques) \
596        $(Liste_BLAS)
597
598        $(LK) -o ../bin/Greeneem15 \
599        $(Dim_greeneem15) $(mod_dim_communs) \
600        $(toy_recul)  \
601        $(mod_communs) \
602        $(mod_clim_tof) \
603        $(mod_no_tracers) \
604        $(mod_ell) $(Liste_greeneem15) \
605        $(diagnoshelf) \
606        $(Liste_Netcdf) \
607        $(routines_communes) steps_time_loop.o \
608        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
609
610Ant-40 : $(Dim_Ant40) $(mod_dim_communs) \
611        $(toy_recul)  \
612        $(mod_communs) \
613        $(mod_clim_tof) \
614        $(mod_no_tracers) \
615        $(mod_ell) $(Liste_Ant40) \
616        $(diagnoshelf) \
617        $(Liste_Netcdf) \
618        $(routines_communes) steps_time_loop.o \
619        $(routine_elliptiques) \
620        $(Liste_BLAS)
621
622        $(LK) -o  ../bin/Ant-40 \
623        $(Dim_Ant40) $(mod_dim_communs) \
624        $(toy_recul)  \
625        $(mod_communs) \
626        $(mod_clim_tof) \
627        $(mod_no_tracers) \
628        $(mod_ell) $(Liste_Ant40) \
629        $(diagnoshelf) \
630        $(Liste_Netcdf) \
631        $(routines_communes) steps_time_loop.o \
632        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
633       
634Snowball : $(Dim_Snowball) $(mod_dim_communs) \
635        $(toy_recul)  \
636        $(mod_communs) \
637        $(mod_clim_tof) \
638        $(mod_no_tracers) \
639        $(mod_ell) $(Liste_Snowball) \
640        $(diagnoshelf) \
641        $(Liste_Netcdf) \
642        $(routines_communes) steps_time_loop.o \
643        $(routine_elliptiques) \
644        $(Liste_BLAS)
645
646        $(LK) -o  ../bin/Snowball \
647        $(Dim_Snowball) $(mod_dim_communs) \
648        $(toy_recul)  \
649        $(mod_communs) \
650        $(mod_clim_tof) \
651        $(mod_no_tracers) \
652        $(mod_ell) $(Liste_Snowball) \
653        $(diagnoshelf) \
654        $(Liste_Netcdf) \
655        $(routines_communes) steps_time_loop.o \
656        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
657       
658       
659
660
661
662# attention : dans les geometries suivantes la liste module climat n'est pas donnee
663
664Hudson : $(Dim_hudson) $(mod_dim_communs) $(mod_communs)  $(mod_ell) $(Liste_hudson) \
665        $(diagnoshelf) $(Liste_Netcdf) \
666        $(routines_communes) $(routine_elliptiques) 
667        $(LK) -o ../bin/Hudson  $(Dim_hudson) $(mod_dim_communs) $(mod_communs) $(mod_ell) $(Liste_hudson) \
668        $(diagnoshelf) $(Liste_Netcdf) \
669        $(routines_communes) $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
670
671#Hemin-40 : $(Dim_hemin40) $(mod_dim_communs) $(mod_communs)  $(mod_ell)  $(Liste_hemin40) \
672#       $(diagnoshelf) $(Liste_Netcdf) \
673#       $(routines_communes) $(routine_elliptiques) 
674
675#       $(LK) -o  ../bin/Hemin-40  $(Dim_hemin40) $(mod_dim_communs) $(mod_communs) \
676#       $(mod_ell)  $(Liste_hemin40) \
677#       $(diagnoshelf) $(Liste_Netcdf) \
678#       $(routines_communes) $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
679
680Heminord : $(Liste_heminord) $(Liste_commune) $(Liste_BLAS)
681        $(LK) -o Heminord $(Liste_heminord) $(Liste_commune) $(Liste_BLAS)
682
683
684Eura-40 :  $(Dim_eura40) $(mod_dim_communs) $(mod_communs)  $(mod_ell)  $(Liste_eura40) \
685        $(diagnoshelf) $(Liste_Netcdf) \
686        $(routines_communes) $(routine_elliptiques)
687
688        $(LK) -o  ../bin/Eura-40  $(Dim_eura40) $(mod_dim_communs) $(mod_communs) \
689        $(mod_ell)  $(Liste_eura40) \
690        $(diagnoshelf) $(Liste_Netcdf) \
691        $(routines_communes) $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
692
693Greenmint40 : $(Dim_greenmint40) $(mod_dim_communs) $(mod_communs) \
694        $(mod_ell) $(Liste_greenmint40) \
695        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
696
697        $(LK) -o ../bin/Greenmint40 $(Dim_greenmint40) $(mod_dim_communs) $(mod_communs) \
698        $(mod_ell) $(Liste_greenmint40) \
699        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
700        $(NCDF_LIB)  $(MKL_LIB)
701
702Greeneem45 : $(Dim_greeneem45) $(mod_dim_communs) $(mod_communs) \
703        $(mod_ell) $(Liste_greeneem45) \
704        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
705
706        $(LK) -o ../bin/Greeneem45 $(Dim_greeneem45) $(mod_dim_communs) $(mod_communs) \
707        $(mod_ell) $(Liste_greeneem45) \
708        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
709        $(NCDF_LIB)  $(MKL_LIB)
710
711Greeneem05 : $(Dim_greeneem05) $(mod_dim_communs) $(mod_communs) \
712        $(mod_ell) $(Liste_greeneem05) \
713        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
714
715        $(LK) -o ../bin/Greeneem05 $(Dim_greeneem05) $(mod_dim_communs) $(mod_communs) \
716        $(mod_ell) $(Liste_greeneem05) \
717        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
718        $(NCDF_LIB)  $(MKL_LIB)
719
720
721Gsearise15 : $(Dim_gsearise15) $(mod_dim_communs) $(mod_communs) \
722        $(mod_ell) $(Liste_gsearise15) \
723        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
724
725        $(LK) -o ../bin/Gsearise15 $(Dim_gsearise15) $(mod_dim_communs) $(mod_communs) \
726        $(mod_ell) $(Liste_gsearise15) \
727        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
728        $(NCDF_LIB)  $(MKL_LIB)
729
730
731Gsearise05 : $(Dim_gsearise05) $(mod_dim_communs) $(mod_communs) \
732        $(mod_ell) $(Liste_gsearise05) \
733        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
734
735        $(LK) -o ../bin/Gsearise05 $(Dim_gsearise05) $(mod_dim_communs) $(mod_communs) \
736        $(mod_ell) $(Liste_gsearise05) \
737        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
738        $(NCDF_LIB)  $(MKL_LIB)
739
740
741
742
743clean   :
744        rm -f *.o *.mod *~  */*~ BLAS/*.o LAPACK/*.o libgrisli.a
745
746
747
748
749
750
751
752
Note: See TracBrowser for help on using the repository browser.