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

Last change on this file since 2414 was 2404, checked in by acosce, 10 years ago

Add "clean" and "parallel compilation" in LMDZORINCA config compilation

File size: 1.9 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
18GESxLMD9695-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
24xios :
25        (cd  ../../modeles/XIOS ; ./make_xios  --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; )
26
27libioipsl : ../../modeles/IOIPSL/src
28        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
29
30
31liborchidee : ../../modeles/ORCHIDEE/
32        (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm  -parallel mpi_omp -xios -arch $(FCM_ARCH) -j 8  -driver)
33
34nmhcaer96x95x39:
35        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=NMHC_AER
36
37aer96x95x39:
38        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=AER
39
40ges96x95x39:
41        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=GES
42
43lmdz96x95x39:
44        $(M_K) lmdz RESOL_LMDZ=96x95x39
45
46inca: ../../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
49lmdz: ../../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
53verif: ../../bin
54        ls -l ../../bin
55
56clean :
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
Note: See TracBrowser for help on using the repository browser.