Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added an example with iteration sampling.
[simgrid.git] / examples / smpi / NAS / Makefile
1 SHELL=/bin/sh
2 CLASS=U
3 NPROCS=1
4 SUBTYPE=
5 VERSION=
6 SFILE=config/suite.def
7
8 default: header
9         @ sys/print_instructions
10
11 BT: bt
12 bt: header
13         cd BT; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS) SUBTYPE=$(SUBTYPE) VERSION=$(VERSION)
14
15 SP: sp
16 sp: header
17         cd SP; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
18
19 LU: lu
20 lu: header
21         cd LU; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS) VERSION=$(VERSION)
22
23 MG: mg
24 mg: header
25         cd MG; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
26
27 FT: ft
28 ft: header
29         cd FT; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
30
31 IS: is
32 is: header
33         cd IS; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
34
35 IS-trace: is-trace
36 is-trace: header
37         cd IS-trace; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
38
39 CG: cg
40 cg: header
41         cd CG; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
42
43 EP: ep
44 ep: header
45         cd EP; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
46
47 EP-trace: ep-trace
48 ep-trace: header
49         cd EP-trace; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
50
51 EP-folding: ep-folding
52 ep-folding: header
53         cd EP-folding; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
54
55 DT: dt
56 dt: header
57         cd DT; $(MAKE) CLASS=$(CLASS)
58
59 DT-trace: dt-trace
60 dt-trace: header
61         cd DT-trace; $(MAKE) CLASS=$(CLASS)
62
63 DT-folding: dt-folding
64 dt-folding: header
65         cd DT-folding; $(MAKE) CLASS=$(CLASS)
66
67 # Awk script courtesy cmg@cray.com, modified by Haoqiang Jin
68 suite:
69         @ awk -f sys/suite.awk SMAKE=$(MAKE) $(SFILE) | $(SHELL)
70
71
72 # It would be nice to make clean in each subdirectory (the targets
73 # are defined) but on a really clean system this will won't work
74 # because those makefiles need config/make.def
75 clean:
76         - rm -f core 
77         - rm -f *~ */core */*~ */*.o */npbparams.h */*.obj */*.exe
78         - rm -f MPI_dummy/test MPI_dummy/libmpi.a
79         - rm -f sys/setparams sys/makesuite sys/setparams.h
80         - rm -f btio.*.out*
81
82 veryclean: clean
83         - rm -f config/make.def config/suite.def 
84         - rm -f bin/sp.* bin/lu.* bin/mg.* bin/ft.* bin/bt.* bin/is.* 
85         - rm -f bin/ep.* bin/cg.* bin/dt.*
86
87 header:
88         @ sys/print_header
89