source: CONFIG/LMDZINCA/trunk/AA_make @ 3688

Last change on this file since 3688 was 500, checked in by acosce, 13 years ago

ACo: LMDZINCA trunk moved

  • Property svn:keywords set to Id
File size: 4.3 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
33
34inca3_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
40inca3_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
45inca3_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
51inca3_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
56inca3_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
62inca3_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
69libioipsl :
70        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
71
72inca3 :
73        (cd ../../modeles/INCA3; ./inca_fcm -chimie $(MAKECMDGOALS) -parallel true -m $(FCM_ARCH); )
Note: See TracBrowser for help on using the repository browser.