Comments (10)
Hi, thanks for your interest in Octopus. Please could you confirm how Boost was installed? It would also be helpful if you could post the entire output from your installation attempt.
from octopus.
from octopus.
from octopus.
Hi,
I've successfully build Octopus v0.5.2-beta with GCC 8.2 and Boost 1.68, so the problem is certainly with your GCC or Boost installation.
It's strange that your GNU C++ 6.4 compiler installation is /usr/local/gcc-6.4.0/bin/gcc
, as gcc
usually refers to the C compiler rather than the C++ compiler (g++
is normally used for the C++ compiler).
Assuming that you installed the GCC 8.2 C++ compiler in /usr/local/gcc-8.2.0/bin/g++
, could you please post the output from
/usr/local/gcc-8.2.0/bin/g++ -v
Please also try to install Boost with the following (after completely removing your previous installs):
cd /tmp
wget -O boost_1_68_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.68.0/boost_1_68_0.tar.gz/download
tar xzvf boost_1_68_0.tar.gz
cd boost_1_68_0
echo "using gcc : 8.2 : /usr/local/gcc-8.2.0/bin/g++ ; " >> tools/build/src/user-config.jam
./bootstrap.sh --prefix=/usr/local --without-libraries=python,mpi
./b2 -j2 toolset=gcc-8.2 cxxflags="-std=c++14"
./b2 install
Note that you will need to change the g++
path if I guessed incorrectly.
from octopus.
from octopus.
I've been trying to replicate your error in a CentOS 6.9 Docker container but have not been able to. I did however run into other problems with compilation due to the compiler emitting unrecognised instructions, suggesting that GCC was not installed correctly. I did not encounter any of these problems with CentOS 7.
I finally managed to install Octopus in a fresh CentOS 6.9 Docker container using Linuxbrew to install dependencies. For example, the following works:
docker run -it --rm centos:6.9
## Initial installs
yum -y update
yum install -y which yum-utils gcc gcc-c++ make wget git autoconf openssl bzip2.x86_64 bzip2 ca-certificates curl file fonts-dejavu-core locales openssh-client patch sudo uuid-runtime
## Add and switch to non-root sudo user (for Linuxbrew install)
localedef -i en_US -f UTF-8 en_US.UTF-8 && useradd -m -s /bin/bash linuxbrew && echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
sudo su - linuxbrew
## Install Linuxbrew
git clone https://github.com/Linuxbrew/brew.git ~/.linuxbrew
PATH="$HOME/.linuxbrew/bin:$PATH"
## Install Octopus dependencies with Linuxbrew
brew install git python gcc@8 cmake boost htslib
## Install Octopus
git clone -b master https://github.com/luntergroup/octopus.git
cd octopus
export HTSLIB_ROOT=~/.linuxbrew
./scripts/install.py --threads 3 -c ~/.linuxbrew/Cellar/gcc@8/8.2.0/bin/gcc-8 -cxx ~/.linuxbrew/Cellar/gcc@8/8.2.0/bin/g++-8 --boost ~/.linuxbrew
I would recommend that you do the same.
from octopus.
Hi, I've improved the installation script so that it can optionally install all of Octopus' dependencies into the build directory using Homebrew (as shown above). This is available on the develop
branch (I'll add to next release). You should just be able to use
$ git clone https://github.com/luntergroup/octopus.git
$ octopus/scripts/install.py --install-dependencies
to cleanly install Octopus. Let me know if you have any issues.
from octopus.
I'm closing this as I believe the new installation procedure resolves the issue. Please re-open if not.
from octopus.
from octopus.
from octopus.
Related Issues (20)
- can not download the forest files HOT 1
- Remove depreciated inheritance of std::unary_function
- Call in high heterozygotes
- VCF file is empty
- info on UL nanpore reads HOT 2
- Forest file is still not available for donwloading "std::bad_alloc Error" HOT 9
- Population-level variant calling using accessions with complex ploidy level
- Will octopus add a mode using paired information to compose a linked debruijn graph?
- Can octopus add a feature to add supported read query names of the variants in the INFO field of the output VCF file? HOT 1
- Position of maternal or paternal haplotypes in Octopus after performing TRIO analyses HOT 1
- Models for NovaseqX?
- Encountered an exception during calling 'std::bad_alloc' HOT 2
- training data & regions of the genome used for somatic random forest model
- Build failures on `gcc-13`: `option_collation.cpp:1298: error: redundant move in initialization`
- Build fails, is there a singularity? HOT 1
- ERROR in reading reference index. HOT 2
- Starting Call Set Refinement (CSR) filtering provokes RAM overload HOT 2
- Use with Nanopore long reads HOT 2
- After recompiling from source get error 'Phred: negative error [2024-07-15 12:55:12] <EROR> probability -0.000000' HOT 2
- Binaries compiled for AVX-512 cores do not process the whole genome. HOT 2
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 octopus.