[Users] Compiling ET Using PGI

Haas, Roland rhaas at illinois.edu
Thu Nov 29 14:10:06 CST 2018


Hello Chris,

> Roland pointed out that I may be using an incorrect flag to include the
> c++11 standards so I'll review that as well. I also attached my config file
> in case that helps.
You should be able to make it work by adding the option I provided to
CXXFLAGS:

CXXFLAGS = -std=c++11

though you will probably have to add something like:

CFLAGS = -D_GNU_SOURCE
CXXFLAGS = -D_GNU_SOURCE -std=c++11

b/c some of the features that Cactus needs go beyond the strict
standard and are part of POSIX (2008 I think), and _GNU_SOURCE just
gives you all of it (for glibc / libstdc++).

I believe the configure script will tell you exactly what is needed if
you run without -D_GNU_SOURCE once.

Yours,
Roland

-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20181129/38d1703e/attachment.bin 


More information about the Users mailing list