source: CONFIG/trunk/LMDZINCA_v2/AA_make @ 184

Last change on this file since 184 was 184, checked in by acosce, 15 years ago

ACo : take into account resolution for asking the compilation

ex : CH4xLMD9671 in place of CH4
change AA_make and all the card

  • Property svn:keywords set to Id
File size: 4.2 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#-Q- sx8brodie sx8brodie:
11#-Q- sx8brodie  @echo On brodie, please, WAIT until the end of the batch job submitted :
12#-Q- sx8brodie  @echo \(use command : qstat or wait for an email\)
13#-Q- sx8brodie  qsub -v RESOL job.comp
14
15
16
17all :
18        if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake AERxLMD9672 ; fi
19
20
21CH4_AERxLMD9672 : libioipsl inca3_lmdz9672_ch4aer
22        echo "CH4_AERxLMD9672" > .resol
23
24CH4xLMD9672 : libioipsl inca3_lmdz9672_ch4
25        echo "CH4xLMD9672" > .resol
26
27NMHCxLMD9672 : libioipsl inca3_lmdz9672_nmhc
28        echo "NMHCxLMD9672" > .resol
29
30NMHC_AERxLMD9672 : libioipsl inca3_lmdz9672_nmhcaer
31        echo "NMHC_AERxLMD9672" > .resol
32
33AERxLMD9672 : libioipsl inca3_lmdz9672_aer
34        echo "AERxLMD9672" > .resol
35
36GESxLMD9672 : libioipsl inca3_lmdz9672_ges
37        echo "GESxLMD9672" > .resol
38
39
40inca3_lmdz9672_aer :
41        (cd ../../modeles/INCA3; ./inca_fcm -chimie AER -parallel true -m $(FCM_ARCH); )       
42        (  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 ; )
43        (  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 ; )
44
45
46inca3_lmdz9672_ch4aer :
47        (cd ../../modeles/INCA3; ./inca_fcm -chimie CH4_AER -parallel true -m $(FCM_ARCH); )   
48        (  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 ; )
49        (  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 ; )
50
51inca3_lmdz9672_ch4 :
52        (cd ../../modeles/INCA3; ./inca_fcm -chimie CH4 -parallel true -m $(FCM_ARCH); )       
53        (  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 ; )
54        (  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 ; )
55
56
57inca3_lmdz9672_nmhcaer :
58        (cd ../../modeles/INCA3; ./inca_fcm -chimie NMHC_AER -parallel true -m $(FCM_ARCH); )   
59        (  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 ; )
60        (  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 ; )
61
62inca3_lmdz9672_nmhc :
63        (cd ../../modeles/INCA3; ./inca_fcm -chimie NMHC -parallel true -m $(FCM_ARCH); )       
64        (  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 ; )
65        (  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 ; )
66
67
68inca3_lmdz9672_ges :
69        (cd ../../modeles/INCA3; ./inca_fcm -chimie GES -parallel true -m $(FCM_ARCH); )       
70        (  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 ; )
71        (  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 ; )
72
73
74
75libioipsl :
76        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
77
78inca3 :
79        (cd ../../modeles/INCA3; ./inca_fcm -chimie $(MAKECMDGOALS) -parallel true -m $(FCM_ARCH); )
Note: See TracBrowser for help on using the repository browser.