-
Notifications
You must be signed in to change notification settings - Fork 859
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
XL Fortran Compiler F08 Bindings broken for OpenSHMEM #3612
Comments
Note: I wanted to file this bug to make sure folks know that the XL compiler seems to be working fine with I don't have the cycles at the moment for this, but didn't want to lose it. |
This error is also present in my testing on OpenPower (ppc64le) with the 20170630-beta release of the XL compilers and Open MPI 3.0.0rc1.
However, I can also confirm that the MPI bindings are fine. |
I have some more data that at least pins down why the link is failing. Configure with four different compilers on the PPC64LE system shows xlf differs from the other three:
The object references the following symbols
Note that none of these have a trailing underscore, which is consistent with the configure findings. However, the library contains the following
Note that the weak symbols all have a trailing underscore. So, I suspect this should be a simple fix for somebody with the right knowledge of where the underscores are appended. |
Unlike the code in Work-around:For the moment, configuring with |
@PHHargrove Thanks for tracking that down! I should be able to work up a fix for this in the next day or two. |
Humm I took a pass at this and it became a mess. The fortran bindings in oshmem are not as centralized as they are in ompi, so it touches a lot of files. The no underscore version results in a number of duplicate naming issues that need to be worked though. Changing one or two of the interfaces worked for the ring test, but broader application of the technique caused build issues. I think for I'll work on the README update PR. Then we can keep this ticket open for when the real fix arrives. |
I revisited this bug today with the current master branch HEAD and can confirm it is still an issue with an additional complication.
With
|
The
README
says:However, this no longer seems to be accurate for the MPI f08 bindings. I can confirm that the OpenSHMEM Fortran bindings do not work.
I checked the master branch with XL compiler: shell$ xlf -qversion IBM XL Fortran for Linux, V15.1.5 (5725-C75, 5765-J10) Version: 15.01.0005.0000 shell$ ./configure --disable-dlopen CC=xlc_r CXX=xlC_r FC=xlf_r ...
For OSHMEM it's not quite all working:
The text was updated successfully, but these errors were encountered: