Skip to content

Commit

Permalink
add missing Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
plavin committed Sep 19, 2024
1 parent 005db27 commit a462db8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/sst/elements/ariel/frontend/simple/examples/stream/Makefile
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions src/sst/elements/ariel/tests/testMPI/Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a462db8

Please sign in to comment.