source: CONFIG/LMDZOR/branches/LMDZOR_v4/AA_make @ 1367

Last change on this file since 1367 was 1323, checked in by jgipsl, 11 years ago

Modification in parameters for grid zoomed over India.

File size: 3.1 KB
Line 
1#- $Id$
2
3
4all :
5        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else gmake LMD9695-L39 ; fi
6
7LMD7245 : libioipsl liborchidee lmdz72x45x19 verif
8        echo "LMD7245" >.resol
9        echo "RESOL_ATM_3D=72x45x19" >>.resol
10        echo "$(LIB_MPI)" >.libmpi
11
12LMD9671 : libioipsl liborchidee lmdz96x71x19 verif
13        echo "LMD9671" >.resol
14        echo "RESOL_ATM_3D=96x71x19" >>.resol
15        echo "$(LIB_MPI)" >.libmpi
16
17LMD9695 : libioipsl liborchidee lmdz96x95x19 verif
18        echo "LMD9695" >.resol
19        echo "RESOL_ATM_3D=96x95x19" >>.resol
20        echo "$(LIB_MPI)" >.libmpi
21
22LMD9695-L39 : libioipsl liborchidee lmdz96x95x39 verif
23        echo "LMD9695-L39" >.resol
24        echo "RESOL_ATM_3D=96x95x39" >>.resol
25        echo "$(LIB_MPI)" >.libmpi
26
27LMD14496 : libioipsl liborchidee lmdz144x96x19 verif
28        echo "LMD14496" >.resol
29        echo "RESOL_ATM_3D=144x96x19" >>.resol
30        echo "$(LIB_MPI)" >.libmpi
31
32LMD144142 : libioipsl liborchidee lmdz144x142x19 verif
33        echo "LMD144142" >.resol
34        echo "RESOL_ATM_3D=144x142x19" >>.resol
35        echo "$(LIB_MPI)" >.libmpi
36
37LMD144142-L39 : libioipsl liborchidee lmdz144x142x39 verif
38        echo "LMD144142-L39" >.resol
39        echo "RESOL_ATM_3D=144x142x39" >>.resol
40        echo "$(LIB_MPI)" >.libmpi
41
42LMD280280-ZAf-L39 : libioipsl liborchidee lmdz280x280x39 verif
43        echo "LMD280280-ZAf-L39" >.resol
44        echo "RESOL_ATM_3D=280x280x39-ZAf" >>.resol
45        echo "$(LIB_MPI)" >.libmpi
46
47LMD360180-ZIn-L19 : libioipsl liborchidee lmdz360x180x19 verif
48        echo "LMD360180-ZIn-L19" >.resol
49        echo "RESOL_ATM_3D=360x180x19-ZIn" >>.resol
50        echo "$(LIB_MPI)" >.libmpi
51
52libioipsl :
53        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
54
55liborchidee :
56        (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile)
57
58precsechiba :
59        (cd ../../modeles/ORCHIDEE/src_parameters ; $(M_K) -f Makefile checkprec)
60
61config : libioipsl
62        (cd ../../modeles/IOIPSL/src; $(M_K) -f Makefile config)
63        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile config)
64        $(BINDIR)/Fparser -main -name ORCHIDEE_OL $(MODS1)
65        $(SCPDIR)/build_tkmenus
66        ./config.tk
67        $(RM) Config.*
68
69cleanORC :
70        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile clean)
71
72lmdz72x45x19:
73        $(M_K) lmdz RESOL_LMDZ=72x45x19
74
75lmdz96x71x19:
76        $(M_K) lmdz RESOL_LMDZ=96x71x19
77
78lmdz96x95x19:
79        $(M_K) lmdz RESOL_LMDZ=96x95x19
80
81lmdz96x95x39:
82        $(M_K) lmdz RESOL_LMDZ=96x95x39
83
84lmdz144x96x19:
85        $(M_K) lmdz RESOL_LMDZ=144x96x19
86
87lmdz144x142x19:
88        $(M_K) lmdz RESOL_LMDZ=144x142x19
89
90lmdz144x142x39:
91        $(M_K) lmdz RESOL_LMDZ=144x142x39
92
93lmdz280x280x39:
94        $(M_K) lmdz RESOL_LMDZ=280x280x39
95
96lmdz360x180x19:
97        $(M_K) lmdz RESOL_LMDZ=360x180x19
98
99lmdz:
100        (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e.seq ; )
101        (cd ../../modeles/LMDZ; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_orch.e ../../bin/gcm.e ; )
102        (cd ../../modeles/LMDZ; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -v true -parallel mpi -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_para_orch.e ../../bin/create_etat0_limit.e.para ; )
103
104verif:
105        ls -l ../../bin
106
107clean :
108        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; rm -fr .resol .libmpi ; )
Note: See TracBrowser for help on using the repository browser.