Skip to content

Commit

Permalink
fix stream
Browse files Browse the repository at this point in the history
  • Loading branch information
DaisukeMiyamoto committed Jun 1, 2017
1 parent 8d5f9f2 commit e6f6c2a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions stream/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ ICC_CFLAGS = -O3 -xCORE-AVX2 -ffreestanding -qopenmp

all: stream.out stream_mpi.out

stream.out:
wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c
stream.out: stream.c
${CC} ${CFLAGS} ${CONDITION} $^ -o $@

stream_mpi.out:
wget https://www.cs.virginia.edu/stream/FTP/Code/Versions/stream_mpi.c
stream_mpi.out: stream_mpi.c
${CC} ${CFLAGS} ${CONDITION_MPI} $^ -o $@

stream.c:
wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c

stream_mpi.c:
wget https://www.cs.virginia.edu/stream/FTP/Code/Versions/stream_mpi.c

clean:
rm -f *.out *.o
rm -f *.out *.c

0 comments on commit e6f6c2a

Please sign in to comment.