Last change
on this file since 5119 was
3919,
checked in by acosce, 6 years ago
|
new configuration to run LMDZ5 ISO branche
|
File size:
1.6 KB
|
Line | |
---|
1 | #- $Id$ |
---|
2 | #- |
---|
3 | #- AA_make for IPSLCM5_v4 configuration |
---|
4 | #- |
---|
5 | |
---|
6 | OASIS_DIR = ../../oasis3-mct |
---|
7 | |
---|
8 | MYSRC_DIR = $(shell /bin/pwd) |
---|
9 | |
---|
10 | all : |
---|
11 | if [ -s ./.resol ] ; then $(M_K) `head -1 .resol` ; else $(M_K) LMDZ9695-L39 ; fi |
---|
12 | |
---|
13 | LMDZ9695-L39 : libioipsl xios lmdz96x95x39 verif |
---|
14 | echo "LMDZ9695-L39" >.resol |
---|
15 | echo "RESOL_ATM_3D=96x95x39" >>.resol |
---|
16 | echo "$(LIB_MPI)" >.libmpi |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | libioipsl : ../../modeles/IOIPSL/src |
---|
21 | (cd ../../modeles/IOIPSL/src ; $(M_K) -f Makefile) |
---|
22 | |
---|
23 | lmdz96x95x39: |
---|
24 | $(M_K) lmdz RESOL_LMDZ=96x95x39 |
---|
25 | |
---|
26 | |
---|
27 | lmdz: ../../modeles/LMDZ |
---|
28 | # (cd ../../modeles/LMDZ; ./makelmdz_fcm -d $(RESOL_LMDZ) -arch $(FCM_ARCH) -j 8 ce0l ; cp bin/ce0l_$(RESOL_LMDZ)_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) |
---|
29 | (cd ../../modeles/LMDZ ; ./makelmdz_fcm -d $(RESOL_LMDZ) -prod -mem -p iso -isotopes true -cosp false -parallel mpi -io xios -job 8 -arch $(FCM_ARCH) gcm ; cp bin/gcm_$(RESOL_LMDZ)_phyiso_para_mem_iso.e ../../bin/gcm.e ; ) |
---|
30 | |
---|
31 | |
---|
32 | xios: ../../modeles/XIOS |
---|
33 | (cd ../../modeles/XIOS; ./make_xios --arch $(FCM_ARCH) --prod --job 8 ; cp bin/xios_server.exe ../../bin/. ; ) |
---|
34 | |
---|
35 | |
---|
36 | verif: ../../bin |
---|
37 | ls -l ../../bin |
---|
38 | |
---|
39 | clean : cleanlmdz cleanxios cleanioipsl |
---|
40 | rm -rf $(LIBDIR)/* ; rm -f $(BINDIR)/* |
---|
41 | |
---|
42 | |
---|
43 | cleanlmdz : |
---|
44 | rm -rf ../../modeles/LMDZ/libo/* ../../modeles/LMDZ/bin/* ../../modeles/LMDZ/.lock |
---|
45 | rm -f $(BINDIR)/gcm.e $(BINDIR)/create_etat0_limit.e |
---|
46 | |
---|
47 | |
---|
48 | cleanxios : |
---|
49 | rm -rf ../../modeles/XIOS/bin/ ../../modeles/XIOS/inc ../../modeles/XIOS/obj ../../modeles/XIOS/lib |
---|
50 | |
---|
51 | cleanioipsl : |
---|
52 | ( cd ../../modeles/IOIPSL/src ; gmake clean ) |
---|
53 | ( cd $(BINDIR) ; rm -f calendar.mod defprec.mod errioipsl.mod flincom.mod fliocom.mod getincom.mod histcom.mod ioipsl.mod libioipsl.a mathelp.mod restcom.mod stringop.mod ) |
---|
54 | |
---|
Note: See
TracBrowser
for help on using the repository browser.