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 | AERxLMD9695-L39 : libioipsl xios liborchidee aer96x95x39 lmdz96x95x39 verif |
---|
14 | echo "AERxLMD9695-L39" >.resol |
---|
15 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
16 | echo "CHEM=AER" > .chimie |
---|
17 | |
---|
18 | GESxLMD9695-L39 : libioipsl xios liborchidee ges96x95x39 lmdz96x95x39 verif |
---|
19 | echo "GESxLMD9695-L39" >.resol |
---|
20 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
21 | echo "CHEM=GES" > .chimie |
---|
22 | |
---|
23 | |
---|
24 | xios : |
---|
25 | (cd ../../modeles/XIOS ; ./make_xios --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; ) |
---|
26 | |
---|
27 | libioipsl : ../../modeles/IOIPSL/src |
---|
28 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
29 | |
---|
30 | |
---|
31 | liborchidee : ../../modeles/ORCHIDEE/ |
---|
32 | (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm -parallel mpi_omp -xios -arch $(FCM_ARCH) -j 8 -driver) |
---|
33 | |
---|
34 | nmhcaer96x95x39: |
---|
35 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=NMHC_AER |
---|
36 | |
---|
37 | aer96x95x39: |
---|
38 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=AER |
---|
39 | |
---|
40 | ges96x95x39: |
---|
41 | $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=GES |
---|
42 | |
---|
43 | lmdz96x95x39: |
---|
44 | $(M_K) lmdz RESOL_LMDZ=96x95x39 |
---|
45 | |
---|
46 | inca: ../../modeles/INCA |
---|
47 | (cd ../../modeles/INCA; ./makeinca_fcm -chimie $(CHIMIE) -xios -parallel mpi_omp -resol $(RESOL_INCA) -j 8 -arch $(FCM_ARCH); cp SIMULATIONS/$(CHIMIE)/inca.dat ../../bin/inca.dat ; ) |
---|
48 | |
---|
49 | lmdz: ../../modeles/LMDZ |
---|
50 | (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -chimie INCA -io xios -mem -cosp false -v true -parallel mpi_omp -arch $(FCM_ARCH) -j 8 gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_mem_orch_inca.e ../../bin/gcm.e ; ) |
---|
51 | |
---|
52 | |
---|
53 | verif: ../../bin |
---|
54 | ls -l ../../bin |
---|
55 | |
---|
56 | clean : |
---|
57 | (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; ) |
---|
58 | (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; ) |
---|
59 | (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; ) |
---|
60 | (cd ../../modeles/INCA ; ./makeinca_fcm -clean ) |
---|
61 | |
---|