PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Problems compiling OpenMPI 1.6.4 with PGI 13.4
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Ed Blosch



Joined: 18 Oct 2010
Posts: 3

PostPosted: Wed May 29, 2013 2:44 pm    Post subject: Problems compiling OpenMPI 1.6.4 with PGI 13.4 Reply with quote

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
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6211
Location: The Portland Group Inc.

PostPosted: Wed May 29, 2013 4:47 pm    Post subject: Reply with quote

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
View user's profile
Ed Blosch



Joined: 18 Oct 2010
Posts: 3

PostPosted: Sun Jun 02, 2013 3:04 pm    Post subject: Reply with quote

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
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6211
Location: The Portland Group Inc.

PostPosted: Mon Jun 03, 2013 10:59 am    Post subject: Reply with quote

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
View user's profile
sru69



Joined: 25 Mar 2011
Posts: 4

PostPosted: Fri Dec 13, 2013 3:30 am    Post subject: Reply with quote

Hi,

I see the same problem with pgi 13.9 and openmpi 1.6.3 on openSUSE 12.3.
Is there a fix?

Thanks,
Urs
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group