It works with PGI 12.x and it better work with newer versions since offsetof is ISOC89/ANSIC.
-Nathan On Wed, May 29, 2013 at 09:31:58PM +0000, Jeff Squyres (jsquyres) wrote: > Edwin -- > > Can you ask PGI support about this? I swear that the PGI compiler suite has > supported offsetof before. > > > On May 29, 2013, at 5:26 PM, "Blosch, Edwin L" <edwin.l.blo...@lmco.com> > wrote: > > > I?m having trouble building OpenMPI 1.6.4 with PGI 13.4. Suggestions? > > > > checking alignment of double... 8 > > checking alignment of long double... 8 > > checking alignment of float _Complex... 4 > > checking alignment of double _Complex... 8 > > checking alignment of long double _Complex... 8 > > checking alignment of void *... 8 > > checking for C bool type... no > > 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 ']' > > > > > > _______________________________________________ > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > > > -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users