1 | #- $Id$ |
---|
2 | |
---|
3 | |
---|
4 | all : |
---|
5 | if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake LMD9671 ; fi |
---|
6 | |
---|
7 | LMD7245 : libioipsl liborchidee lmdz7245 |
---|
8 | echo "LMD7245" >.resol |
---|
9 | echo "$(LIB_MPI)" >.libmpi |
---|
10 | |
---|
11 | LMD9671 : libioipsl liborchidee lmdz9671 |
---|
12 | echo "LMD9671" >.resol |
---|
13 | echo "$(LIB_MPI)" >.libmpi |
---|
14 | |
---|
15 | LMD14496 : libioipsl liborchidee lmdz14496 |
---|
16 | echo "LMD14496" >.resol |
---|
17 | echo "$(LIB_MPI)" >.libmpi |
---|
18 | |
---|
19 | LMD144142 : libioipsl liborchidee lmdz144142 |
---|
20 | echo "LMD144142" >.resol |
---|
21 | echo "$(LIB_MPI)" >.libmpi |
---|
22 | |
---|
23 | libioipsl : |
---|
24 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
25 | |
---|
26 | liborchidee : |
---|
27 | (cd ../../modeles/ORCHIDEE/ ; ./configure_orchidee -p MPI -arch $(FCM_ARCH) ; fcm build ; ln -sf ../modeles/ORCHIDEE/lib/liborglob.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/libparallel.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/libsechiba.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/libstomate.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/libparameters.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/liborchidee.a ../../lib ; ln -sf ../modeles/ORCHIDEE/lib/intersurf.mod ../../lib ) |
---|
28 | |
---|
29 | precsechiba : |
---|
30 | (cd ../../modeles/ORCHIDEE/src_parameters ; $(M_K) -f Makefile checkprec) |
---|
31 | |
---|
32 | config : libioipsl |
---|
33 | (cd ../../modeles/IOIPSL/src; $(M_K) -f Makefile config) |
---|
34 | (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile config) |
---|
35 | $(BINDIR)/Fparser -main -name ORCHIDEE_OL $(MODS1) |
---|
36 | $(SCPDIR)/build_tkmenus |
---|
37 | ./config.tk |
---|
38 | $(RM) Config.* |
---|
39 | |
---|
40 | cleanORC : |
---|
41 | (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile clean) |
---|
42 | |
---|
43 | lmdz7245: |
---|
44 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 72x45x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_72x45x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
45 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 72x45x19 -v true -parallel mpi -m $(FCM_ARCH) gcm ; cp bin/gcm_72x45x19_t4_phylmd_para_orch.e ../../bin/gcm.e ; ) |
---|
46 | lmdz9671: |
---|
47 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x71x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
48 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -v true -parallel mpi -m $(FCM_ARCH) gcm ; cp bin/gcm_96x71x19_t4_phylmd_para_orch.e ../../bin/gcm.e ; ) |
---|
49 | lmdz14496: |
---|
50 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x96x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_144x96x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
51 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x96x1 -v true -parallel mpi -m $(FCM_ARCH) gcm ; cp bin/gcm_144x96x19_t4_phylmd_para_orch.e ../../bin/gcm.e ; ) |
---|
52 | lmdz144142: |
---|
53 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x142x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_144x142x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
54 | (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x142x19 -v true -parallel mpi -m $(FCM_ARCH) gcm ; cp bin/gcm_144x142x19_t4_phylmd_para_orch.e ../../bin/gcm.e ; ) |
---|
55 | |
---|
56 | verif: |
---|
57 | ls -l ../../bin |
---|
58 | |
---|