1 | #- $Id$ |
---|
2 | #- |
---|
3 | #- AA_make for LMDZOR_uni configuration |
---|
4 | #- |
---|
5 | |
---|
6 | all : |
---|
7 | if [ -s ./.resol ] ; then $(M_K) `head -1 .resol |cut -c 8-` ; else $(M_K) LMD9695-L39 ; fi |
---|
8 | |
---|
9 | LMD4443 : libioipsl liborchidee lmdz44x43x19 verif |
---|
10 | echo "noORCAxLMD4443" >.resol |
---|
11 | echo "RESOL_ATM_3D=44x43x19" >>.resol |
---|
12 | |
---|
13 | LMD5655 : libioipsl liborchidee lmdz56x55x19 verif |
---|
14 | echo "noORCAxLMD5655" >.resol |
---|
15 | echo "RESOL_ATM_3D=56x55x19" >>.resol |
---|
16 | |
---|
17 | LMD9671 : libioipsl liborchidee lmdz96x71x19 verif |
---|
18 | echo "noORCAxLMD9671" >.resol |
---|
19 | echo "RESOL_ATM_3D=96x71x19" >>.resol |
---|
20 | |
---|
21 | LMD9695 : libioipsl liborchidee lmdz96x95x19 verif |
---|
22 | echo "noORCAxLMD9695" >.resol |
---|
23 | echo "RESOL_ATM_3D=96x95x19" >>.resol |
---|
24 | |
---|
25 | LMD9695-L39 : libioipsl liborchidee lmdz96x95x39 verif |
---|
26 | echo "noORCAxLMD9695-L39" >.resol |
---|
27 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
28 | |
---|
29 | LMD144142 : libioipsl liborchidee lmdz144x142x19 verif |
---|
30 | echo "noORCAxLMD144142" >.resol |
---|
31 | echo "RESOL_ATM_3D=144x142x19" >>.resol |
---|
32 | |
---|
33 | LMD144142-L39 : libioipsl liborchidee lmdz144x142x39 verif |
---|
34 | echo "noORCAxLMD144142-L39" >.resol |
---|
35 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
36 | |
---|
37 | # ORCHIDEE_DRIVER : only for ORCHIDEE/trunk rev 1042 or later |
---|
38 | ORCHIDEE_DRIVER : libioipsl ../../modeles/ORCHIDEE/ |
---|
39 | (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile driver) |
---|
40 | |
---|
41 | |
---|
42 | libioipsl : ../../modeles/IOIPSL/src |
---|
43 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
44 | |
---|
45 | |
---|
46 | liborchidee : ../../modeles/ORCHIDEE/ |
---|
47 | (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile driver) |
---|
48 | |
---|
49 | liborchideefcm : ../../modeles/ORCHIDEE/ |
---|
50 | (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi -arch $(FCM_ARCH) ; cp lib/lib*a ../../lib/.) |
---|
51 | |
---|
52 | |
---|
53 | lmdz44x43x19: |
---|
54 | $(M_K) lmdz RESOL_LMDZ=44x43x19 |
---|
55 | |
---|
56 | lmdz56x55x19: |
---|
57 | $(M_K) lmdz RESOL_LMDZ=56x55x19 |
---|
58 | |
---|
59 | lmdz96x71x19: |
---|
60 | $(M_K) lmdz RESOL_LMDZ=96x71x19 |
---|
61 | |
---|
62 | lmdz96x95x19: |
---|
63 | $(M_K) lmdz RESOL_LMDZ=96x95x19 |
---|
64 | |
---|
65 | lmdz96x95x39: |
---|
66 | $(M_K) lmdz RESOL_LMDZ=96x95x39 |
---|
67 | |
---|
68 | lmdz144x142x19: |
---|
69 | $(M_K) lmdz RESOL_LMDZ=144x142x19 |
---|
70 | |
---|
71 | lmdz144x142x39: |
---|
72 | $(M_K) lmdz RESOL_LMDZ=144x142x39 |
---|
73 | |
---|
74 | lmdz: ../../modeles/LMDZ |
---|
75 | (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -cosp true -v true -parallel mpi -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_para_orch.e ../../bin/create_etat0_limit.e ; ) |
---|
76 | (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -cosp true -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_orch.e ../../bin/gcm.e ; ) |
---|
77 | |
---|
78 | |
---|
79 | verif: ../../bin |
---|
80 | ls -l ../../bin |
---|
81 | |
---|
82 | clean : |
---|
83 | (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; ) |
---|
84 | |
---|