File tree Expand file tree Collapse file tree 5 files changed +66
-0
lines changed Expand file tree Collapse file tree 5 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ # Prerequisites
2+ * .d
3+
4+ # Compiled Object files
5+ * .slo
6+ * .lo
7+ * .o
8+ * .obj
9+
10+ # Precompiled Headers
11+ * .gch
12+ * .pch
13+
14+ # Compiled Dynamic libraries
15+ * .so
16+ * .dylib
17+ * .dll
18+
19+ # Fortran module files
20+ * .mod
21+ * .smod
22+
23+ # Compiled Static libraries
24+ * .lai
25+ * .la
26+ * .a
27+ * .lib
28+
29+ # Executables
30+ * .exe
31+ * .out
32+ * .app
33+
34+ build
35+ * .decl.h
36+ * .def.h
37+ * .o
38+ charmrun
Original file line number Diff line number Diff line change 1+ CHARMC ?= charmc
2+
3+ ALLGATHER_DIR =./src/allGather
4+ EXAMPLE_DIR =./example
5+
6+ allGather :
7+ $(CHARMC ) $(ALLGATHER_DIR ) /allGather.ci
8+ @mv allGather.decl.h $(ALLGATHER_DIR ) /allGather.decl.h
9+ @mv allGather.def.h $(ALLGATHER_DIR ) /allGather.def.h
10+ $(CHARMC ) -c $(ALLGATHER_DIR ) /allGather.cc
11+ @echo " Built allGather Library"
12+
13+ build-simulation : allGather
14+ $(CHARMC ) $(EXAMPLE_DIR ) /user.ci
15+ @mv user.decl.h $(EXAMPLE_DIR ) /user.decl.h
16+ @mv user.def.h $(EXAMPLE_DIR ) /user.def.h
17+ $(CHARMC ) -I$(ALLGATHER_DIR ) $(EXAMPLE_DIR ) /user.cc
18+ $(CHARMC ) -o sim user.o allGather.o
19+ @rm -f user.o allGather.o
20+ @echo " Built simulation"
21+
22+ run-simulation : build-simulation
23+ ./charmrun +p19 ./sim 64 29 10 10
24+
25+ clean :
26+ rm -f * .decl.h * .def.h * .o charmrun sim
27+
28+ .phony : run clean sim allGather
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments