Add papi
This commit is contained in:
parent
91436fe48b
commit
03954432de
5
makefile
5
makefile
@ -2,14 +2,13 @@ sequential: src/sequential.c src/util.c src/kmp.c build
|
|||||||
gcc -std=c99 src/kmp.c src/util.c src/sequential.c -o build/kmp-s.out
|
gcc -std=c99 src/kmp.c src/util.c src/sequential.c -o build/kmp-s.out
|
||||||
|
|
||||||
sequential-time: src/sequential.c src/util.c src/kmp.c build
|
sequential-time: src/sequential.c src/util.c src/kmp.c build
|
||||||
gcc -std=c99 -D TIME src/kmp.c src/util.c src/sequential.c -o build/kmp-st.out
|
gcc -std=c99 -D TIME src/kmp.c src/util.c src/sequential.c /usr/local/lib/libpapi.a -o build/kmp-st.out
|
||||||
|
|
||||||
parallel: src/parallel.c src/util.c src/kmp.c build
|
parallel: src/parallel.c src/util.c src/kmp.c build
|
||||||
mpicc -std=c99 src/parallel.c src/util.c src/kmp.c -lm -o build/kmp-p.out
|
mpicc -std=c99 src/parallel.c src/util.c src/kmp.c -lm -o build/kmp-p.out
|
||||||
|
|
||||||
parallel-time: src/parallel.c src/util.c src/kmp.c build
|
parallel-time: src/parallel.c src/util.c src/kmp.c build
|
||||||
mpicc -std=c99 -D TIME src/parallel.c src/util.c src/kmp.c -lm -o build/kmp-p.out
|
mpicc -std=c99 -D TIME src/parallel.c src/util.c src/kmp.c /usr/local/lib/libpapi.a -lm -o build/kmp-p.out
|
||||||
|
|
||||||
|
|
||||||
parallel-log: src/parallel.c src/util.c src/kmp.c build
|
parallel-log: src/parallel.c src/util.c src/kmp.c build
|
||||||
mpicc -std=c99 -D LOG src/parallel.c src/util.c src/kmp.c -lm -o build/kmp-pl.out
|
mpicc -std=c99 -D LOG src/parallel.c src/util.c src/kmp.c -lm -o build/kmp-pl.out
|
||||||
|
Loading…
Reference in New Issue
Block a user