source: CONFIG/LMDZORINCA/branches/LMDZORINCA4_HET/AA_make @ 1836

Last change on this file since 1836 was 1564, checked in by acosce, 13 years ago

Change INCA4 by INCA3 in AA_make for LMDZORINCA HER version

File size: 3.3 KB
Line 
1#- $Id$
2ifneq ($(MAKECMDGOALS),$(shell cat .resol))
3ifneq ($(MAKECMDGOALS),)
4$(shell rm -rf ../../modeles/INCA3/config)
5$(shell rm -f ../../modeles/INCA3/src/INCA_PP/*)
6endif
7endif
8
9all :
10        if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake NMHC_AER_HETxLMD9672 ; fi
11
12
13
14NMHC_AER_HETxLMD9672 : libioipsl liborchidee nmhcaerhet_lmdz9672
15        echo "NMHC_AER_HETxLMD9672" >.resol
16
17NMHC_AER_SOAxLMD9672 : libioipsl liborchidee nmhcaersoa_lmdz9672
18        echo "NMHC_AER_SOAxLMD9672" >.resol
19
20NMHC_AER_SOAxLMD9695 : libioipsl liborchidee nmhcaersoa_lmdz9695
21        echo "NMHC_AER_SOAxLMD9695" >.resol
22
23NMHC_AER_HETxLMD9695 : libioipsl liborchidee nmhcaerhet_lmdz9695
24        echo "NMHC_AER_HETxLMD9695" >.resol
25
26libioipsl :
27        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
28
29
30liborchidee :
31        (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile)
32
33
34
35nmhcaerhet_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
40nmhcaersoa_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
46nmhcaerhet_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
51nmhcaersoa_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
57clean :
58        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; rm -rf ../../modeles/INCA3/config/* ; )
Note: See TracBrowser for help on using the repository browser.