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 | |
---|
12 | all : |
---|
13 | if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake AERxLMD9672 ; fi |
---|
14 | |
---|
15 | |
---|
16 | AERxLMD9671 : libioipsl liborchidee aer_lmdz9671 |
---|
17 | echo "AERxLMD9671" >.resol |
---|
18 | |
---|
19 | CH4_AERxLMD9672 : libioipsl liborchidee ch4aer_lmdz9672 |
---|
20 | echo "CH4_AERxLMD9672" >.resol |
---|
21 | |
---|
22 | CH4xLMD9672 : libioipsl liborchidee ch4_lmdz9672 |
---|
23 | echo "CH4xLMD9672" >.resol |
---|
24 | |
---|
25 | NMHCxLMD9672 : libioipsl liborchidee nmhc_lmdz9672 |
---|
26 | echo "NMHCxLMD9672" >.resol |
---|
27 | |
---|
28 | NMHC_AERxLMD9672 : libioipsl liborchidee nmhcaer_lmdz9672 |
---|
29 | echo "NMHC_AERxLMD9672" >.resol |
---|
30 | |
---|
31 | GESxLMD9672 : libioipsl liborchidee ges_lmdz9672 |
---|
32 | echo "GESxLMD9672" >.resol |
---|
33 | |
---|
34 | |
---|
35 | libioipsl : |
---|
36 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
37 | |
---|
38 | |
---|
39 | liborchidee : |
---|
40 | (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile) |
---|
41 | |
---|
42 | |
---|
43 | aer_lmdz9671: |
---|
44 | (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 ; ) |
---|
45 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie AER -parallel mpi -resol 96x71 -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
46 | (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 ; ) |
---|
47 | |
---|
48 | |
---|
49 | aer_lmdz9672: |
---|
50 | (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 ; ) |
---|
51 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
52 | (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 ; ) |
---|
53 | |
---|
54 | |
---|
55 | ch4aer_lmdz9672: |
---|
56 | (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 ; ) |
---|
57 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; ) |
---|
58 | (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 ; ) |
---|
59 | |
---|
60 | |
---|
61 | ch4_lmdz9672: |
---|
62 | (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 ; ) |
---|
63 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4 -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; ) |
---|
64 | (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 ; ) |
---|
65 | |
---|
66 | |
---|
67 | nmhc_lmdz9672: |
---|
68 | (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 ; ) |
---|
69 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
70 | (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 ; ) |
---|
71 | |
---|
72 | |
---|
73 | nmhcaer_lmdz9672: |
---|
74 | (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 ; ) |
---|
75 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
76 | (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 ; ) |
---|
77 | |
---|
78 | ges_lmdz9672: |
---|
79 | (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 ; ) |
---|
80 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie GES -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
81 | (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 ; ) |
---|