2021-03-27 11:32:38 +00:00
|
|
|
sequential: src/sequential.c src/util.c src/kmp.c build
|
2021-03-27 13:30:18 +00:00
|
|
|
gcc -std=c99 src/kmp.c src/util.c src/sequential.c -o build/kmp-s.out
|
2021-03-27 11:32:38 +00:00
|
|
|
|
|
|
|
sequential-time: src/sequential.c src/util.c src/kmp.c build
|
2021-03-27 13:31:47 +00:00
|
|
|
gcc -std=c99 -D TIME src/kmp.c src/util.c src/sequential.c /usr/local/lib/libpapi.a -o build/kmp-st.out
|
2021-03-27 11:32:38 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
parallel-time: src/parallel.c src/util.c src/kmp.c build
|
2021-03-27 13:34:52 +00:00
|
|
|
mpicc -std=c99 -D TIME src/parallel.c src/util.c src/kmp.c /usr/local/lib/libpapi.a -lm -o build/kmp-pt.out
|
2021-03-27 11:32:38 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2021-04-07 13:08:40 +00:00
|
|
|
parallel-mpe: src/parallel.c src/util.c src/kmp.c build
|
2021-04-07 13:10:16 +00:00
|
|
|
mpecc -std=c99 -mpilog -lpthread src/parallel.c src/util.c src/kmp.c -lm -o build/kmp-mpe.out
|
2021-04-07 13:08:40 +00:00
|
|
|
|
2021-03-27 11:32:38 +00:00
|
|
|
build:
|
|
|
|
mkdir build
|