Comments (10)
- Now I got a new error message:
g++ -c -O2 -ggdb -fopenmp -std=c++11 -Isrc -L /opt/boost_1_70_0/lib -I /opt/boost_1_70_0/include -include src/common/memcpyLink.h -Wl,--wrap=memcpy -DUSE_BOOST -o src/map/mash_map.o src/map/mash_map.cpp
g++ -O2 -ggdb -fopenmp -std=c++11 -Isrc -L /opt/boost_1_70_0/lib -I /opt/boost_1_70_0/include -include src/common/memcpyLink.h -Wl,--wrap=memcpy -DUSE_BOOST src/map/mash_map.o -o metamaps /opt/boost_1_70_0/lib/libboost_math_c99.a -lstdc++ -fopenmp -lz -lm -lpthread -lboost_system -lboost_filesystem -lboost_serialization -lboost_regex
- Under
/opt/boost_1_70_0/include
there is only a folderboost
Please see the screenshots in the attachment, thank you.
from metamaps.
@AlexanderDilthey Thank you for your response, I also think it is a Boost issue but I have no idea how to fix it... Here is my commands how I installed Boost and MetaMaps (I just tried it again with boost 1.70 and got the same error messages).
cd boost_1_70_0
sudo mkdir /opt/boost_1_70_0
sudo ./bootstrap.sh --prefix=/opt/boost_1_70_0
sudo ./b2 install
cd ~/git/MetaMaps
sudo ./bootstrap.sh
sudo./configure --with-boost=/opt/boost_1_70_0
sudo make metamaps
What I noticed is that I set the path to Boost is /opt/boost_1_70_0, but in the error message it seems that it used the Boost in /usr/include, is that could be the problem? Should I set some extra settings for this installation? Thank you!
from metamaps.
@AlexanderDilthey Finally...It works!
from metamaps.
@xlinxlin Apologies for late response, I had been away for a few days. This is a Boost issue - difficult to diagnose remotely. Is it possible that the version of gcc used to build the library is different from the one you have in your PATH? I'd recommend trying to build against a local version of Boost.
from metamaps.
@AlexanderDilthey and my gcc version is 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1), is that also could be an issue?
from metamaps.
gcc 7.4.0 should be fine.
Yes, there seems to be a version mismatch, the output you listed all points to /opt/boost_1_68/lib
. Did you check that there is a valid installation of boost in /opt/boost_1_70_0
? Also, it might be that a space character is misisng between sudo
and ./configure
in the command you quoted: sudo./configure --with-boost=/opt/boost_1_70_0
.
I am not sure why configure
does not include the correct paths - you could always manually edit the generated makefile. Let me know if you need help with this.
from metamaps.
@AlexanderDilthey It would be greatly appreciated if you could help me to edit the generated makefile. Please find the attached file, thank you.
Makefile.gz
from metamaps.
Thank you! The Makefile looks good to me!
-
Can you do a
make clean
in the MetaMaps directory, followed by amake metamaps
, and confirm that you still get error messages that refer to your global Boost installation (/usr/include/boost/
...)? -
Can you do an
ls
on/opt/boost_1_70_0/include
and post the output?
from metamaps.
@AlexanderDilthey I think I have maybe the same issue mentioned in this post, but I have no idea how to fix it...
from metamaps.
Excellent! I'll close this issue now, but let me know if you encounter further problems.
from metamaps.
Related Issues (20)
- convert metamaps results to kraken style report - question HOT 4
- Mapping step spent very long time is normal? HOT 1
- downloadRefSeq.pl fails HOT 1
- metamaps classify error HOT 1
- What is the miniSeq+H based on (when was the refseq genomes downloaded)? HOT 2
- Percentage identity and mapping quality question HOT 2
- Error when using mapDirectly HOT 1
- Error downloading RefSeq - provide prebuilt db for RefSeq archaea, bacteria, fungi? HOT 3
- Unable to multi-thread MetaMaps (installation issue?) HOT 2
- percentage identity and coverage info - misclassification HOT 1
- Build reference database from GTDB HOT 1
- Misclassification when close relatives are present HOT 1
- Cannot open DB.fa for size determination HOT 1
- Assertion failed: (abs(1 - f_sum) <= 1e-3 during classification step HOT 1
- Presence of carrier return line endings in Perl utilities HOT 1
- Can a database be added via shared memory? HOT 2
- Running problems of metamaps: Assertion `statsStream.is_open()' failed. HOT 1
- regex_search failed while running classify HOT 1
- MetaMaps no longer supported? HOT 1
- terminate called after throwing an instance of 'boost::wrapexcept<std::logic_error>' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metamaps.