I am trying to install HRV on an HPC cluster using centos7.
make install error:
$ make install
cc -O -o rrlist rrlist.c -lwfdb
rrlist.c:25:23: fatal error: wfdb/wfdb.h: No such file or directory
#include <wfdb/wfdb.h>
^
compilation terminated.
make: *** [rrlist] Error 1
The path I have it installing to is: /opt/ohpc/pub/apps/HRV/test
After editing this path in the Makefile I run make install.
Makefile:
# Last revised: Aug 4 2009 (by GBM)
# 'make' description file for the HRV Toolkit
# The WFDB library must be installed before the HRV Toolkit can be compiled.
# Get the WFDB software from http://physionet.org/physiotools/wfdb.shtml .
# The HRV Toolkit will be installed in BINDIR (by default, /usr/bin). If you
# change it, make sure that your PATH includes BINDIR.
BINDIR=/opt/ohpc/pub/apps/HRV/test
# These scripts need a POSIX shell (e.g., sh or bash) in order to run.
SCRIPTS = get_hrv plt_rrs
# These binaries are compiled by 'make all'.
ALL = filt filtnn hours pwr rrlist seconds statnn
# 'make install' copies the HRV toolkit's scripts and binaries to BINDIR.
install: all
cp -p $(SCRIPTS) $(ALL) $(BINDIR)
all: $(ALL)
# 'make bin-tarball' creates a tarball of binaries.
bin-tarball: all
mkdir HRV
cp -p $(SCRIPTS) $(ALL) Usages HRV
tar cfvz HRV-`arch`-`uname`.tar.gz HRV
rm -rf HRV
# 'make clean' removes old copies of the executables.
clean:
rm -f $(ALL)
filt : filt.c
$(CC) -O -o $@ filt.c
filtnn : filtnn.c
$(CC) -O -o $@ filtnn.c
hours : hours.c
$(CC) -O -o $@ hours.c
pwr : pwr.c
$(CC) -O -o $@ pwr.c
rrlist : rrlist.c
$(CC) -O -o $@ rrlist.c -lwfdb
seconds : seconds.c
$(CC) -O -o $@ seconds.c
statnn : statnn.c
$(CC) -O -o $@ statnn.c -lm
Hello,
I am trying to install HRV on an HPC cluster using centos7.
make install error:
The path I have it installing to is: /opt/ohpc/pub/apps/HRV/test
After editing this path in the Makefile I run make install. Makefile:
Loaded modules
Paths:
Module file for wfdb
wfdb.h is here:
Please help, thanks!