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 INCA -parallel mpi -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t31_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
37 | |
---|
38 | |
---|
39 | inca3_lmdz9672_ch4aer : |
---|
40 | (cd ../../modeles/INCA3; ./inca_fcm -chimie CH4_AER -parallel true -m $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; ) |
---|
41 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 75 -v false -chimie INCA -parallel mpi -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t75_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
42 | |
---|
43 | inca3_lmdz9672_ch4 : |
---|
44 | (cd ../../modeles/INCA3; ./inca_fcm -chimie CH4 -parallel true -m $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; ) |
---|
45 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 45 -v false -chimie INCA -parallel mpi -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t45_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
46 | |
---|
47 | |
---|
48 | inca3_lmdz9672_nmhcaer : |
---|
49 | (cd ../../modeles/INCA3; ./inca_fcm -chimie NMHC_AER -parallel true -m $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
50 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 119 -v false -chimie INCA -parallel mpi -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t119_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
51 | |
---|
52 | inca3_lmdz9672_nmhc : |
---|
53 | (cd ../../modeles/INCA3; ./inca_fcm -chimie NMHC -parallel true -m $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
54 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 89 -v false -chimie INCA -parallel mpi -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t89_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
55 | |
---|
56 | |
---|
57 | inca3_lmdz9672_ges : |
---|
58 | (cd ../../modeles/INCA3; ./inca_fcm -chimie GES -parallel true -m $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
59 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x72x19 -t 13 -v false -chimie INCA -parallel mpi -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t13_phylmd_para_inca.e ../../bin/gcm.e ; ) |
---|
60 | |
---|
61 | libioipsl : |
---|
62 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
63 | |
---|