| View previous topic :: View next topic |
| Author |
Message |
Ed Blosch
Joined: 18 Oct 2010 Posts: 3
|
Posted: Wed May 29, 2013 2:44 pm Post subject: Problems compiling OpenMPI 1.6.4 with PGI 13.4 |
|
|
I am having trouble building OpenMPI 1.6.4 with PGI 13.4. The configure test claims that the compiler does not support the offsetof macro. Is that true? Is there a workaround?
Thanks
checking size of _Bool... 1
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for weak symbol support... yes
checking for functional offsetof macro... no
configure: WARNING: Your compiler does not support offsetof macro
configure: error: Configure: Cannot continue
+ '[' 1 = 0 ']' |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Wed May 29, 2013 4:47 pm Post subject: |
|
|
Hi Ed,
This is a known issue where there's a compatibility issue with the "stddef.h" header file we ship and GCC 4.6/4.7. We were able to fix the problem in the 13.5 compilers (TPR#19320)
If you can't download and install 13.5, please send a note to PGI Customer Service (trs@pgroup.com) and they should be able to get you the updated file.
Best Regards,
Mat |
|
| Back to top |
|
 |
Ed Blosch
Joined: 18 Oct 2010 Posts: 3
|
Posted: Sun Jun 02, 2013 3:04 pm Post subject: |
|
|
Tried upgrade to 13.5 but unfortunately we had the same problem with 13.5 while building OpenMPI. The missing offsetof macro. Failed in exactly the same place during configure, with the same message.
I had asked for your fix-up for 13.4 and you had sent it. I looked to see if the same changes to fix 13.4 would also work for 13.5, but there seem to be enough differences to make this approach questionable.
It looks like (TPR#19320) did not fix the problem in our situation. Can you help again?
Thank you,
Ed |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Mon Jun 03, 2013 10:59 am Post subject: |
|
|
Hi Ed,
I checked with Dave. Since he knows more about the issue than I, I've asked if he can continue helping you via email and why the fix didn't work for you.
- Mat |
|
| Back to top |
|
 |
|