-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Adding psrchive #13720
Adding psrchive #13720
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
OK, this appears to be building correctly now. If someone could review it that would be great, thanks! |
@conda-forge/staged-recipes I think this is ready to go, could someone give it a review? Thank you! |
OK, meta.yaml is now 2-space indented. And for completeness I added a couple more build requirements (make, perl). Anything else that should be done for this one? |
recipes/psrchive/meta.yaml
Outdated
- numpy | ||
- fftw | ||
- tempo2 | ||
- libcblas * *netlib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% sure on the syntax here. I thought it should be =. @isuruf, sorry to bother you with this but can you take a quick look?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just libcblas
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this was a tricky/confusing issue for me. The package does not directly depend on BLAS, only indirectly via GSL (it uses some of the gsl_blas_*
functions). Here are the various things I tried and what the results were:
- Only
gsl
in the requirements (ie no BLAS library explicitly mentioned). This resulted in openblas being installed during the build, and an "overlinking" error for libopenblas. libcblas
added to requirements. Same results as above (build used openblas, overlinking error).libcblas * *netlib
in the requirements (host section only). This resulted in the netlib BLAS being used successfully in the build, with no errors. The test stage used openblas with no problem.
I arrived at this final version after reading https://conda-forge.org/docs/maintainer/knowledge_base.html#blas which implied builds should use netlib, although this didn't happen until I explicitly specified it.
All the results from these various attempts can be found in the failed builds above in this PR but please let me know if there is other specific information I can provide regarding this. Suggestions on how best to solve this are certaintly welcome!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi folks, any additional thoughts on this? TL;DR version of my last post was that I tried "just libcblas
" and it didn't work. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the results from these various attempts can be found in the failed builds above in this PR but please let me know if there is other specific information I can provide regarding this. Suggestions on how best to solve this are certaintly welcome!
Sorry I did not checked the commit history. Did you try Isuru's suggestion and that did not work? If not, do you mind testing it so we can check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I did try that and it did not work (it was "2" in my list above). But it looks like I only did that test on my local system. I'll push that change here so you guys can take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll push that change here so you guys can take a look.
Thanks. If there is nothing we can do to fix it we can revert and merge as-is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad this worked, thanks again for the help! I'll have to look into why it failed for me locally, maybe different version of conda build or something like that.
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details)