Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to build without all of the third parties ? #136

Closed
mboisson opened this issue Feb 3, 2022 · 5 comments
Closed

Instructions to build without all of the third parties ? #136

mboisson opened this issue Feb 3, 2022 · 5 comments

Comments

@mboisson
Copy link

mboisson commented Feb 3, 2022

Hi,
I was asked to build this software for our cluster. However,

  1. The build procedure does not work
  2. We already have all of the third parties

Are there instructions on how to build and install this tool without building all of the vendored dependencies ?

@dajiangliu
Copy link
Collaborator

dajiangliu commented Feb 3, 2022 via email

@mboisson
Copy link
Author

mboisson commented Feb 3, 2022

So, if we let aside that the make command downloads stuff (it should not, make is supposed to be runnable offline, without any internet connection), and builds stuff that is already available (such as zstd, tabix, sqlite, nlopt, gsl, openblas, pcre, samtools), without proper optimizations (we build all of those, but in paritulcar BLAS implementations with specific optimizations for the architectures we run on, for example), it fails in particular with Eigen (which we ALSO have):

echo "obtain Eigen..."
obtain Eigen...
wget --no-check-certificate http://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2 -O eigen-3.3.7.tar.bz2
URL transformed to HTTPS due to an HSTS policy
--2022-02-03 22:11:11--  https://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2
Résolution de bitbucket.org… 104.192.141.1, 2406:da00:ff00::3403:4be7, 2406:da00:ff00::22cd:e0db, ...
Connexion à bitbucket.org|104.192.141.1|:443… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2022-02-03 22:11:11 erreur 404 : Not Found.

make[1]: *** [Makefile:84: eigen-3.3.7.tar.bz2] Error 8
make[1] : on quitte le répertoire « /home/mboisson/tmp/rvtests-2.1.0/third »
make: *** [Makefile.lib:18: /home/mboisson/tmp/rvtests-2.1.0/third/eigen] Error 2

@mboisson
Copy link
Author

mboisson commented Feb 3, 2022

The above was an attempt to build manually, without any options specified (just make), which we don't do.

This gist contains the full logs of a build attempted with EasyBuild. It fails to compile nlopt, I guess because somewhere, somehow, in the mess of the build scripts, it passes wrong arguments. Again, it does NOT need to build nlopt, we already have it available.
https://gist.github.com/mboisson/fd82f8585f445148eec2dcaedafa090c

@dajiangliu
Copy link
Collaborator

dajiangliu commented Feb 3, 2022 via email

@mboisson
Copy link
Author

mboisson commented Feb 7, 2022

I would rather not have to download Eigen at all. As I said, we already have it installed.

I pointed our user to the binary version that you have and will forget about building from source. The binary version won't be optimized for our hardware, but I guess it's gonna be good enough.

@mboisson mboisson closed this as completed Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants