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 | all : |
---|
11 | if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake AERxLMD9695 ; fi |
---|
12 | |
---|
13 | |
---|
14 | CH4_AERxLMD9672 : libioipsl inca3_lmdz9672_ch4aer |
---|
15 | echo "CH4_AERxLMD9672" > .resol |
---|
16 | |
---|
17 | CH4xLMD9672 : libioipsl inca3_lmdz9672_ch4 |
---|
18 | echo "CH4xLMD9672" > .resol |
---|
19 | |
---|
20 | NMHCxLMD9672 : libioipsl inca3_lmdz9672_nmhc |
---|
21 | echo "NMHCxLMD9672" > .resol |
---|
22 | |
---|
23 | NMHC_AERxLMD9672 : libioipsl inca3_lmdz9672_nmhcaer |
---|
24 | echo "NMHC_AERxLMD9672" > .resol |
---|
25 | |
---|
26 | AERxLMD9672 : libioipsl inca3_lmdz9672_aer |
---|
27 | echo "AERxLMD9672" > .resol |
---|
28 | |
---|
29 | GESxLMD9672 : libioipsl inca3_lmdz9672_ges |
---|
30 | echo "GESxLMD9672" > .resol |
---|
31 | |
---|
32 | CH4_AERxLMD9695 : libioipsl inca3_lmdz9695_ch4aer |
---|
33 | echo "CH4_AERxLMD9695" > .resol |
---|
34 | |
---|
35 | CH4xLMD9695 : libioipsl inca3_lmdz9695_ch4 |
---|
36 | echo "CH4xLMD9695" > .resol |
---|
37 | |
---|
38 | NMHCxLMD9695 : libioipsl inca3_lmdz9695_nmhc |
---|
39 | echo "NMHCxLMD9695" > .resol |
---|
40 | |
---|
41 | NMHC_AERxLMD9695 : libioipsl inca3_lmdz9695_nmhcaer |
---|
42 | echo "NMHC_AERxLMD9695" > .resol |
---|
43 | |
---|
44 | AERxLMD9695 : libioipsl inca3_lmdz9695_aer |
---|
45 | echo "AERxLMD9695" > .resol |
---|
46 | |
---|
47 | GESxLMD9695 : libioipsl inca3_lmdz9695_ges |
---|
48 | echo "GESxLMD9695" > .resol |
---|
49 | |
---|
50 | |
---|
51 | inca3_lmdz9672_aer : |
---|
52 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
53 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
54 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x72x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
55 | |
---|
56 | |
---|
57 | inca3_lmdz9672_ch4aer : |
---|
58 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
59 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; ) |
---|
60 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x72x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
61 | |
---|
62 | inca3_lmdz9672_ch4 : |
---|
63 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
64 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4 -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; ) |
---|
65 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x72x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
66 | |
---|
67 | |
---|
68 | inca3_lmdz9672_nmhcaer : |
---|
69 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
70 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
71 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x72x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
72 | |
---|
73 | |
---|
74 | inca3_lmdz9672_nmhc : |
---|
75 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
76 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
77 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x72x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
78 | |
---|
79 | |
---|
80 | inca3_lmdz9672_ges : |
---|
81 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
82 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie GES -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
83 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x72x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
84 | |
---|
85 | |
---|
86 | inca3_lmdz9695_aer : |
---|
87 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
88 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
89 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x95x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x95x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
90 | |
---|
91 | |
---|
92 | inca3_lmdz9695_ch4aer : |
---|
93 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
94 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4_AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; ) |
---|
95 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x95x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x95x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
96 | |
---|
97 | inca3_lmdz9695_ch4 : |
---|
98 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
99 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4 -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; ) |
---|
100 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x95x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x95x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
101 | |
---|
102 | |
---|
103 | inca3_lmdz9695_nmhcaer : |
---|
104 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
105 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
106 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x95x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x95x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
107 | |
---|
108 | |
---|
109 | inca3_lmdz9695_nmhc : |
---|
110 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
111 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
112 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x95x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x95x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
113 | |
---|
114 | |
---|
115 | inca3_lmdz9695_ges : |
---|
116 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
117 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie GES -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
118 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -d 96x95x19 -v false -chimie INCA -parallel mpi -arch $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x95x19_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
119 | |
---|
120 | libioipsl : |
---|
121 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
122 | |
---|
123 | clean : |
---|
124 | (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; ) |
---|