1 | #- $Id$ |
---|
2 | |
---|
3 | |
---|
4 | all : |
---|
5 | if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else gmake LMD9695-L39 ; fi |
---|
6 | |
---|
7 | LMD7245 : libioipsl liborchidee lmdz72x45x19 verif |
---|
8 | echo "LMD7245" >.resol |
---|
9 | echo "RESOL_ATM_3D=72x45x19" >>.resol |
---|
10 | echo "$(LIB_MPI)" >.libmpi |
---|
11 | |
---|
12 | LMD9671 : libioipsl liborchidee lmdz96x71x19 verif |
---|
13 | echo "LMD9671" >.resol |
---|
14 | echo "RESOL_ATM_3D=96x71x19" >>.resol |
---|
15 | echo "$(LIB_MPI)" >.libmpi |
---|
16 | |
---|
17 | LMD9695 : libioipsl liborchidee lmdz96x95x19 verif |
---|
18 | echo "LMD9695" >.resol |
---|
19 | echo "RESOL_ATM_3D=96x95x19" >>.resol |
---|
20 | echo "$(LIB_MPI)" >.libmpi |
---|
21 | |
---|
22 | LMD9695-L39 : libioipsl liborchidee lmdz96x95x39 verif |
---|
23 | echo "LMD9695-L39" >.resol |
---|
24 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
25 | echo "$(LIB_MPI)" >.libmpi |
---|
26 | |
---|
27 | LMD14496 : libioipsl liborchidee lmdz144x96x19 verif |
---|
28 | echo "LMD14496" >.resol |
---|
29 | echo "RESOL_ATM_3D=144x96x19" >>.resol |
---|
30 | echo "$(LIB_MPI)" >.libmpi |
---|
31 | |
---|
32 | LMD144142 : libioipsl liborchidee lmdz144x142x19 verif |
---|
33 | echo "LMD144142" >.resol |
---|
34 | echo "RESOL_ATM_3D=144x142x19" >>.resol |
---|
35 | echo "$(LIB_MPI)" >.libmpi |
---|
36 | |
---|
37 | LMD144142-L39 : libioipsl liborchidee lmdz144x142x39 verif |
---|
38 | echo "LMD144142" >.resol |
---|
39 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
40 | echo "$(LIB_MPI)" >.libmpi |
---|
41 | |
---|
42 | libioipsl : |
---|
43 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
44 | |
---|
45 | liborchidee : |
---|
46 | (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile) |
---|
47 | |
---|
48 | precsechiba : |
---|
49 | (cd ../../modeles/ORCHIDEE/src_parameters ; $(M_K) -f Makefile checkprec) |
---|
50 | |
---|
51 | config : libioipsl |
---|
52 | (cd ../../modeles/IOIPSL/src; $(M_K) -f Makefile config) |
---|
53 | (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile config) |
---|
54 | $(BINDIR)/Fparser -main -name ORCHIDEE_OL $(MODS1) |
---|
55 | $(SCPDIR)/build_tkmenus |
---|
56 | ./config.tk |
---|
57 | $(RM) Config.* |
---|
58 | |
---|
59 | cleanORC : |
---|
60 | (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile clean) |
---|
61 | |
---|
62 | lmdz72x45x19: |
---|
63 | $(M_K) lmdz RESOL_LMDZ=72x45x19 |
---|
64 | |
---|
65 | lmdz96x71x19: |
---|
66 | $(M_K) lmdz RESOL_LMDZ=96x71x19 |
---|
67 | |
---|
68 | lmdz96x95x19: |
---|
69 | $(M_K) lmdz RESOL_LMDZ=96x95x19 |
---|
70 | |
---|
71 | lmdz96x95x39: |
---|
72 | $(M_K) lmdz RESOL_LMDZ=96x95x39 |
---|
73 | |
---|
74 | lmdz144x96x19: |
---|
75 | $(M_K) lmdz RESOL_LMDZ=144x96x19 |
---|
76 | |
---|
77 | lmdz144x142x19: |
---|
78 | $(M_K) lmdz RESOL_LMDZ=144x142x19 |
---|
79 | |
---|
80 | lmdz144x142x39: |
---|
81 | $(M_K) lmdz RESOL_LMDZ=144x142x39 |
---|
82 | |
---|
83 | lmdz: |
---|
84 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
85 | (cd ../../modeles/LMDZ4; ./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 ; ) |
---|
86 | |
---|
87 | verif: |
---|
88 | ls -l ../../bin |
---|
89 | |
---|
90 | clean : |
---|
91 | (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; rm -fr .resol .libmpi ; ) |
---|