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

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

Update makefile for the configuration LMDZORINCA_v6

File size: 1.5 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
13
14xios :
15        (cd  ../../modeles/XIOS ; ./make_xios  --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; )
16
17libioipsl : ../../modeles/IOIPSL/src
18        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
19
20
21liborchidee : ../../modeles/ORCHIDEE/
22        (cd ../../modeles/ORCHIDEE/ ; ./makeorchidee_fcm  -parallel mpi_omp -xios -arch $(FCM_ARCH) -j 8  -driver)
23
24nmhcaer96x95x39:
25        $(M_K) inca RESOL_INCA=96x95x39 CHIMIE=NMHC_AER
26
27lmdz96x95x39:
28        $(M_K) lmdz RESOL_LMDZ=96x95x39
29
30inca: ../../modeles/INCA
31        (cd ../../modeles/INCA; ./makeinca_fcm -chimie $(CHIMIE) -xios -parallel mpi_omp -resol $(RESOL_INCA) -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; )
32
33lmdz: ../../modeles/LMDZ
34        (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 ; )
35
36
37verif: ../../bin
38        ls -l ../../bin
39
40clean :
41        (rm -rf $(LIBDIR)/* ; rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/.lock ; )
42        (cd ../../modeles/IOIPSL/src ; ${M_K} clean ; )
43        (cd ../../modeles/ORCHIDEE ; ./makeorchidee_fcm -clean ; )
44        (rm -rf ../../modeles/INCA/config ; )
45
Note: See TracBrowser for help on using the repository browser.