1 | #- $Id$ |
---|
2 | ifneq ($(MAKECMDGOALS),$(shell cat .resol)) |
---|
3 | ifneq ($(MAKECMDGOALS),) |
---|
4 | $(shell rm -rf ../../modeles/INCA3/config) |
---|
5 | $(shell rm -f ../../modeles/INCA3/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 | |
---|
55 | libioipsl : |
---|
56 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
57 | |
---|
58 | |
---|
59 | liborchidee : |
---|
60 | (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile) |
---|
61 | #-Q- platine (rm -f ../../lib/parallel.mod) |
---|
62 | |
---|
63 | aer_lmdz9671: |
---|
64 | # (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 ; ) |
---|
65 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie AER -parallel mpi -resol 96x71 -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
66 | (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 ; ) |
---|
67 | |
---|
68 | |
---|
69 | aer_lmdz9672: |
---|
70 | # (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 ; ) |
---|
71 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
72 | (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 ; ) |
---|
73 | |
---|
74 | |
---|
75 | ch4aer_lmdz9672: |
---|
76 | # (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 ; ) |
---|
77 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; ) |
---|
78 | (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 ; ) |
---|
79 | |
---|
80 | |
---|
81 | ch4_lmdz9672: |
---|
82 | # (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 ; ) |
---|
83 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4 -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; ) |
---|
84 | (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 ; ) |
---|
85 | |
---|
86 | |
---|
87 | nmhc_lmdz9672: |
---|
88 | # (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 ; ) |
---|
89 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
90 | (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 ; ) |
---|
91 | |
---|
92 | |
---|
93 | nmhcaer_lmdz9672: |
---|
94 | # (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 ; ) |
---|
95 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
96 | (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 ; ) |
---|
97 | |
---|
98 | ges_lmdz9672: |
---|
99 | # (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 ; ) |
---|
100 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie GES -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
101 | (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 ; ) |
---|
102 | |
---|
103 | |
---|
104 | |
---|
105 | |
---|
106 | aer_lmdz9695: |
---|
107 | # (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 ; ) |
---|
108 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
109 | (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 ; ) |
---|
110 | |
---|
111 | |
---|
112 | ch4aer_lmdz9695: |
---|
113 | # (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 ; ) |
---|
114 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4_AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; ) |
---|
115 | (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 ; ) |
---|
116 | |
---|
117 | |
---|
118 | ch4_lmdz9695: |
---|
119 | # (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 ; ) |
---|
120 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4 -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; ) |
---|
121 | (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 ; ) |
---|
122 | |
---|
123 | |
---|
124 | nmhc_lmdz9695: |
---|
125 | # (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 ; ) |
---|
126 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
127 | (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 ; ) |
---|
128 | |
---|
129 | |
---|
130 | nmhcaer_lmdz9695: |
---|
131 | # (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 ; ) |
---|
132 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
133 | (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 ; ) |
---|
134 | |
---|
135 | ges_lmdz9695: |
---|
136 | # (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 ; ) |
---|
137 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie GES -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
138 | (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 ; ) |
---|
139 | |
---|
140 | clean : |
---|
141 | (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; ) |
---|