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

Last change on this file since 78 was 78, checked in by roche, 8 years ago

Corrected a few little issues to create libgrisli with gfortran. afq, dmr

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