Closed MrTomRod closed 4 years ago
I'll follow up on the other issue later, but for compiling, you need to run the last step make
too.
crap, i was in a hurry when writing the report. i ran make and got this error:
$sudo make
g++ -O3 -DNDEBUG -std=c++11 -Isrc -I /usr/include/boost/include -fopenmp -include src/common/memcpyLink.h -Wl,--wrap=memcpy -DUSE_BOOST src/cgi/core_genome_identity.cpp -o fastANI /usr/include/boost/lib/libboost_math_c99.a -lstdc++ -lz -lm
g++: error: /usr/include/boost/lib/libboost_math_c99.a: No such file or directory
make: *** [Makefile:18: fastANI] Error 1
sorry for the confusion!
I think the error conveys the issue.
/usr/include/boost/lib/libboost_math_c99.a
is probably not the correct location for libboost_math_c99.a
. You probably need to tweak the path you are specifying for boost during configure
step.
On my system for example, boost is installed in /opt/sw/software/libs/boost/1.59
, inside which folder include
contains all header files and folder lib
contains the library files.
Thanks for the hint. I had dnf install boost-math
changed the following line in configure
:
mathlib=/usr/lib64/libboost_math_c99.a
Btw, the last command (make install
/ sudo make install
) is missing from INSTALL.txt.
Now, it compiles. However, it didn't fix bug #49 .
Hi!
I experienced the bug #49. You recommend in bug #52 to recompile FastANI. So I wanted to try this:
But no binary was produced in
/home/username/FastANI/bnry
! This is the output:I'm on Fedora 32 (
boost-devel
1.69.0,gcc
10.1.1 20200507)This is more related to #49, but: May I recommend that FastANI follows proper design-by-contract:
--robust
mode, where small contigs are automatically removed until N50 is large enough or whatever it takes for the algorithm to succeed.Best, MrTomRod