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

Last change on this file was 186, checked in by aquiquet, 6 years ago

Grisli - iLoveclim branch: Updated gfortran Makefile

File size: 25.8 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_InitMIP_years_perturb_mod.o \
47        climat-perturb_mod-0.4.o \
48        ablation_mod.o no_ablation_mod.o \
49        climat_coupl_atm_mod.o
50
51# methode forcage basee sur des snapshots climats
52mod_clim_forcage = climat-forcage_mod-0.4.o \
53        declare-month_mod.o \
54        declare-month_lapsecouche_mod.o  \
55        ablation_ann_july_mod.o \
56        ablation_month.o accum_month.o no_ablation_mod.o \
57        massb-ant_forcage-0.4.o accum7.o \
58        ablation_month_lapsecouche.o accum_month_lapsecouche.o
59
60# methode perturbation des champs actuels
61mod_clim_perturb = climat-perturb_mod-0.4.o climat-perturb-mois_mod.o \
62        climat-perturb-mois_lapsecouche_mod.o \
63        declare-month_mod.o \
64        declare-month_lapsecouche_mod.o  \
65        ablation_ann_july_mod.o \
66        ablation_month.o accum_month.o no_ablation_mod.o \
67        ablation_month_lapsecouche.o accum_month_lapsecouche.o \
68        massb_perturb_mois.o massb_perturb_mois_lapsecouche.o
69
70mod_communs = util_recovery.o \
71        interface_input.o \
72        iso_declar_mod-0.3.o isostasie_mod-0.3.o noisostasie_mod-0.3.o \
73        deformation_mod_2lois.o deformation_mod_2lois_isotherme.o     \
74        sliding_Bindshadler_mod.o no_sliding.o                      \
75        dragging_hwatermax_0.2_mod.o dragging_calc_beta_mod.o  \
76        dragging_hwat-contigu_mod.o dragging_hwat_contmaj_mod.o \
77        dragging_hwat_sedim_mod.o dragging_neff_slope_mod.o \
78        dragging_param_beta_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 out_horiz_mod.o \
88        bmelt_clio_coupl_mod.o bmelt-seuil-profondeur_mod.o
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 sortie-hz-multivar.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
154
155# listes dependant de la geographie
156#_____________________________________
157
158# Liste_mismip_3D_5
159Liste_mismip_3D_5 =  no_ablation_mod.o climat-mismip3d_mod.o  \
160        output_global_mod.o dragging_mismip3d_mod.o \
161        fake-routines-mismip3d_mod.o \
162        tracer_vars_mod.o notracer_mod.o
163
164# Liste_mismip_post_ncdf
165Liste_mismip_post_ncdf = lect-mismip3d_mod.o  module_choix_mismip3d.o
166
167
168# Liste_GrIce2sea
169Liste_GrIce2sea =  lect_GrIce2sea_gen_nc.o  \
170        output_Grice2sea_mod.o  fake-routines_Grice2sea_mod.o \
171        dragging_prescr_beta_mod.o beta_iter_vitbil_mod.o module_choix_GrIce2sea.o
172       
173
174Liste_heminord = paradim-nord40_mod.o  output_nord_mod-0.4.o \
175        lect-clim-act-nord40_mod.o lect-nord40_mod.o  \
176        bmelt-nor-regions_mod.o bmelt-nor-depth_mod.o module_choix-heminord-0.4.o \
177        fake-routines-nord_mod.o
178
179
180#Liste_ANT15-LBq = lect-Ant_clim_Acc-T_gen_dat.o output_anta_mod-0.4.o \
181#       dragging-vit_bil_LBq_gen_mod.o dragging_LGM_mod.o dragging_plastic_LGM_mod.o \
182#       dragging_prescr_beta_mod.o dragging_prescr_beta_buoyency_mod.o dragging_prescr_beta_nolin_mod.o \
183#       fake-routines-ant_mod.o beta_iter_vitbil_mod.o \
184#       lect-Ant_gen2010_dat.o module_choix_antar15_LBq.o \
185#       massb-ant_perturb_Tparam.o track_ant40_mod.o
186
187
188# lect-Ant_clim_Acc-T_gen_dat.o dragging-vit_bil_LBq_gen_mod.o dragging_LGM_mod.o
189# dragging_plastic_LGM_mod.o dragging_prescr_beta_buoyency_mod.o\
190
191
192Liste_ANT16 = output_anta40_mod-0.4.o \
193                dragging_prescr_beta_mod.o \
194                dragging_prescr_beta_nolin_mod.o \
195                lect-Ant_gen2010_dat.o \
196                lect-anteis_mod.o \
197                bmelt-ant-regions_mod.o \
198                bmelt-ant-regions-initmip_mod.o \
199                fake-routines-ant_mod.o \
200                beta_iter_vitbil_mod.o \
201                module_choix-ant16km.o \
202                massb-ant_perturb_Tparam.o \
203                track_ant40_mod.o
204
205Liste_ANT15-LBq = output_anta_mod-0.4.o \
206                dragging_prescr_beta_mod.o \
207                dragging_prescr_beta_nolin_mod.o \
208                lect-Ant_gen2010_dat.o \
209                lect-anteis_mod.o \
210                bmelt-ant-regions_mod.o \
211                fake-routines-ant_mod.o \
212                beta_iter_vitbil_mod.o \
213                module_choix_antar15_LBq.o \
214                massb-ant_perturb_Tparam.o \
215                track_ant40_mod.o
216
217Liste_hudson = sedim_declar_hudson_mod.o climat-hudson_mod.o \
218       lect-hudson_mod.o eaubasale-0.5_hudson_mod.o \
219       fake-routines-hudson_mod.o detect-assym.o  \
220       prop-therm-hudson_mod.o dragging_hudson_jorge_mod.o \
221       sliding-hudson_mod.o fake-dragging-hudson_mod.o \
222       dragging-hudson_mod.o dragging_hwatermax_hudson_mod.o \
223       output_hudson_mod.o bmelt_hudson_mod.o initial-hudson-phy.o  \
224       module_choix-hudson-0.4.o track_hudson_mod.o
225
226Liste_hemin40 = output_hemin40_mod.o \
227        lect-hemin40_mod.o \
228        bmelt-hemin40-regions_mod.o bmelt-hemin40-depth_mod.o \
229        fake-routines-hemin40_mod.o \
230        dragging_prescr_beta_mod.o beta_iter_vitbil_mod.o \
231        module_choix-hemin40-0.4.o track_hemin40_mod.o
232
233Liste_hemin15 = output_hemin40_mod.o \
234        lect-hemin15_mod.o  \
235        bmelt-hemin40-depth_mod.o \
236        fake-routines-hemin15_mod.o  module_choix-hemin15.o \
237        track_hemin15_mod.o
238
239Liste_greeneem15 = output_greeneem_mod-0.4.o \
240        lect-greeneem_mod.o \
241        dragging_neem_mod.o \
242        fake-routines-greeneem_mod.o \
243        dragging_prescr_beta_mod.o beta_iter_vitbil_mod.o \
244        module_choix-greeneem.o \
245        track_greeneem_mod.o
246
247Liste_Ant40 = output_anta40_mod-0.4.o \
248        lect-anteis_mod.o \
249        bmelt-ant-regions_mod.o \
250        bmelt-ant-regions-oce_mod.o \
251        bmelt-ant-regions-initmip_mod.o \
252        fake-routines-ant_mod.o \
253        dragging_prescr_beta_mod.o beta_iter_vitbil_mod.o \
254        module_choix-antar40-0.4.o \
255        track_ant40_mod.o
256       
257Liste_Snowball = output_snowball_mod-0.4.o \
258        lect-snowball_mod.o \
259        bmelt-snowball-depth_mod.o \
260        fake-routines-snowball_mod.o \
261        module_choix-snowball.o \
262        track_snowball_mod.o
263       
264
265Liste_eura40 = output_eurasie40_mod-0.1.o \
266        lect-eurasie_mod.o lakes-prescribed_mod-0.1.o \
267        climat-forcage-mois_mod-0.2.o \
268        ablation_month.o accum_month.o  bmelt-eurasie-depth-lake_mod.o \
269        fake-routines-eurasie_mod.o module_choix-eurasie-0.4.o \
270        track_eurasie_mod.o
271
272Liste_greenmint40 = output_green_mod-0.4.o lect-clim-act-greenmint_mod.o \
273        lect-greenmint_mod.o massb_perturb_Tparam_green.o \
274        fake-routines-greenmint_mod.o massb-ant_forcage-0.4.o \
275        module_choix-greenmint-40.o track_greenmint_mod.o \
276
277Liste_greeneem45 = output_greeneem_mod-0.4.o lect-clim-act-greeneem_mod.o \
278        lect-clim-act-greeneem_mar_mod.o \
279        dragging_neem_mod.o \
280        lect-clim-act-greeneem_mois_lapsecouche_mod.o \
281        lect-clim-act-greeneem_mois_mod.o lect-greeneem_mod.o \
282        massb_perturb_Tparam_greeneem.o \
283        fake-routines-greeneem_mod.o massb-ant_forcage-0.4.o \
284        module_choix-greeneem.o track_greeneem_mod.o
285
286Liste_greeneem05 = output_greeneem_mod-0.4.o lect-clim-act-greeneem_mod.o \
287        lect-clim-act-greeneem_mar_mod.o \
288        dragging_neem_mod.o \
289        lect-clim-act-greeneem_mois_lapsecouche_mod.o \
290        lect-clim-act-greeneem_mois_mod.o lect-greeneem_mod.o \
291        massb_perturb_Tparam_greeneem.o \
292        fake-routines-greeneem_mod.o massb-ant_forcage-0.4.o \
293        module_choix-greeneem.o track_greeneem_mod.o
294
295Liste_gsearise15 = output_gsearise_mod-0.4.o lect-clim-act-gsearise_mod.o \
296        dragging_neem_mod.o \
297        lect-clim-act-gsearise_mois_mod.o lect-gsearise_mod.o \
298        massb_perturb_Tparam_gsearise.o \
299        fake-routines-gsearise_mod.o massb-ant_forcage-0.4.o \
300        module_choix-gsearise.o track_gsearise_mod.o
301
302Liste_gsearise05 = output_gsearise_mod-0.4.o lect-clim-act-gsearise_mod.o \
303        dragging_neem_mod.o \
304        lect-clim-act-gsearise_mois_mod.o lect-gsearise_mod.o \
305        massb_perturb_Tparam_gsearise.o \
306        fake-routines-gsearise_mod.o massb-ant_forcage-0.4.o \
307        module_choix-gsearise.o track_gsearise_mod.o
308
309# listes de dimensionnement (dependent de la geographie)
310#-----------------------------
311
312Dim_Mismip_3D_5 = paradim_mismip3D_5km_mod.o geography-Mismip3d.o
313
314Dim_GrIce2sea = paradim-GrIce2sea-cut_Tamsin.o geography-GrIce2sea.o
315
316Dim_ANT16 = paradim-ant16_mod.o geography-ant16.o
317
318Dim_ANT15-LBq    = paradim-ant15_LBq_mod.o geography-Ant15_LBq.o   
319
320Dim_hudson = paradim-hudson_mod.o geography-hudson_mod.o
321
322Dim_hemin40 = paradim-hemin40_mod.o geography-hemin40_mod.o
323
324Dim_hemin15 = paradim-hemin15_mod.o geography-hemin15_mod.o
325
326Dim_Ant40 = paradim-ant40_mod.o geography-ant40_mod.o
327
328Dim_Snowball = paradim-snowball_mod.o geography-snowball_mod.o
329
330Dim_eura40 = paradim-euras40_mod.o geography-euras40_mod.o
331
332Dim_greenmint40 = paradim-greenmint40_mod.o geography-greenmint40_mod.o
333
334Dim_greeneem45 = paradim-greeneem45_mod.o geography-greeneem45_mod.o
335
336Dim_greeneem15 = paradim-greeneem15_mod.o geography-greeneem15_mod.o
337
338Dim_greeneem05 = paradim-greeneem05_mod.o geography-greeneem05_mod.o
339
340Dim_gsearise15 = paradim-gsearise15_mod.o geography-gsearise15_mod.o
341
342Dim_gsearise05 = paradim-gsearise05_mod.o geography-gsearise05_mod.o
343
344
345Liste_BLAS = LAPACK/band.o LAPACK/reduc.o \
346        BLAS/isamax.o BLAS/lsame.o BLAS/scopy.o \
347        BLAS/slamch.o BLAS/slabad.o BLAS/slange.o \
348        BLAS/slassq.o BLAS/sgeqrf.o BLAS/sormqr.o \
349        BLAS/strmv.o BLAS/slarft.o \
350        BLAS/ilaslr.o BLAS/ilaslc.o BLAS/strmm.o \
351        BLAS/slarfb.o BLAS/slapy2.o BLAS/slarfg.o BLAS/slarf.o \
352        BLAS/sgeqr2.o BLAS/sorm2r.o BLAS/snrm2.o \
353        BLAS/slaqps.o BLAS/slaqp2.o BLAS/sgeqp3.o \
354        BLAS/slaset.o BLAS/slaisnan.o BLAS/sisnan.o \
355        BLAS/slascl.o BLAS/sdot.o BLAS/slaic1.o \
356        BLAS/slarzb.o BLAS/slarzt.o \
357        BLAS/saxpy.o BLAS/slarz.o BLAS/sormr3.o \
358        BLAS/sormrz.o BLAS/slatrz.o BLAS/stzrzf.o BLAS/sgelsy.o \
359        BLAS/sgbmv.o BLAS/sgemm.o BLAS/sgemv.o  BLAS/sger.o \
360        BLAS/sscal.o BLAS/sswap.o BLAS/stbsv.o \
361        BLAS/strsm.o BLAS/xerbla.o
362
363
364
365Liste_Netcdf =   sortie_netcdf_GRISLI_mod.0.2-hassine.o
366
367
368# Pour changer la methode de lecture du fichier param
369#----------------------------------------------------------------------------------
370initial-phy-2.o :
371        echo 'methode', $(JOB)
372
373ifeq ($(JOB),'job')
374        echo 'entree fichier parametre par commande echo job'
375
376         $(FT) $(NCDF_INC) -c initial-phy-2-job.f90
377else   
378        echo ' fichier parametre defini par runname'
379         $(FT) $(NCDF_INC) -c initial-phy-2.f90
380endif
381
382# Hemin40_files :
383%.o: Hemin40_files/%.f90
384        $(FT) $(NCDF_INC) -c Hemin40_files/$*.f90
385
386# Hemin15_files
387%.o: Hemin15_files/%.f90
388        $(FT) $(NCDF_INC) -c Hemin15_files/$*.f90
389       
390# Antarctique_general_files
391%.o: Antarctique_general_files/%.f90
392        $(FT) $(NCDF_INC) -c Antarctique_general_files/$*.f90
393       
394# GrIce2sea_files
395%.o: GrIce2sea_files/%.f90
396        $(FT) $(NCDF_INC) -c GrIce2sea_files/$*.f90
397       
398# Ant40_files
399%.o: Ant40_files/%.f90
400        $(FT) $(NCDF_INC) -c Ant40_files/$*.f90
401
402# Ant16_files
403%.o: Ant16_files/%.f90
404        $(FT) $(NCDF_INC) -c Ant16_files/$*.f90
405       
406# ANT15-LBq_files
407%.o: ANT15-LBq_files/%.f90
408        $(FT) $(NCDF_INC) -c ANT15-LBq_files/$*.f90
409       
410# Greeneem_files/Greeneem15_files
411%.o: Greeneem_files/Greeneem15_files/%.f90
412        $(FT) $(NCDF_INC) -c Greeneem_files/Greeneem15_files/$*.f90
413       
414# Greeneem_files
415%.o: Greeneem_files/%.f90
416        $(FT) $(NCDF_INC) -c Greeneem_files/$*.f90
417               
418# Draggings_modules
419%.o: Draggings_modules/%.f90
420        $(FT) $(NCDF_INC) -c Draggings_modules/$*.f90
421       
422# Snowball_files
423%.o: Snowball_files/%.f90
424        $(FT) $(NCDF_INC) -c Snowball_files/$*.f90
425       
426       
427# subroutines communes :
428%.o: %.f90
429        $(FT) $(NCDF_INC) -c $*.f90
430       
431# New-remplimat :
432%.o : New-remplimat/%.f90
433        $(FT) $(NCDF_INC) -c New-remplimat/$*.f90
434       
435# Netcdf-routines :
436%.o: Netcdf-routines/%.f90
437        $(FT) $(NCDF_INC) -c Netcdf-routines/$*.f90
438       
439#toy_recul :
440%.o: Recul_force_grounding_line/%.f90
441        $(FT) $(NCDF_INC) -c Recul_force_grounding_line/$*.f90
442       
443#Temperature :
444%.o : Temperature-routines/%.f90
445        $(FT) $(NCDF_INC) -c Temperature-routines/$*.f90
446       
447# BLAS :
448%.o : BLAS/%.f
449        $(FT) -c BLAS/$*.f
450       
451# Reduc et band:   
452%.o : LAPACK/%.f
453        $(FT) -c LAPACK/$*.f
454
455
456# Liens et Construction des executables
457#---------------------------------------
458
459Ant-16 : $(Dim_ANT16) $(mod_dim_communs) \
460        $(toy_recul) \
461        $(mod_communs) \
462        $(mod_clim_tof)  \
463        $(mod_no_tracers) \
464        $(mod_ell) $(Liste_ANT16) \
465        $(diagnoshelf) \
466        $(Liste_Netcdf) \
467        $(routines_communes) steps_time_loop.o \
468        $(routine_elliptiques) \
469        $(Liste_BLAS)
470
471        $(LK) -o ../bin/Ant-16 \
472        $(Dim_ANT16) $(mod_dim_communs) \
473        $(toy_recul)  \
474        $(mod_communs) \
475        $(mod_clim_tof)  \
476        $(mod_no_tracers) \
477        $(mod_ell) $(Liste_ANT16) \
478        $(diagnoshelf) \
479        $(Liste_Netcdf) \
480        $(routines_communes) steps_time_loop.o \
481        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
482
483Ant-16_iterbeta : $(Dim_ANT16) $(mod_dim_communs) \
484        $(toy_recul) \
485        $(mod_communs) \
486        $(mod_clim_tof)  \
487        $(mod_no_tracers) \
488        $(mod_ell) $(Liste_ANT16) \
489        $(diagnoshelf) \
490        $(Liste_Netcdf) \
491        $(routines_communes) steps_time_loop_avec_iterbeta.o \
492        $(routine_elliptiques) \
493        $(Liste_BLAS)
494
495        $(LK) -o ../bin/Ant-16_iterbeta \
496        $(Dim_ANT16) $(mod_dim_communs) \
497        $(toy_recul)  \
498        $(mod_communs) \
499        $(mod_clim_tof)  \
500        $(mod_no_tracers) \
501        $(mod_ell) $(Liste_ANT16) \
502        $(diagnoshelf) \
503        $(Liste_Netcdf) \
504        $(routines_communes) steps_time_loop_avec_iterbeta.o \
505        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
506
507Ant-15 : $(Dim_ANT15-LBq) $(mod_dim_communs) \
508        $(toy_recul) \
509        $(mod_communs) \
510        $(mod_clim_tof)  \
511        $(mod_no_tracers) \
512        $(mod_ell) $(Liste_ANT15-LBq) \
513        $(diagnoshelf) \
514        $(Liste_Netcdf) \
515        $(routines_communes) steps_time_loop.o \
516        $(routine_elliptiques) \
517        $(Liste_BLAS)
518
519        $(LK) -o ../bin/Ant-15 \
520        $(Dim_ANT15-LBq) $(mod_dim_communs) \
521        $(toy_recul)  \
522        $(mod_communs) \
523        $(mod_clim_tof)  \
524        $(mod_no_tracers) \
525        $(mod_ell) $(Liste_ANT15-LBq) \
526        $(diagnoshelf) \
527        $(Liste_Netcdf) \
528        $(routines_communes) steps_time_loop.o \
529        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
530
531Recul_ice2sea : $(Dim_ANT15-LBq) $(mod_dim_communs)  \
532        $(toy_recul) \
533        $(mod_communs) \
534        $(mod_clim_tof)  \
535        $(mod_no_tracers) \
536        $(mod_ell) $(Liste_ANT15-LBq) \
537        $(diagnoshelf) \
538        $(Liste_Netcdf) \
539        $(routines_communes) steps_time_loop.o \
540        $(routine_elliptiques) \
541        $(Liste_BLAS)
542
543        $(LK) -o ../bin/recul_gl \
544        $(Dim_ANT15-LBq) $(mod_dim_communs) \
545        $(toy_recul) \
546        $(mod_communs) \
547        $(mod_clim_tof)  \
548        $(mod_no_tracers) \
549        $(mod_ell) $(Liste_ANT15-LBq) \
550        $(diagnoshelf) \
551        $(Liste_Netcdf) \
552        $(routines_communes) steps_time_loop.o \
553        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
554
555
556Mismip3D_5 : $(Dim_Mismip_3D_5)  $(mod_dim_communs)  $(mod_communs) \
557        $(mod_ell) $(Liste_mismip_3D_5) \
558        $(Liste_Netcdf) $(Liste_mismip_post_ncdf) \
559        $(diagnoshelf) \
560        $(routines_communes) steps_time_loop.o $(routine_elliptiques)
561
562        $(LK) -o ../bin/mismip3D  $(Dim_Mismip_3D_5)  \
563        $(mod_dim_communs) fake-routines-mismip3d_mod.o $(mod_communs) \
564        $(mod_ell)  $(Liste_mismip_3D_5) \
565        $(Liste_Netcdf) $(Liste_mismip_post_ncdf) $(diagnoshelf) \
566        $(routines_communes) steps_time_loop.o $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
567
568Grice2sea : $(Dim_GrIce2sea) $(mod_dim_communs)   \
569        $(toy_recul)  \
570        $(mod_communs_RGL) \
571        $(mod_clim_tof)  \
572        $(mod_tracers) \
573        $(mod_ell) $(Liste_GrIce2sea) \
574        $(diagnoshelf) \
575        $(Liste_Netcdf) \
576        $(routines_communes) steps_time_loop.o \
577        $(routine_elliptiques) \
578        $(Liste_BLAS)
579
580        $(LK) -o ../bin/Grice2sea \
581        $(Dim_GrIce2sea) $(mod_dim_communs)  \
582        $(toy_recul)  \
583        $(mod_communs_RGL) \
584        $(mod_clim_tof)  \
585        $(mod_tracers) \
586        $(mod_ell) $(Liste_GrIce2sea) \
587        $(diagnoshelf) \
588        $(Liste_Netcdf) \
589        $(routines_communes) steps_time_loop.o \
590        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
591
592Grice2sea_iterbeta : $(Dim_GrIce2sea) $(mod_dim_communs)   \
593        $(toy_recul)  \
594        $(mod_communs_RGL) \
595        $(mod_clim_tof)  \
596        $(mod_tracers) \
597        $(mod_ell) $(Liste_GrIce2sea) \
598        $(diagnoshelf) \
599        $(Liste_Netcdf) \
600        $(routines_communes) steps_time_loop_avec_iterbeta.o \
601        $(routine_elliptiques) \
602        $(Liste_BLAS)
603
604        $(LK) -o ../bin/Grice2sea_iterbeta \
605        $(Dim_GrIce2sea) $(mod_dim_communs)  \
606        $(toy_recul)  \
607        $(mod_communs_RGL) \
608        $(mod_clim_tof)  \
609        $(mod_tracers) \
610        $(mod_ell) $(Liste_GrIce2sea) \
611        $(diagnoshelf) \
612        $(Liste_Netcdf) \
613        $(routines_communes) steps_time_loop_avec_iterbeta.o \
614        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
615
616Hemin-40 : $(Dim_hemin40) $(mod_dim_communs) \
617        $(toy_recul)  \
618        $(mod_communs) \
619        $(mod_clim_tof) \
620        $(mod_tracers) \
621        $(mod_ell) $(Liste_hemin40) \
622        $(diagnoshelf) \
623        $(Liste_Netcdf) \
624        $(routines_communes) main_dummy.o steps_time_loop.o \
625        $(routine_elliptiques) \
626        $(Liste_BLAS)
627
628        $(LK) -o  ../bin/Hemin-40 \
629        $(Dim_hemin40) $(mod_dim_communs) \
630        $(toy_recul)  \
631        $(mod_communs) \
632        $(mod_clim_tof) \
633        $(mod_tracers) \
634        $(mod_ell) $(Liste_hemin40) \
635        $(diagnoshelf) \
636        $(Liste_Netcdf) \
637        $(routines_communes) main_dummy.o steps_time_loop.o \
638        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
639
640        ar -cvr libgrisli.a $(Dim_hemin40) $(mod_dim_communs) \
641        $(toy_recul)  \
642        $(mod_communs) \
643        $(mod_clim_tof) \
644        $(mod_no_tracers) \
645        $(mod_ell) $(Liste_hemin40) \
646        $(diagnoshelf) \
647        $(Liste_Netcdf) \
648        $(routines_communes) steps_time_loop.o \
649        $(routine_elliptiques) \
650        $(Liste_BLAS) *.mod
651
652Hemin-15 : $(Dim_hemin15) $(mod_dim_communs) \
653        $(toy_recul)  \
654        $(mod_communs) \
655        $(mod_clim_tof) \
656        $(mod_no_tracers) \
657        $(mod_ell) $(Liste_hemin15) \
658        $(diagnoshelf) \
659        $(Liste_Netcdf) \
660        $(routines_communes) steps_time_loop.o \
661        $(routine_elliptiques) \
662        $(Liste_BLAS)
663
664        $(LK) -o  ../bin/Hemin-15 \
665        $(Dim_hemin15) $(mod_dim_communs) \
666        $(toy_recul)  \
667        $(mod_communs) \
668        $(mod_clim_tof) \
669        $(mod_no_tracers) \
670        $(mod_ell) $(Liste_hemin15) \
671        $(diagnoshelf) \
672        $(Liste_Netcdf) \
673        $(routines_communes) steps_time_loop.o \
674        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
675
676Greeneem15 : $(Dim_greeneem15) $(mod_dim_communs) \
677        $(toy_recul)  \
678        $(mod_communs) \
679        $(mod_clim_tof) \
680        $(mod_tracers) \
681        $(mod_ell) $(Liste_greeneem15) \
682        $(diagnoshelf) \
683        $(Liste_Netcdf) \
684        $(routines_communes) steps_time_loop.o \
685        $(routine_elliptiques) \
686        $(Liste_BLAS)
687
688        $(LK) -o ../bin/Greeneem15 \
689        $(Dim_greeneem15) $(mod_dim_communs) \
690        $(toy_recul)  \
691        $(mod_communs) \
692        $(mod_clim_tof) \
693        $(mod_tracers) \
694        $(mod_ell) $(Liste_greeneem15) \
695        $(diagnoshelf) \
696        $(Liste_Netcdf) \
697        $(routines_communes) steps_time_loop.o \
698        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
699
700Ant-40 : $(Dim_Ant40) $(mod_dim_communs) \
701        $(toy_recul)  \
702        $(mod_communs) \
703        $(mod_clim_tof) \
704        $(mod_no_tracers) \
705        $(mod_ell) $(Liste_Ant40) \
706        $(diagnoshelf) \
707        $(Liste_Netcdf) \
708        $(routines_communes) steps_time_loop.o \
709        $(routine_elliptiques) \
710        $(Liste_BLAS)
711
712        $(LK) -o  ../bin/Ant-40 \
713        $(Dim_Ant40) $(mod_dim_communs) \
714        $(toy_recul)  \
715        $(mod_communs) \
716        $(mod_clim_tof) \
717        $(mod_no_tracers) \
718        $(mod_ell) $(Liste_Ant40) \
719        $(diagnoshelf) \
720        $(Liste_Netcdf) \
721        $(routines_communes) steps_time_loop.o \
722        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
723       
724Snowball : $(Dim_Snowball) $(mod_dim_communs) \
725        $(toy_recul)  \
726        $(mod_communs) \
727        $(mod_clim_tof) \
728        $(mod_no_tracers) \
729        $(mod_ell) $(Liste_Snowball) \
730        $(diagnoshelf) \
731        $(Liste_Netcdf) \
732        $(routines_communes) steps_time_loop.o \
733        $(routine_elliptiques) \
734        $(Liste_BLAS)
735
736        $(LK) -o  ../bin/Snowball \
737        $(Dim_Snowball) $(mod_dim_communs) \
738        $(toy_recul)  \
739        $(mod_communs) \
740        $(mod_clim_tof) \
741        $(mod_no_tracers) \
742        $(mod_ell) $(Liste_Snowball) \
743        $(diagnoshelf) \
744        $(Liste_Netcdf) \
745        $(routines_communes) steps_time_loop.o \
746        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)
747       
748       
749
750
751
752# attention : dans les geometries suivantes la liste module climat n'est pas donnee
753
754Hudson : $(Dim_hudson) $(mod_dim_communs) $(mod_communs)  $(mod_ell) $(Liste_hudson) \
755        $(diagnoshelf) $(Liste_Netcdf) \
756        $(routines_communes) $(routine_elliptiques) 
757        $(LK) -o ../bin/Hudson  $(Dim_hudson) $(mod_dim_communs) $(mod_communs) $(mod_ell) $(Liste_hudson) \
758        $(diagnoshelf) $(Liste_Netcdf) \
759        $(routines_communes) $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB)
760
761#Hemin-40 : $(Dim_hemin40) $(mod_dim_communs) $(mod_communs)  $(mod_ell)  $(Liste_hemin40) \
762#       $(diagnoshelf) $(Liste_Netcdf) \
763#       $(routines_communes) $(routine_elliptiques) 
764
765#       $(LK) -o  ../bin/Hemin-40  $(Dim_hemin40) $(mod_dim_communs) $(mod_communs) \
766#       $(mod_ell)  $(Liste_hemin40) \
767#       $(diagnoshelf) $(Liste_Netcdf) \
768#       $(routines_communes) $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
769
770Heminord : $(Liste_heminord) $(Liste_commune) $(Liste_BLAS)
771        $(LK) -o Heminord $(Liste_heminord) $(Liste_commune) $(Liste_BLAS)
772
773
774Eura-40 :  $(Dim_eura40) $(mod_dim_communs) $(mod_communs)  $(mod_ell)  $(Liste_eura40) \
775        $(diagnoshelf) $(Liste_Netcdf) \
776        $(routines_communes) $(routine_elliptiques)
777
778        $(LK) -o  ../bin/Eura-40  $(Dim_eura40) $(mod_dim_communs) $(mod_communs) \
779        $(mod_ell)  $(Liste_eura40) \
780        $(diagnoshelf) $(Liste_Netcdf) \
781        $(routines_communes) $(routine_elliptiques) $(NCDF_LIB)  $(MKL_LIB)
782
783Greenmint40 : $(Dim_greenmint40) $(mod_dim_communs) $(mod_communs) \
784        $(mod_ell) $(Liste_greenmint40) \
785        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
786
787        $(LK) -o ../bin/Greenmint40 $(Dim_greenmint40) $(mod_dim_communs) $(mod_communs) \
788        $(mod_ell) $(Liste_greenmint40) \
789        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
790        $(NCDF_LIB)  $(MKL_LIB)
791
792Greeneem45 : $(Dim_greeneem45) $(mod_dim_communs) $(mod_communs) \
793        $(mod_ell) $(Liste_greeneem45) \
794        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
795
796        $(LK) -o ../bin/Greeneem45 $(Dim_greeneem45) $(mod_dim_communs) $(mod_communs) \
797        $(mod_ell) $(Liste_greeneem45) \
798        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
799        $(NCDF_LIB)  $(MKL_LIB)
800
801Greeneem05 : $(Dim_greeneem05) $(mod_dim_communs) $(mod_communs) \
802        $(mod_ell) $(Liste_greeneem05) \
803        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
804
805        $(LK) -o ../bin/Greeneem05 $(Dim_greeneem05) $(mod_dim_communs) $(mod_communs) \
806        $(mod_ell) $(Liste_greeneem05) \
807        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
808        $(NCDF_LIB)  $(MKL_LIB)
809
810
811Gsearise15 : $(Dim_gsearise15) $(mod_dim_communs) $(mod_communs) \
812        $(mod_ell) $(Liste_gsearise15) \
813        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
814
815        $(LK) -o ../bin/Gsearise15 $(Dim_gsearise15) $(mod_dim_communs) $(mod_communs) \
816        $(mod_ell) $(Liste_gsearise15) \
817        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
818        $(NCDF_LIB)  $(MKL_LIB)
819
820
821Gsearise05 : $(Dim_gsearise05) $(mod_dim_communs) $(mod_communs) \
822        $(mod_ell) $(Liste_gsearise05) \
823        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques)
824
825        $(LK) -o ../bin/Gsearise05 $(Dim_gsearise05) $(mod_dim_communs) $(mod_communs) \
826        $(mod_ell) $(Liste_gsearise05) \
827        $(diagnoshelf) $(Liste_Netcdf) $(routines_communes) $(routine_elliptiques) \
828        $(NCDF_LIB)  $(MKL_LIB)
829
830
831
832
833clean   :
834        rm -f *.o *.mod *~  */*~ BLAS/*.o LAPACK/*.o libgrisli.a
835
836
837
838
839
840
841
842
Note: See TracBrowser for help on using the repository browser.