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

Last change on this file since 3019 was 961, checked in by aclsce, 14 years ago
  • Move 4 parameters from physiq.def into run.def to facilitate sharing physiq.def file with LMDZOR forced configurations (like in IPSLCM5_v2

config).

  • Back to old way to compile create_etat0_limit (no parallel mode) to work with CREATE/Job
File size: 2.5 KB
RevLine 
[197]1#- $Id$
2
3
4all :
[883]5        if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else gmake LMD9695-L39 ; fi
[197]6
[661]7LMD7245 : libioipsl liborchidee lmdz72x45x19 verif
[197]8        echo "LMD7245" >.resol
[661]9        echo "RESOL_ATM_3D=72x45x19" >>.resol
[197]10        echo "$(LIB_MPI)" >.libmpi
11
[661]12LMD9671 : libioipsl liborchidee lmdz96x71x19 verif
[197]13        echo "LMD9671" >.resol
[661]14        echo "RESOL_ATM_3D=96x71x19" >>.resol
[197]15        echo "$(LIB_MPI)" >.libmpi
16
[661]17LMD9695 : libioipsl liborchidee lmdz96x95x19 verif
[695]18        echo "LMD9695" >.resol
[661]19        echo "RESOL_ATM_3D=96x95x19" >>.resol
20        echo "$(LIB_MPI)" >.libmpi
21
22LMD9695-L39 : libioipsl liborchidee lmdz96x95x39 verif
[885]23        echo "LMD9695-L39" >.resol
[661]24        echo "RESOL_ATM_3D=96x95x39" >>.resol
25        echo "$(LIB_MPI)" >.libmpi
26
27LMD14496 : libioipsl liborchidee lmdz144x96x19 verif
[197]28        echo "LMD14496" >.resol
[661]29        echo "RESOL_ATM_3D=144x96x19" >>.resol
[197]30        echo "$(LIB_MPI)" >.libmpi
31
[661]32LMD144142 : libioipsl liborchidee lmdz144x142x19 verif
[197]33        echo "LMD144142" >.resol
[661]34        echo "RESOL_ATM_3D=144x142x19" >>.resol
[197]35        echo "$(LIB_MPI)" >.libmpi
36
[661]37LMD144142-L39 : libioipsl liborchidee lmdz144x142x39 verif
38        echo "LMD144142" >.resol
39        echo "RESOL_ATM_3D=144x142x39" >>.resol
40        echo "$(LIB_MPI)" >.libmpi
41
[197]42libioipsl :
43        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
44
45liborchidee :
[664]46        (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile)
[197]47
48precsechiba :
49        (cd ../../modeles/ORCHIDEE/src_parameters ; $(M_K) -f Makefile checkprec)
50
51config : libioipsl
52        (cd ../../modeles/IOIPSL/src; $(M_K) -f Makefile config)
53        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile config)
54        $(BINDIR)/Fparser -main -name ORCHIDEE_OL $(MODS1)
55        $(SCPDIR)/build_tkmenus
56        ./config.tk
57        $(RM) Config.*
58
59cleanORC :
60        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile clean)
61
[661]62lmdz72x45x19:
63        $(M_K) lmdz RESOL_LMDZ=72x45x19
[197]64
[661]65lmdz96x71x19:
66        $(M_K) lmdz RESOL_LMDZ=96x71x19
67
68lmdz96x95x19:
69        $(M_K) lmdz RESOL_LMDZ=96x95x19
70
71lmdz96x95x39:
72        $(M_K) lmdz RESOL_LMDZ=96x95x39
73
74lmdz144x96x19:
75        $(M_K) lmdz RESOL_LMDZ=144x96x19
76
77lmdz144x142x19:
78        $(M_K) lmdz RESOL_LMDZ=144x142x19
79
80lmdz144x142x39:
81        $(M_K) lmdz RESOL_LMDZ=144x142x39
82
83lmdz:
[961]84        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -arch $(FCM_ARCH) ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; )
[670]85        (cd ../../modeles/LMDZ4; ./makelmdz_fcm -cpp ORCHIDEE_NOOPENMP -d $(RESOL_LMDZ) -v true -parallel mpi -arch $(FCM_ARCH) gcm ; cp bin/gcm_$(RESOL_LMDZ)_phylmd_para_orch.e ../../bin/gcm.e ; )
[661]86
[197]87verif:
88        ls -l ../../bin
89
[589]90clean :
91        (rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* ; rm -rf ../../modeles/LMDZ4/libo/* ../../modeles/LMDZ4/.lock ; rm -fr .resol .libmpi ; )
Note: See TracBrowser for help on using the repository browser.