source: CONFIG/LMDZOR/branches/LMDZ4OR_v3/AA_make @ 475

Last change on this file since 475 was 473, checked in by jgipsl, 16 years ago

JG :

  • Modified to run LMDZ4 trunk(with same physics as IPCC AR4) and ORCHIDEE OpenMP version.
  • Changed to new set of AMIP files : PCMDI has recalculated the AMIP files
File size: 2.8 KB
Line 
1#- $Id$
2
3
4all :
5        if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake LMD9671 ; fi
6
7LMD7245 : libioipsl liborchidee lmdz7245
8        echo "LMD7245" >.resol
9        echo "$(LIB_MPI)" >.libmpi
10
11LMD9671 : libioipsl liborchidee lmdz9671
12        echo "LMD9671" >.resol
13        echo "$(LIB_MPI)" >.libmpi
14
15LMD14496 : libioipsl liborchidee lmdz14496
16        echo "LMD14496" >.resol
17        echo "$(LIB_MPI)" >.libmpi
18
19LMD144142 : libioipsl liborchidee lmdz144142
20        echo "LMD144142" >.resol
21        echo "$(LIB_MPI)" >.libmpi
22
23libioipsl :
24        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
25
26liborchidee :
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
29precsechiba :
30        (cd ../../modeles/ORCHIDEE/src_parameters ; $(M_K) -f Makefile checkprec)
31
32config : 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
40cleanORC :
41        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile clean)
42
43lmdz7245:
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 ; )
46lmdz9671:
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 ; )
49lmdz14496:
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 ; )
52lmdz144142:
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
56verif:
57        ls -l ../../bin
58
Note: See TracBrowser for help on using the repository browser.