-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
openmpi v5.0.4 #169
openmpi v5.0.4 #169
Conversation
…nda-forge-pinning 2024.07.19.18.26.47
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 ( |
The broken build in ARM64 needs this patch https://patch-diff.githubusercontent.com/raw/open-mpi/ompi/pull/12694.patch |
@isuruf @minrk I'm having issues in macOS arm64. The issue may be related to gfortran, I'm seeing the following version mix in the logs, is this correct?
|
I'm not sure what's changed or where the fix is, but the test for how to link pthreads with gfortran is not respecting LDFLAGS:
which should have LDFLAGS=' -Wl,-commons,use_dylibs' for some step, which causes all gfortran linking to fail. Finding where that override is and why it's clobbering $LDFLAGS rather than extending it might help us figure out if there's another env variable to set or if there's a bug in openmpi configure. The logs of the empty string and space make me thing there could be something like an env variable typo where something is expecting I think it makes sense that only cross compilation is affected, since non-cross compilation will tend to find libgfortran even if these args are missing. |
I think there's a typo in open-mpi/ompi#12650, specifically LDFLAGS is saved in LDFLAGS_save_xcode and restored from LDFLAGS_xcode_save, which would have the equivalent effect of setting $LDFLAGS='', which looks exactly like what we are seeing. Testing a patch in #170. If that fixes it, I'll submit it upstream. |
@minrk Yes! I just found it too, but you beat me to announce the discovery. |
@minrk Can we make make all the needed changes to get this version published? |
This now has the patch and hopefully the right dependencies. I left out the moduledir part, to try to focus on just one change at a time. Not sure when you think is the right time for that one. |
You can add the moduledir thing here too, if it is OK with you. |
official, no longer need symlinks
added moduledir patch as well |
Co-authored-by: Lisandro Dalcin <dalcinl@gmail.com>
In the conda world we disable new-dtags everywhere and add --disable-new-dtags in LDFLAGS because lots of users have LD_LIBRARY_PATH set in their bashrc because of someone on the internet told them to. We even patch distutils/setuptools to not use new drags. |
@isuruf OK, so there we have the explanation... decisions made to favor the clueless and unexperienced over the professional. The problem is that in the particular case of RPATH/RUNPATH entries in ELF binaries, the |
Yes, that is a problem. In that case, LD_PRELOAD is a good solution. You can also change the binary if you want. An experienced user will be able to figure this out, while an inexperienced user can easily trip over LD_LIBRARY_PATH issues. In any case, I don't think individual packages like |
closes #168
It is very likely that the current package version for this feedstock is out of date.
Checklist before merging this PR:
license_file
is packagedInformation about this PR:
@conda-forge-admin,
please add bot automerge
in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.bot-rerun
label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase@conda-forge-admin, please rerun bot
in a PR comment to have theconda-forge-admin
add it for you.Pending Dependency Version Updates
Here is a list of all the pending dependency version updates for this repo. Please double check all dependencies before merging.
Dependency Analysis
We couldn't run dependency analysis due to an internal error in the bot, depfinder, or grayskull. :/ Help is very welcome!
This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by - please use this URL for debugging.