Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CodeVault
hpc-kernels
dense_linear_algebra
Commits
fd5bb81b
Commit
fd5bb81b
authored
Sep 28, 2016
by
Nikos Nikoloutsakos
Browse files
Add Makefile
parent
aab64452
Changes
2
Hide whitespace changes
Inline
Side-by-side
pddp2means/README.md
View file @
fd5bb81b
...
...
@@ -62,6 +62,16 @@ Sample data example demonstrating the use of pddp-2means clustering in a small d
# 10. Instructions on how to compile the code
Use the Makefile included in the src/ directory.
Enable compilation on targets without Xeon Phi device
select offload compilation enable/disable
```
icc -offload
```
```
icc -no-offload
```
# 11. Instructions on how to run the code
Usage:
./pddp_2means
<input_file>
<output_file>
<clusters>
...
...
pddp2means/src/Makefile
0 → 100644
View file @
fd5bb81b
CC
:=
icc
#CFLAGS := -offload -O3 -openmp
CFLAGS
:=
-no-offload
-O3
-openmp
OBJS
:=
pddp_2means.o
APP
:=
pddp_2means
all
:
$(APP)
%.o
:
%.c
$(CC)
$(CFLAGS)
-c
-o
$@
$<
$(APP)
:
$(OBJS)
$(CC)
$(CFLAGS)
-o
$@
$<
clean
:
rm
-f
$(OBJS)
$(APP)
*
.optrpt
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment