This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Boost compile error

Hi,

I am trying to compile ABYSS 1.9.0 using Boost 1.55 for intel servers.

I have tried to configure using

./configure --prefix=/myhome/mybin/abyss-1.9.0/bin CPPFLAGS="-I/myhome1/mybin/sparsehash-2.0.2/include -L/opt/apps/intel15/boost/1.55.0/x86_64/lib" CC="icc" CXX="icpc"

I am using Texas Stampede HPC. I have access to boost libraries in /opt/apps/intel15/boost/1.55.0/x86_64/lib but I still get the boost missing error.

Is ABYSS 1.9.0 incompatible with boost 1.55?

Thank you

abyss assembly

1 answer

Hi, solarese. Try instead

./configure --prefix=/myhome/mybin/abyss-1.9.0/bin CPPFLAGS=-I/myhome1/mybin/sparsehash-2.0.2/include --with-boost=/opt/apps/intel15/boost/1.55.0/x86_64/include CC=icc CXX=icpc

See https://github.com/bcgsc/abyss#compiling-abyss-from-source

Note that -L should not be passed to CPPFLAGS but to LDFLAGS, as it is a linker (ld) option, not a C preprocessor (cpp) option.

Cheers,
Shaun

Thank you. I was able to successfully compile after using the with-boost option.

Log in to answer this question.