source: CONFIG/trunk/LMDZ4OR_v2/AA_make @ 197

Last change on this file since 197 was 197, checked in by mmaipsl, 14 years ago

First import of LMDZ4OR_v2 model.

File size: 2.6 KB
Line 
1#- $Id$
2
3#-Q- sx8brodie sx8brodie:
4#-Q- sx8brodie  @echo On brodie, please, WAIT until the end of the batch job submitted :
5#-Q- sx8brodie  @echo \(use command : qstat or wait for an email\)
6#-Q- sx8brodie  qsub -v RESOL job.comp
7
8all :
9        if [ -s ./.resol ] ; then gmake `cat .resol` ; else gmake LMD9671 ; fi
10
11LMD7245 : libioipsl liborchidee lmdz7245
12        echo "LMD7245" >.resol
13        echo "$(LIB_MPI)" >.libmpi
14
15LMD9671 : libioipsl liborchidee lmdz9671
16        echo "LMD9671" >.resol
17        echo "$(LIB_MPI)" >.libmpi
18
19LMD14496 : libioipsl liborchidee lmdz14496
20        echo "LMD14496" >.resol
21        echo "$(LIB_MPI)" >.libmpi
22
23LMD144142 : libioipsl liborchidee lmdz144142
24        echo "LMD144142" >.resol
25        echo "$(LIB_MPI)" >.libmpi
26
27libioipsl :
28        (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile)
29
30liborchidee :
31        (cd ../../modeles/ORCHIDEE/ ; $(M_K) -f Makefile)
32
33precsechiba :
34        (cd ../../modeles/ORCHIDEE/src_parameters ; $(M_K) -f Makefile checkprec)
35
36config : libioipsl
37        (cd ../../modeles/IOIPSL/src; $(M_K) -f Makefile config)
38        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile config)
39        $(BINDIR)/Fparser -main -name ORCHIDEE_OL $(MODS1)
40        $(SCPDIR)/build_tkmenus
41        ./config.tk
42        $(RM) Config.*
43
44cleanORC :
45        (cd ../../modeles/ORCHIDEE; $(M_K) -f Makefile clean)
46
47lmdz7245:
48        (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 ; )
49        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 72x45x19 -v true -parallel true -m $(FCM_ARCH) gcm ; cp bin/gcm_72x45x19_t4_phylmd_para_orch.e ../../bin/gcm.e ; )
50lmdz9671:
51        (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 ; )
52        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -v true -parallel true -m $(FCM_ARCH) gcm ; cp bin/gcm_96x71x19_t4_phylmd_para_orch.e ../../bin/gcm.e ; )
53lmdz14496:
54        (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 ; )
55        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x96x1 -v true -parallel true -m $(FCM_ARCH) gcm ; cp bin/gcm_144x96x19_t4_phylmd_para_orch.e ../../bin/gcm.e ; )
56lmdz144142:
57        (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 ; )
58        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x142x19 -v true -parallel true -m $(FCM_ARCH) gcm ; cp bin/gcm_144x142x19_t4_phylmd_para_orch.e ../../bin/gcm.e ; )
59
60verif:
61        ls -l ../../bin
62
Note: See TracBrowser for help on using the repository browser.