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 | $(shell rm -rf ../../lib/* ) |
---|
7 | endif |
---|
8 | endif |
---|
9 | |
---|
10 | |
---|
11 | all : |
---|
12 | if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake AERxLMD9672 ; fi |
---|
13 | |
---|
14 | |
---|
15 | CH4_AERxLMD9672 : libioipsl inca3_lmdz9672_ch4aer |
---|
16 | echo "CH4_AERxLMD9672" > .resol |
---|
17 | |
---|
18 | CH4xLMD9672 : libioipsl inca3_lmdz9672_ch4 |
---|
19 | echo "CH4xLMD9672" > .resol |
---|
20 | |
---|
21 | NMHCxLMD9672 : libioipsl inca3_lmdz9672_nmhc |
---|
22 | echo "NMHCxLMD9672" > .resol |
---|
23 | |
---|
24 | NMHC_AERxLMD9672 : libioipsl inca3_lmdz9672_nmhcaer |
---|
25 | echo "NMHC_AERxLMD9672" > .resol |
---|
26 | |
---|
27 | AERxLMD9672 : libioipsl inca3_lmdz9672_aer |
---|
28 | echo "AERxLMD9672" > .resol |
---|
29 | |
---|
30 | GESxLMD9672 : libioipsl inca3_lmdz9672_ges |
---|
31 | echo "GESxLMD9672" > .resol |
---|
32 | |
---|
33 | |
---|
34 | inca3_lmdz9672_aer : |
---|
35 | (cd ../../modeles/INCA3; ./inca_fcm -chimie AER -parallel true -m $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
36 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 31 -v false -chimie AER -parallel false -m $(FCM_ARCH) -g reg create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_t31_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
37 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 31 -v false -chimie AER -parallel true -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t31_phylmd_para.e ../../bin/gcm.e ; ) |
---|
38 | |
---|
39 | |
---|
40 | inca3_lmdz9672_ch4aer : |
---|
41 | (cd ../../modeles/INCA3; ./inca_fcm -chimie CH4_AER -parallel true -m $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; ) |
---|
42 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 75 -v false -chimie CH4_AER -parallel false -m $(FCM_ARCH) -g reg create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_t75_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
43 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 75 -v false -chimie CH4_AER -parallel true -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t75_phylmd_para.e ../../bin/gcm.e ; ) |
---|
44 | |
---|
45 | inca3_lmdz9672_ch4 : |
---|
46 | (cd ../../modeles/INCA3; ./inca_fcm -chimie CH4 -parallel true -m $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; ) |
---|
47 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 45 -v false -chimie CH4 -parallel false -m $(FCM_ARCH) -g reg create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_t45_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
48 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 45 -v false -chimie CH4 -parallel true -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t45_phylmd_para.e ../../bin/gcm.e ; ) |
---|
49 | |
---|
50 | |
---|
51 | inca3_lmdz9672_nmhcaer : |
---|
52 | (cd ../../modeles/INCA3; ./inca_fcm -chimie NMHC_AER -parallel true -m $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
53 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 119 -v false -chimie NMHC_AER -parallel false -m $(FCM_ARCH) -g reg create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_t119_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
54 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 119 -v false -chimie NMHC_AER -parallel true -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t119_phylmd_para.e ../../bin/gcm.e ; ) |
---|
55 | |
---|
56 | inca3_lmdz9672_nmhc : |
---|
57 | (cd ../../modeles/INCA3; ./inca_fcm -chimie NMHC -parallel true -m $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
58 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 89 -v false -chimie NMHC -parallel false -m $(FCM_ARCH) -g reg create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_t89_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
59 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 89 -v false -chimie NMHC -parallel true -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t89_phylmd_para.e ../../bin/gcm.e ; ) |
---|
60 | |
---|
61 | |
---|
62 | inca3_lmdz9672_ges : |
---|
63 | (cd ../../modeles/INCA3; ./inca_fcm -chimie GES -parallel true -m $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
64 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 13 -v false -chimie GES -parallel false -m $(FCM_ARCH) -g reg create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_t13_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
65 | ( cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 13 -v false -chimie GES -parallel true -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t13_phylmd_para.e ../../bin/gcm.e ; ) |
---|
66 | |
---|
67 | |
---|
68 | |
---|
69 | libioipsl : |
---|
70 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
71 | |
---|
72 | inca3 : |
---|
73 | (cd ../../modeles/INCA3; ./inca_fcm -chimie $(MAKECMDGOALS) -parallel true -m $(FCM_ARCH); ) |
---|