[ET Trac] [Einstein Toolkit] #1877: TimerReport change requires C++11, but Cactus does not
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Apr 26 06:25:44 CDT 2016
#1877: TimerReport change requires C++11, but Cactus does not
---------------------+------------------------------------------------------
Reporter: hinder | Owner:
Type: defect | Status: confirmed
Priority: major | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by eschnett):
The systems I tested (Edison, Queen Bee, Comet, Core, Bethe, and a few
others) all compiled the code fine. I've been using C++11 features in
Carpet for some time, usually enabled by the {{{-std=c++0x}}} flag. This
seemed to work well for both the Intel and GNU compilers.
If this flag works here as well, then I'd be tempted to make this the
default. If not, I'll implement the respective work-arounds. To my
knowledge, this requires (1) creating structs instead of using lambda
expressions in two places, and (2) replacing std::array by a struct
holding an old-style array. Both look straightforward.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1877#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list