From a462db8aa25958d068362357313385bbd223b3df Mon Sep 17 00:00:00 2001 From: Patrick Lavin Date: Thu, 19 Sep 2024 07:10:04 -0600 Subject: [PATCH] add missing Makefiles --- .../ariel/frontend/simple/examples/stream/Makefile | 14 ++++++++++++++ src/sst/elements/ariel/tests/testMPI/Makefile | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 src/sst/elements/ariel/frontend/simple/examples/stream/Makefile create mode 100644 src/sst/elements/ariel/tests/testMPI/Makefile diff --git a/src/sst/elements/ariel/frontend/simple/examples/stream/Makefile b/src/sst/elements/ariel/frontend/simple/examples/stream/Makefile new file mode 100644 index 0000000000..8a5049d7f2 --- /dev/null +++ b/src/sst/elements/ariel/frontend/simple/examples/stream/Makefile @@ -0,0 +1,14 @@ +API_DIR = ../../../../api + +all: stream stream_mlm + +clean: + rm -f stream stream_mlm + +stream: + g++ stream.c -o stream $(CFLAGS_LOCAL) -I$(API_DIR) -L$(API_DIR) -larielapi + +stream_mlm: + g++ stream_malloc.c -o stream_mlm $(CFLAGS_LOCAL) -I$(API_DIR) -L$(API_DIR) -larielapi + +AM_DEFAULT_VERBOSITY=1 diff --git a/src/sst/elements/ariel/tests/testMPI/Makefile b/src/sst/elements/ariel/tests/testMPI/Makefile new file mode 100644 index 0000000000..6c1bae578d --- /dev/null +++ b/src/sst/elements/ariel/tests/testMPI/Makefile @@ -0,0 +1,11 @@ +all: hello reduce + +clean: + rm -f hello reduce + +API_DIR=../../api + +hello: + mpicxx hello.cc -o hello -I$(API_DIR) -L$(API_DIR) -larielapi -fopenmp +reduce: + mpicxx reduce.cc -o reduce -I$(API_DIR) -L$(API_DIR) -larielapi -fopenmp