Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100750707
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Feb 2, 10:58
Size
692 B
Mime Type
text/x-makefile
Expires
Tue, Feb 4, 10:58 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24008953
Attached To
rCGPHPC CG-PHPC
Makefile
View Options
CC=gcc
LD=${CC}
COVFLAGS = -fprofile-arcs -ftest-coverage
#CFLAGS+=-Wall -Werror -pedantic -O3 -fopenmp -fPIC ${COVFLAGS} -Wfatal-errors -g -Werror=unused-but-set-variable
CFLAGS+=-Wall -pedantic -O3 -fopenmp -fPIC ${COVFLAGS} -g -pg
LDFLAGS+=-lm -fopenmp ${COVFLAGS} -g -pg
OBJS=blas.o cg.o cg_blas.o mmio.o util.o
all: conjugategradient
conjugategradient: $(OBJS)
$(LD) $(OBJS) $(LDFLAGS) -o $@
#coverage study
coverage:
./conjugategradient matrix3x3.mtx vector3.mtx
gcov *.c
lcov --capture --directory . --output-file coverage.info
genhtml coverage.info --output-directory out_html
clean:
rm -Rf conjugategradient *.o *~ *.gcda *.gcov *.gcno out_html coverage.info gmon.out
Event Timeline
Log In to Comment