source: CONFIG/branches/LMDZINCA/LMDZINCA_v3_0/AA_make @ 431

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

new compilation option for LMDZ

  • Property svn:keywords set to Id
File size: 2.8 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 INCA -parallel mpi -m $(FCM_ARCH) -g reg gcm ; cp bin/gcm_96x72x19_t31_phylmd_para_inca.e ../../bin/gcm.e ; )
37
38
39inca3_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
43inca3_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
48inca3_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
52inca3_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
57inca3_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
61libioipsl :
62        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
63
Note: See TracBrowser for help on using the repository browser.