source: CONFIG/LMDZINCA/branches/LMDZINCA_v3_1/AA_make @ 841

Last change on this file since 841 was 637, checked in by acosce, 16 years ago

ACo: add resolution 96x95x19 for compilation in LMDZINCA config

  • Property svn:keywords set to Id
File size: 5.4 KB
Line 
1#- $Id$
2ifneq ($(MAKECMDGOALS),$(shell cat .resol))
3ifneq ($(MAKECMDGOALS),)
4$(shell rm -rf ../../modeles/INCA3/config)
5$(shell rm -f ../../modeles/INCA3/src/INCA_PP/*)
6$(shell rm -rf ../../lib/* )
7endif
8endif
9
10
11all :
12        if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake AERxLMD9672 ; fi
13
14
15CH4_AERxLMD9672 : libioipsl inca3_lmdz9672_ch4aer
16        echo "CH4_AERxLMD9672" > .resol
17
18CH4xLMD9672 : libioipsl inca3_lmdz9672_ch4
19        echo "CH4xLMD9672" > .resol
20
21NMHCxLMD9672 : libioipsl inca3_lmdz9672_nmhc
22        echo "NMHCxLMD9672" > .resol
23
24NMHC_AERxLMD9672 : libioipsl inca3_lmdz9672_nmhcaer
25        echo "NMHC_AERxLMD9672" > .resol
26
27AERxLMD9672 : libioipsl inca3_lmdz9672_aer
28        echo "AERxLMD9672" > .resol
29
30GESxLMD9672 : libioipsl inca3_lmdz9672_ges
31        echo "GESxLMD9672" > .resol
32
33CH4_AERxLMD9695 : libioipsl inca3_lmdz9695_ch4aer
34        echo "CH4_AERxLMD9695" > .resol
35
36CH4xLMD9695 : libioipsl inca3_lmdz9695_ch4
37        echo "CH4xLMD9695" > .resol
38
39NMHCxLMD9695 : libioipsl inca3_lmdz9695_nmhc
40        echo "NMHCxLMD9695" > .resol
41
42NMHC_AERxLMD9695 : libioipsl inca3_lmdz9695_nmhcaer
43        echo "NMHC_AERxLMD9695" > .resol
44
45AERxLMD9695 : libioipsl inca3_lmdz9695_aer
46        echo "AERxLMD9695" > .resol
47
48GESxLMD9695 : libioipsl inca3_lmdz9695_ges
49        echo "GESxLMD9695" > .resol
50
51
52inca3_lmdz9672_aer :
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
57inca3_lmdz9672_ch4aer :
58        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; )
59        (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 ; )
60
61inca3_lmdz9672_ch4 :
62        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4 -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; )
63        (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 ; )
64
65
66inca3_lmdz9672_nmhcaer :
67        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; )
68        (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 ; )
69
70
71inca3_lmdz9672_nmhc :
72        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; )
73        (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 ; )
74
75
76inca3_lmdz9672_ges :
77        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie GES -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; )
78        (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 ; )
79
80
81
82
83inca3_lmdz9695_aer :
84        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie AER -parallel mpi  -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; )
85        (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 ; )
86
87
88inca3_lmdz9695_ch4aer :
89        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4_AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/CH4_AER/inca.dat ../../bin/inca.dat ; )
90        (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 ; )
91
92inca3_lmdz9695_ch4 :
93        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie CH4 -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/CH4/inca.dat ../../bin/inca.dat ; )
94        (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 ; )
95
96
97inca3_lmdz9695_nmhcaer :
98        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; )
99        (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 ; )
100
101
102inca3_lmdz9695_nmhc :
103        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; )
104        (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 ; )
105
106
107inca3_lmdz9695_ges :
108        (cd ../../modeles/INCA3; ./makeinca_fcm -chimie GES -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; )
109        (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 ; )
110
111libioipsl :
112        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
113
Note: See TracBrowser for help on using the repository browser.