source: CIVL/examples/compare/dot/Makefile@ ef18a90

1.23 2.0 main test-branch
Last change on this file since ef18a90 was 2ceb09a, checked in by Manchun Zheng <zmanchun@…>, 11 years ago

added examples from llnl that implement dot product with different language extensions for comparion.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@2204 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 1.1 KB
Line 
1CIVL = civl
2VERIFY = $(CIVL) verify
3COMPARE = $(CIVL) compare
4REPLAY = $(CIVL) replay
5
6all: mpiDot serDot pthreadDot hybridDot
7
8mpiDot: mpithreads_mpi.c
9 ${VERIFY} -inputVECLEN=5 -input_NPROCS=2 mpithreads_mpi.c
10
11serDot: mpithreads_serial.c
12 ${VERIFY} -inputVECLEN=5 mpithreads_serial.c
13
14pthreadDot: mpithreads_threads.c
15 ${VERIFY} -inputVECLEN=5 -inputMAXTHRDS=2 mpithreads_threads.c
16
17hybridDot: mpithreads_both.c
18 ${VERIFY} -inputVECLEN=5 -inputMAXTHRDS=2 -input_NPROCS=2 mpithreads_both.c
19
20mpiSerDot: mpithreads_mpi.c mpithreads_serial.c
21 ${COMPARE} -inputVECLEN=5 -spec mpithreads_serial.c -impl -input_NPROCS=2 mpithreads_mpi.c
22
23pthreadSerDot: mpithreads_threads.c mpithreads_serial.c
24 ${COMPARE} -inputVECLEN=5 -spec mpithreads_serial.c -impl -inputMAXTHRDS=2 mpithreads_threads.c
25
26mpiHybridDot: mpithreads_mpi.c mpithreads_both.c
27 ${COMPARE} -inputVECLEN=5 -input_NPROCS=2 -spec mpithreads_mpi.c -impl -inputMAXTHRDS=2 mpithreads_both.c
28
29mpiHybridDot: mpithreads_threads.c mpithreads_both.c
30 ${COMPARE} -inputVECLEN=5 -inputMAXTHRDS=2 -spec mpithreads_threads.c -impl -input_NPROCS=2 mpithreads_both.c
31
32
33clean:
34 rm -f -r CIVLREP
35 rm -r -f *~
Note: See TracBrowser for help on using the repository browser.