iqbal-lab-org / clockwork

CRyPTIC data processing pipelines
MIT License
31 stars 22 forks source link

Singularity Build gramtools issue #86

Closed mezewudo closed 3 years ago

mezewudo commented 3 years ago

Hello: The singularity image build command fails at the point of installing gramtools below is a snapshot of the command and error messages:

singularity build clockwork_container.img clockwork_container.def

____ gramtools _____# pip3 install --process-dependency-links wheel git+https://github.com/iqbal-lab-org/gramtools@9313eceb606a6fc159e4a14c168b7a6f888c5ed2

.........

.........

SUCCESS: sdsl was installed successfully! The sdsl include files are located in '/tmp/pip-041uygn9-build/cmake-build-release/libgramtools/include'. The library files are located in '/tmp/pip-041uygn9-build/cmake-build-release/libgramtools/lib'.

Sample programs can be found in the examples-directory.
A program 'example.cpp' can be compiled with the command:
g++ -std=c++11 -DNDEBUG -O3 [-msse4.2] \
   -I/tmp/pip-041uygn9-build/cmake-build-release/libgramtools/include -L/tmp/pip-041uygn9-build/cmake-build-release/libgramtools/lib \
   example.cpp -lsdsl -ldivsufsort -ldivsufsort64

Tests in the test-directory
A cheat sheet in the extras/cheatsheet-directory.
Have fun!
[ 28%] No install step for 'sdsl'
[ 29%] No test step for 'sdsl'
[ 30%] Completed 'sdsl'
[ 30%] Built target sdsl
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: gramtools backend compilation returned:  2

----------------------------------------

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-041uygn9-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-o6jmmrip-record/install-record.txt --single-version-externally-managed --compile" failed with error code 255 in /tmp/pip-041uygn9-build/ FATAL: While performing build: while running engine: exit status 1