1 | #- $Id$ |
---|
2 | #- |
---|
3 | #- AA_make for LMDZOR_v6 configuration |
---|
4 | #- Default resolution is LMD144142-L79 |
---|
5 | #- The resolution can be changed by using one of the targets here below with capital letters |
---|
6 | #- For example : |
---|
7 | #- gmake LMD9695-L39 |
---|
8 | |
---|
9 | all : |
---|
10 | if [ -s ./.resol ] ; then $(M_K) `head -1 .resol |cut -c 8-` ; else $(M_K) LMD144142-L79 ; fi |
---|
11 | |
---|
12 | LMD4443 : libioipsl xios liborchidee lmdz44x43x19 verif |
---|
13 | echo "noORCAxLMD4443" >.resol |
---|
14 | echo "RESOL_ATM_3D=44x43x19" >>.resol |
---|
15 | |
---|
16 | LMD5655 : libioipsl xios liborchidee lmdz56x55x19 verif |
---|
17 | echo "noORCAxLMD5655" >.resol |
---|
18 | echo "RESOL_ATM_3D=56x55x19" >>.resol |
---|
19 | |
---|
20 | LMD9671 : libioipsl xios liborchidee lmdz96x71x19 verif |
---|
21 | echo "noORCAxLMD9671" >.resol |
---|
22 | echo "RESOL_ATM_3D=96x71x19" >>.resol |
---|
23 | |
---|
24 | LMD9695 : libioipsl xios liborchidee lmdz96x95x19 verif |
---|
25 | echo "noORCAxLMD9695" >.resol |
---|
26 | echo "RESOL_ATM_3D=96x95x19" >>.resol |
---|
27 | |
---|
28 | LMD9695-L39 : libioipsl xios liborchidee lmdz96x95x39 verif |
---|
29 | echo "noORCAxLMD9695-L39" >.resol |
---|
30 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
31 | |
---|
32 | LMD9695-L79 : libioipsl xios liborchidee lmdz96x95x79 verif |
---|
33 | echo "noORCAxLMD9695-L79" >.resol |
---|
34 | echo "RESOL_ATM_3D=96x95x79" >>.resol |
---|
35 | |
---|
36 | LMD128118-L39 : libioipsl xios liborchidee lmdz128x118x39 verif |
---|
37 | echo "noORCAxLMD128118-L39" >.resol |
---|
38 | echo "RESOL_ATM_3D=128x118x39" >>.resol |
---|
39 | |
---|
40 | LMD144142 : libioipsl xios liborchidee lmdz144x142x19 verif |
---|
41 | echo "noORCAxLMD144142" >.resol |
---|
42 | echo "RESOL_ATM_3D=144x142x19" >>.resol |
---|
43 | |
---|
44 | LMD144142-L39 : libioipsl xios liborchidee lmdz144x142x39 verif |
---|
45 | echo "noORCAxLMD144142-L39" >.resol |
---|
46 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
47 | |
---|
48 | LMD144142-L59 : libioipsl xios liborchidee lmdz144x142x59 verif |
---|
49 | echo "noORCAxLMD144142-L59" >.resol |
---|
50 | echo "RESOL_ATM_3D=144x142x59" >>.resol |
---|
51 | |
---|
52 | LMD144142-L79 : libioipsl xios liborchidee lmdz144x142x79 verif |
---|
53 | echo "noORCAxLMD144142-L79" >.resol |
---|
54 | echo "RESOL_ATM_3D=144x142x79" >>.resol |
---|
55 | |
---|
56 | |
---|
57 | xios : |
---|
58 | (cd ../../modeles/XIOS ; ./make_xios --prod --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; ) |
---|
59 | |
---|
60 | libioipsl : ../../modeles/IOIPSL/src |
---|
61 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
62 | |
---|
63 | |
---|
64 | liborchidee : ../../modeles/ORCHIDEE/ |
---|
65 | (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -prod -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -xios2 -driver) |
---|
66 | |
---|
67 | |
---|
68 | lmdz44x43x19: |
---|
69 | $(M_K) lmdz RESOL_LMDZ=44x43x19 |
---|
70 | |
---|
71 | lmdz56x55x19: |
---|
72 | $(M_K) lmdz RESOL_LMDZ=56x55x19 |
---|
73 | |
---|
74 | lmdz96x71x19: |
---|
75 | $(M_K) lmdz RESOL_LMDZ=96x71x19 |
---|
76 | |
---|
77 | lmdz96x95x19: |
---|
78 | $(M_K) lmdz RESOL_LMDZ=96x95x19 |
---|
79 | |
---|
80 | lmdz96x95x39: |
---|
81 | $(M_K) lmdz RESOL_LMDZ=96x95x39 |
---|
82 | |
---|
83 | lmdz96x95x79: |
---|
84 | $(M_K) lmdz RESOL_LMDZ=96x95x79 |
---|
85 | |
---|
86 | lmdz128x118x39: |
---|
87 | $(M_K) lmdz RESOL_LMDZ=128x118x39 |
---|
88 | |
---|
89 | lmdz144x142x19: |
---|
90 | $(M_K) lmdz RESOL_LMDZ=144x142x19 |
---|
91 | |
---|
92 | lmdz144x142x39: |
---|
93 | $(M_K) lmdz RESOL_LMDZ=144x142x39 |
---|
94 | |
---|
95 | lmdz144x142x59: |
---|
96 | $(M_K) lmdz RESOL_LMDZ=144x142x59 |
---|
97 | |
---|
98 | lmdz144x142x79: |
---|
99 | $(M_K) lmdz RESOL_LMDZ=144x142x79 |
---|
100 | |
---|
101 | lmdz: ../../modeles/LMDZ |
---|
102 | (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -prod -arch $(FCM_ARCH) -j 8 ce0l ; mv bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
103 | (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -prod -mem -cosp true -v true -parallel mpi_omp -arch $(FCM_ARCH) -j 8 -io xios -rrtm true gcm ; mv bin/gcm_$(RESOL_LMDZ)_phylmd_para_mem_orch.e ../../bin/gcm.e ; ) |
---|
104 | |
---|
105 | |
---|
106 | verif: ../../bin |
---|
107 | ls -l ../../bin |
---|
108 | |
---|
109 | clean : |
---|
110 | (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; ) |
---|
111 | (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; ) |
---|
112 | (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; ) |
---|
113 | (rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib ; ) |
---|
114 | (rm -rf $(BINDIR)/gcm.e ; rm -rf $(BINDIR)/create_etat0_limit.e ; ) |
---|
115 | |
---|
116 | |
---|