1 | all : |
---|
2 | if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake NMHC_AERxLMD9695-L39 ; fi |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | NMHCxLMD9695-L39 : libioipsl liborchidee nmhc_lmdz969539 |
---|
7 | echo "NMHCxLMD9695-L39" >.resol |
---|
8 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
9 | |
---|
10 | AERxLMD9695-L39 : libioipsl liborchidee aer_lmdz969539 |
---|
11 | echo "AERxLMD9695-L39" >.resol |
---|
12 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
13 | |
---|
14 | NMHC_AERxLMD9695-L39 : libioipsl liborchidee nmhcaer_lmdz969539 |
---|
15 | echo "NMHC_AERxLMD9695-L39" >.resol |
---|
16 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
17 | |
---|
18 | GESxLMD9695-L39 : libioipsl liborchidee ges_lmdz969539 |
---|
19 | echo "GESxLMD9695-L39" >.resol |
---|
20 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
21 | |
---|
22 | libioipsl : |
---|
23 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
24 | |
---|
25 | |
---|
26 | liborchidee : |
---|
27 | (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile) |
---|
28 | #-Q- platine (rm -f ../../lib/parallel.mod) |
---|
29 | |
---|
30 | |
---|
31 | nmhc_lmdz969539: |
---|
32 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC/inca.dat ../../bin/inca.dat ; ) |
---|
33 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x39 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x39_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
34 | |
---|
35 | aer_lmdz969539: |
---|
36 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/AER/inca.dat ../../bin/inca.dat ; ) |
---|
37 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x39 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x39_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
38 | |
---|
39 | nmhcaer_lmdz969539: |
---|
40 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
41 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x39 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x39_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
42 | |
---|
43 | ges_lmdz969539: |
---|
44 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie GES -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/GES/inca.dat ../../bin/inca.dat ; ) |
---|
45 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x39 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x39_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
46 | |
---|
47 | |
---|
48 | clean : |
---|
49 | (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ../../modeles/INCA3/config/ ; ) |
---|