1 | #- $Id$ |
---|
2 | ifneq ($(MAKECMDGOALS),$(shell cat .resol)) |
---|
3 | ifneq ($(MAKECMDGOALS),) |
---|
4 | $(shell rm -rf ../../modeles/INCA4/config) |
---|
5 | $(shell rm -f ../../modeles/INCA4/src/INCA_PP/*) |
---|
6 | endif |
---|
7 | endif |
---|
8 | |
---|
9 | |
---|
10 | |
---|
11 | all : |
---|
12 | if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake AERxLMD9695 ; fi |
---|
13 | |
---|
14 | |
---|
15 | AERxLMD9671 : libioipsl liborchidee aer_lmdz9671 |
---|
16 | echo "AERxLMD9671" >.resol |
---|
17 | |
---|
18 | AERxLMD9672 : libioipsl liborchidee aer_lmdz9672 |
---|
19 | echo "AERxLMD9672" >.resol |
---|
20 | |
---|
21 | CH4_AERxLMD9672 : libioipsl liborchidee ch4aer_lmdz9672 |
---|
22 | echo "CH4_AERxLMD9672" >.resol |
---|
23 | |
---|
24 | CH4xLMD9672 : libioipsl liborchidee ch4_lmdz9672 |
---|
25 | echo "CH4xLMD9672" >.resol |
---|
26 | |
---|
27 | NMHCxLMD9672 : libioipsl liborchidee nmhc_lmdz9672 |
---|
28 | echo "NMHCxLMD9672" >.resol |
---|
29 | |
---|
30 | NMHC_AERxLMD9672 : libioipsl liborchidee nmhcaer_lmdz9672 |
---|
31 | echo "NMHC_AERxLMD9672" >.resol |
---|
32 | |
---|
33 | GESxLMD9672 : libioipsl liborchidee ges_lmdz9672 |
---|
34 | echo "GESxLMD9672" >.resol |
---|
35 | |
---|
36 | AERxLMD9695 : libioipsl liborchidee aer_lmdz9695 |
---|
37 | echo "AERxLMD9695" >.resol |
---|
38 | |
---|
39 | CH4_AERxLMD9695 : libioipsl liborchidee ch4aer_lmdz9695 |
---|
40 | echo "CH4_AERxLMD9695" >.resol |
---|
41 | |
---|
42 | CH4xLMD9695 : libioipsl liborchidee ch4_lmdz9695 |
---|
43 | echo "CH4xLMD9695" >.resol |
---|
44 | |
---|
45 | NMHCxLMD9695 : libioipsl liborchidee nmhc_lmdz9695 |
---|
46 | echo "NMHCxLMD9695" >.resol |
---|
47 | |
---|
48 | NMHC_AERxLMD9695 : libioipsl liborchidee nmhcaer_lmdz9695 |
---|
49 | echo "NMHC_AERxLMD9695" >.resol |
---|
50 | |
---|
51 | GESxLMD9695 : libioipsl liborchidee ges_lmdz9695 |
---|
52 | echo "GESxLMD9695" >.resol |
---|
53 | |
---|
54 | AERxLMD144142 : libioipsl liborchidee aer_lmdz144142 |
---|
55 | echo "AERxLMD144142" >.resol |
---|
56 | |
---|
57 | libioipsl : |
---|
58 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
59 | |
---|
60 | |
---|
61 | liborchidee : |
---|
62 | (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile) |
---|
63 | #-Q- platine (rm -f ../../lib/parallel.mod) |
---|
64 | |
---|
65 | aer_lmdz9671: |
---|
66 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x71x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x71x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
67 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie AER -parallel mpi -resol 96x71 -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
68 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x71x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x71x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
69 | |
---|
70 | |
---|
71 | aer_lmdz9672: |
---|
72 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
73 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
74 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x72x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
75 | |
---|
76 | |
---|
77 | ch4aer_lmdz9672: |
---|
78 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
79 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie CH4_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; ) |
---|
80 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x72x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
81 | |
---|
82 | |
---|
83 | ch4_lmdz9672: |
---|
84 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
85 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie CH4 -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; ) |
---|
86 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x72x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
87 | |
---|
88 | |
---|
89 | nmhc_lmdz9672: |
---|
90 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
91 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie NMHC -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
92 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x72x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
93 | |
---|
94 | |
---|
95 | nmhcaer_lmdz9672: |
---|
96 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
97 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
98 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x72x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
99 | |
---|
100 | ges_lmdz9672: |
---|
101 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
102 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie GES -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
103 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x72x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
104 | |
---|
105 | |
---|
106 | |
---|
107 | |
---|
108 | aer_lmdz9695: |
---|
109 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
110 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
111 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
112 | |
---|
113 | |
---|
114 | ch4aer_lmdz9695: |
---|
115 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
116 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie CH4_AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; ) |
---|
117 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
118 | |
---|
119 | |
---|
120 | ch4_lmdz9695: |
---|
121 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
122 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie CH4 -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; ) |
---|
123 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
124 | |
---|
125 | |
---|
126 | nmhc_lmdz9695: |
---|
127 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
128 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie NMHC -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
129 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
130 | |
---|
131 | |
---|
132 | nmhcaer_lmdz9695: |
---|
133 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
134 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
135 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
136 | |
---|
137 | ges_lmdz9695: |
---|
138 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
139 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie GES -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
140 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
141 | |
---|
142 | aer_lmdz144142: |
---|
143 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 144x142x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_144x142x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
144 | (cd ../../modeles/INCA4; ./makeinca_fcm -chimie AER -parallel mpi -resol 144x142 -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
145 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 144x142x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_144x142x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
146 | |
---|
147 | |
---|
148 | clean : |
---|
149 | (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; ) |
---|