-
Notifications
You must be signed in to change notification settings - Fork 21
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
Problem installing wfmash with conda on mac #232
Comments
I can't speak as to why, but looking at the conda recipe, it is as you suspected: the OSX build of wfmash is "skipped". Side note: If you're ever curious about bioconda builds, you can look at the recipes in the bioconda recipe repository. A convenient way to get to the recipe file is to go to the Bioconda webpage for the package (wfmash here), then go to the |
Thanks, @bkille , especially for the side note. Looks like conda doesn't have libgcc-ng or libstdcxx-ng for mac, which are dependencies. So that would be the primary reason. Those appear to be gcc runtime stuff. Presumably a mac build would use clang and whatever runtime is appropriate for that. Anyway, thanks for verifying the conda shortcoming, so I can stop banging my head into that particular wall. I can now revisit banging the other side of my head into trying to build from source ;) . |
@rsharris in principle a clang build should work. There shouldn't be any compiler intrinsics or strange stuff but the build config might be annoying. It would also be interesting to compare clang and gcc performance. |
Thanks, @ekg , I'll continue to try the install. I think I need to make sure my cmake suite is up-to-date first. And install pkg-config which I don't currently have on the machine I'm trying this on. By the way, my main motivation is to see whether wfmash would be a suitable replacement for lastz. |
@ekg @bkille I've managed to build wfmash on macOS using clang. I haven't tried running any alignments yet, but at least it shows me the usage list. I had to make a couple mods to source files. I'm posting those here so that others trying to build for macOS won't have to rediscover them. First, I am using (1) src/common/wflign/deps/atomic_image.cpp uses d-suffixes on float constants — e.g. (2) src/interface/parse_args.hpp makes a call to (3) I encountered this failure: So, after something like 15 build attempts (not an exaggeration) I think I've got it built, and will proceed to look for some some tests to verify that it has built correctly. |
I have been trying to install wfmash but seem to have an issue. I installed wfmash with conda but got an error saying that it could not find, and therefore load shared library libels.so.25. Would there be an easy way to go around this issue? |
This is similar in nature to issue #147 .
I try to install via bioconda, like this:
but it fails, with
I've been able to install other packages in the past, e.g. winnowmap.
I'm doing this on a mac and my conda is anconda. Is one of those two facts causing the problem? I note that a search for wfmash at anaconda.org does give one hit. That hit only lists "linux-64" under platforms. (This in contrast to a hit for winnowmap that lists "linux-64" and "osx-64"). I presume this means this bioconda recipe doesn't support mac OS.
Am I correct? If so, it might be helpful to indicate that in the Bioconda section of this repo's front page.
The text was updated successfully, but these errors were encountered: