1 | #- $Id$ |
---|
2 | |
---|
3 | |
---|
4 | all : |
---|
5 | if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) NMHC_AERxLMD9695-L39 ; fi |
---|
6 | |
---|
7 | |
---|
8 | NMHC_AERxLMD9695-L39 : libioipsl xios liborchidee nmhcaer96x95x39 lmdz96x95x39 verif |
---|
9 | echo "NMHC_AERxLMD9695-L39" >.resol |
---|
10 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
11 | echo "CHEM=NMHC_AER" > .chimie |
---|
12 | |
---|
13 | NMHC_AER_SxLMD9695-L39 : libioipsl xios liborchidee nmhcaers96x95x39 lmdz96x95x39 verif |
---|
14 | echo "NMHC_AER_SxLMD9695-L39" >.resol |
---|
15 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
16 | echo "CHEM=NMHC_AER_S" > .chimie |
---|
17 | |
---|
18 | NMHCxLMD9695-L39 : libioipsl xios liborchidee nmhc96x95x39 lmdz96x95x39 verif |
---|
19 | echo "NMHCxLMD9695-L39" >.resol |
---|
20 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
21 | echo "CHEM=NMHC" > .chimie |
---|
22 | |
---|
23 | AERxLMD9695-L39 : libioipsl xios liborchidee aer96x95x39 lmdz96x95x39 verif |
---|
24 | echo "AERxLMD9695-L39" >.resol |
---|
25 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
26 | echo "CHEM=AER" > .chimie |
---|
27 | |
---|
28 | AERxLMD144142-L39 : libioipsl xios liborchidee aer144x142x39 lmdz144x142x39 verif |
---|
29 | echo "AERxLMD144142-L39" >.resol |
---|
30 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
31 | echo "CHEM=AER" > .chimie |
---|
32 | |
---|
33 | AERxLMD144142-L79 : libioipsl xios liborchidee aer144x142x79 lmdz144x142x79 verif |
---|
34 | echo "AERxLMD144142-L79" >.resol |
---|
35 | echo "RESOL_ATM_3D=144x142x79" >>.resol |
---|
36 | echo "CHEM=AER" > .chimie |
---|
37 | |
---|
38 | DUSSxLMD9695-L39 : libioipsl xios liborchidee duss96x95x39 lmdz96x95x39 verif |
---|
39 | echo "DUSSxLMD9695-L39" >.resol |
---|
40 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
41 | echo "CHEM=DUSS" > .chimie |
---|
42 | |
---|
43 | DUSSxLMD144142-L39 : libioipsl xios liborchidee duss144x142x39 lmdz144x142x39 verif |
---|
44 | echo "DUSSxLMD144142-L39" >.resol |
---|
45 | echo "RESOL_ATM_3D=144x142x39" >>.resol |
---|
46 | echo "CHEM=DUSS" > .chimie |
---|
47 | |
---|
48 | GESxLMD9695-L39 : libioipsl xios liborchidee ges96x95x39 lmdz96x95x39 verif |
---|
49 | echo "GESxLMD9695-L39" >.resol |
---|
50 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
51 | echo "CHEM=GES" > .chimie |
---|
52 | |
---|
53 | |
---|
54 | xios : |
---|
55 | (cd ../../modeles/XIOS ; ./make_xios --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; ) |
---|
56 | |
---|
57 | libioipsl : ../../modeles/IOIPSL/src |
---|
58 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
59 | |
---|
60 | |
---|
61 | liborchidee : ../../modeles/ORCHIDEE/ |
---|
62 | (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi_omp -prod -xios -arch $(FCM_ARCH) -j 8 -driver -xios2) |
---|
63 | |
---|
64 | nmhcaer96x95x39: |
---|
65 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=NMHC_AER |
---|
66 | |
---|
67 | nmhcaers96x95x39: |
---|
68 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=NMHC_AER_S |
---|
69 | |
---|
70 | nmhc96x95x39: |
---|
71 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=NMHC |
---|
72 | |
---|
73 | aer96x95x39: |
---|
74 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=AER |
---|
75 | |
---|
76 | aer144x142x39: |
---|
77 | $(M_K) inca RESOL_INCA=144x142x39 CHIMIE=AER |
---|
78 | |
---|
79 | aer144x142x79: |
---|
80 | $(M_K) inca RESOL_INCA=144x142x79 CHIMIE=AER |
---|
81 | |
---|
82 | duss96x95x39: |
---|
83 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=DUSS |
---|
84 | |
---|
85 | duss144x142x39: |
---|
86 | $(M_K) inca RESOL_INCA=144x142x39 CHIMIE=DUSS |
---|
87 | |
---|
88 | ges96x95x39: |
---|
89 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=GES |
---|
90 | |
---|
91 | lmdz96x95x39: |
---|
92 | $(M_K) lmdz RESOL_LMDZ=96x95x39 |
---|
93 | |
---|
94 | lmdz144x142x39: |
---|
95 | $(M_K) lmdz RESOL_LMDZ=144x142x39 |
---|
96 | |
---|
97 | lmdz144x142x79: |
---|
98 | $(M_K) lmdz RESOL_LMDZ=144x142x79 |
---|
99 | |
---|
100 | |
---|
101 | inca: ../../modeles/INCA |
---|
102 | # (cd ../../modeles/INCA; ./makeinca_fcm -chimie $(CHIMIE) -prod -resol $(RESOL_INCA) -j 8 -arch $(FCM_ARCH); cp SIMULATIONS/$(CHIMIE)/inca.dat ../../bin/inca.dat ; ) |
---|
103 | (cd ../../modeles/INCA; ./makeinca_fcm -chimie $(CHIMIE) -prod -xios -parallel mpi_omp -resol $(RESOL_INCA) -j 8 -arch $(FCM_ARCH); cp SIMULATIONS/$(CHIMIE)/inca.dat ../../bin/inca.dat ; ) |
---|
104 | |
---|
105 | lmdz: ../../modeles/LMDZ |
---|
106 | # (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -prod -chimie INCA -arch $(FCM_ARCH) -j 8 ce0l ; mv bin/ce0l_$(RESOL_LMDZ)_phylmd_seq_inca.e ../../bin/create_etat0_limit.e ; ) |
---|
107 | (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -prod -rrtm true -chimie INCA -io xios -mem -cosp false -v true -parallel mpi_omp -arch $(FCM_ARCH) -j 8 gcm ; mv bin/gcm_$(RESOL_LMDZ)_phylmd_para_mem_orch_inca.e ../../bin/gcm.e ; ) |
---|
108 | |
---|
109 | |
---|
110 | verif: ../../bin |
---|
111 | ls -l ../../bin |
---|
112 | |
---|
113 | clean : |
---|
114 | (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; ) |
---|
115 | (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; ) |
---|
116 | (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; ) |
---|
117 | (cd ../../modeles/INCA ; ./makeinca_fcm -clean ) |
---|
118 | |
---|
119 | clean_inca : |
---|
120 | (cd ../../modeles/INCA ; ./makeinca_fcm -clean ) |
---|
121 | |
---|
122 | clean_lmdz : |
---|
123 | (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; ) |
---|