1 | #- $Id$ |
---|
2 | ifneq ($(MAKECMDGOALS),$(shell cat .resol)) |
---|
3 | ifneq ($(MAKECMDGOALS),) |
---|
4 | $(shell rm -rf ../../modeles/INCA3/config) |
---|
5 | $(shell rm -f ../../modeles/INCA3/src/INCA_PP/*) |
---|
6 | endif |
---|
7 | endif |
---|
8 | |
---|
9 | all : |
---|
10 | if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake NMHC_AER_HETxLMD9672 ; fi |
---|
11 | |
---|
12 | |
---|
13 | |
---|
14 | NMHC_AER_HETxLMD9672 : libioipsl liborchidee nmhcaerhet_lmdz9672 |
---|
15 | echo "NMHC_AER_HETxLMD9672" >.resol |
---|
16 | |
---|
17 | NMHC_AER_SOAxLMD9672 : libioipsl liborchidee nmhcaersoa_lmdz9672 |
---|
18 | echo "NMHC_AER_SOAxLMD9672" >.resol |
---|
19 | |
---|
20 | NMHC_AER_SOAxLMD9695 : libioipsl liborchidee nmhcaersoa_lmdz9695 |
---|
21 | echo "NMHC_AER_SOAxLMD9695" >.resol |
---|
22 | |
---|
23 | NMHC_AER_HETxLMD9695 : libioipsl liborchidee nmhcaerhet_lmdz9695 |
---|
24 | echo "NMHC_AER_HETxLMD9695" >.resol |
---|
25 | |
---|
26 | libioipsl : |
---|
27 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
28 | |
---|
29 | |
---|
30 | liborchidee : |
---|
31 | (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile) |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | nmhcaerhet_lmdz9672: |
---|
36 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
37 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -het -cpp NEW_HET -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
38 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x72x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
39 | |
---|
40 | nmhcaersoa_lmdz9672: |
---|
41 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x72x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
42 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -soa -parallel mpi -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
43 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x72x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x72x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
44 | |
---|
45 | |
---|
46 | nmhcaerhet_lmdz9695: |
---|
47 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
48 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -het -cpp NEW_HET -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
49 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
50 | |
---|
51 | nmhcaersoa_lmdz9695: |
---|
52 | # (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -arch $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
53 | (cd ../../modeles/INCA3; ./makeinca_fcm -chimie NMHC_AER -soa -parallel mpi -resol 96x95 -arch $(FCM_ARCH); cp SIMULATIONS/NMHC_AER/inca.dat ../../bin/inca.dat ; ) |
---|
54 | (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d 96x95x19 -chimie INCA -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_phylmd_para_orch_inca.e ../../bin/gcm.e ; ) |
---|
55 | |
---|
56 | |
---|
57 | clean : |
---|
58 | (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; rm -rf ../../modeles/INCA3/config/* ; ) |
---|