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

Where can I find the code for sucpp in unifrac version 1.0.0 #141

Open
tillea opened this issue Feb 17, 2022 · 7 comments
Open

Where can I find the code for sucpp in unifrac version 1.0.0 #141

tillea opened this issue Feb 17, 2022 · 7 comments

Comments

@tillea
Copy link

tillea commented Feb 17, 2022

Hi,
I intend to upgrade the Debian packaged unifrac to version 1.0.0. Unfortunately the code that used to be in dir sucpp in version 0.10.0 vanished. Where can I find this code?
Kind regards, Andreas.

@wasade
Copy link
Member

wasade commented Feb 17, 2022

Hi @tillea, the code was pulled into github.com/biocore/unifrac-binaries/.

@tillea
Copy link
Author

tillea commented Feb 17, 2022 via email

@sfiligoi
Copy link
Collaborator

Hi @tillea .
If at all possible, please follow the build instructions in
https://github.com/biocore/unifrac-binaries/blob/main/.github/workflows/main.yml

It relies on the NVIDIA HPC SDK compiler (which internally relies on gcc) to produce an executable that will use any NVIDIA GPU it finds on the system.
Note that there is no runtime dependency on the NVIDIA HPC SDK, just a compile one.

While compiling with gcc still works (like it did for 0.10.0), the GPU code path will only be compiled if the NVIDIA HPC SDK is used as a compiler.

@tillea
Copy link
Author

tillea commented Feb 17, 2022 via email

@sfiligoi
Copy link
Collaborator

Hi @tillea .
You don't need cuda or the NVIDIA HPC SDK from debian.
You download it during compile time and delete it immediately after the compilation is completed.

The NVIDIA license permits such use; we verified with them.
This is the same process we use with bioconda.

PS: Indeed, you are not allowed to redistribute either CUDA or the NVIDIA HPC SDK themselves, but you are allowed to distribute any binary produced by those tools.

@tillea
Copy link
Author

tillea commented Feb 18, 2022 via email

@wasade
Copy link
Member

wasade commented Mar 30, 2022

@tillea is this still an issue? If so I wonder then if the debian package should be limited to a CPU build which does not utilize the NVIDIA toolkit?

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

3 participants