-
Notifications
You must be signed in to change notification settings - Fork 918
Fix PGI compiler error with compare arg #8325
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
Conversation
jjhursey
commented
Dec 30, 2020
- PGI was throwing the following error.
- It must not have liked the inline declaration of the NULL pointer.
- So replace with a variable, as we do in other places in the code base.
* PGI was throwing the following error. ``` NVC++-S-0103-Illegal operand types for comparison operator (osc_rdma_frag.h: 75) NVC++/power Linux 20.11-0: compilation completed with severe errors ``` * It must not have liked the inline declaration of the NULL pointer. - So replace with a variable, as we do in other places in the code base. Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
I'd like someone familiar with the Note that IBM CI did not pick this up I found it while working on fixing PGI builds in MTT. With this patch we compile cleanly. I'm not 100% sure why CI didn't pick it up - they are different build environments so that's probably contributing. |
PGI is dead wrong here (what a surprise) but the work around is fine. |
Maybe we should open a bug with PGI. Their quality control is not the best and the only way to ensure it ever gets fixed is to bug them about it :). Though maybe since they are part of NVidia they are getting better. |
@artemry-mlnx it looks like the Mellanox CI is stuck. There are items in the queue waiting since Sunday, and the last run was Dec. 23 - nothing is running right now. Can you take a look? |
@hjelmn I agree. I'll try to work up a small reproducer tomorrow and file a bug with NVIDIA/PGI. That'll at least make them aware of it. Thanks for the review. |
There was an issue with CI host - fixed. |
@artemry-mlnx It looks like there is a setup issue on the Mellanox CI side. It's throwing this error before starting the build:
|
FYI: I moved our CI boxes RHEL 8.2 from Centos 7, and that seems to trigger this same issue as it does in MTT (MTT runs on RHEL 8.1). Just retesting to make double sure. bot:ibm:pgi:retest |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |