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

Last change on this file since 175 was 172, checked in by aquiquet, 7 years ago

New version of basal drag: parameterised from effective pressure but with a minimal value over sediment areas

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