source: CONFIG/UNIFORM/v6/LMDZORINCA_v6/AA_make @ 2442

Last change on this file since 2442 was 2442, checked in by acosce, 7 years ago

Add DUST configuration in compilation and driver

File size: 2.2 KB
Line 
1#- $Id$
2
3
4all :
5        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) NMHC_AERxLMD9695-L39 ; fi
6
7
8NMHC_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
13AERxLMD9695-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
18DUSTxLMD9695-L39 : libioipsl xios liborchidee dust96x95x39 lmdz96x95x39 verif
19        echo "DUSTxLMD9695-L39" >.resol
20        echo "RESOL_ATM_3D=96x95x39" >>.resol
21        echo "CHEM=DUST" > .chimie
22
23GESxLMD9695-L39 : libioipsl xios liborchidee ges96x95x39 lmdz96x95x39 verif
24        echo "GESxLMD9695-L39" >.resol
25        echo "RESOL_ATM_3D=96x95x39" >>.resol
26        echo "CHEM=GES" > .chimie
27
28
29xios :
30        (cd  ../../modeles/XIOS ; ./make_xios  --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; )
31
32libioipsl : ../../modeles/IOIPSL/src
33        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
34
35
36liborchidee : ../../modeles/ORCHIDEE/
37        (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm  -parallel mpi_omp -xios -arch $(FCM_ARCH) -j 8  -driver)
38
39nmhcaer96x95x39:
40        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=NMHC_AER
41
42aer96x95x39:
43        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=AER
44
45dust96x95x39:
46        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=DUST
47
48ges96x95x39:
49        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=GES
50
51lmdz96x95x39:
52        $(M_K) lmdz RESOL_LMDZ=96x95x39
53
54inca: ../../modeles/INCA
55        (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 ; )
56
57lmdz: ../../modeles/LMDZ
58        (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 ; )
59
60
61verif: ../../bin
62        ls -l ../../bin
63
64clean :
65        (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; )
66        (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; )
67        (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; )
68        (cd  ../../modeles/INCA ; ./makeinca_fcm -clean )
69
Note: See TracBrowser for help on using the repository browser.