Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94253782
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
Thu, Dec 5, 04:12
Size
714 B
Mime Type
text/x-makefile
Expires
Sat, Dec 7, 04:12 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22770059
Attached To
rCGPHPC CG-PHPC
Makefile
View Options
CC=gcc
LD=${CC}
COVFLAGS = -fprofile-arcs -ftest-coverage
INCLUDES = -I$(OPENBLAS_ROOT)/include
CFLAGS+=-Wall -pedantic -O3 -fPIC $(INCLUDES) #${COVFLAGS}
DBGFLAGS = -g -pg
LDFLAGS+=-lm -fopenmp -L$(OPENBLAS_ROOT)/lib -lopenblas # ${COVFLAGS} -g -pg -lopenblas
#OBJS=blas.o cg.o util.o cg_blas.o mmio.o
OBJS=cg.o util.o cg_blas.o mmio.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