[ET Trac] [Einstein Toolkit] #1246: link time errors about builtin_isinf on bethe

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Feb 6 22:43:33 CST 2013


#1246: link time errors about builtin_isinf on bethe
---------------------+------------------------------------------------------
  Reporter:  rhaas   |       Owner:     
      Type:  defect  |      Status:  new
  Priority:  major   |   Milestone:     
 Component:  Cactus  |     Version:     
Resolution:          |    Keywords:     
---------------------+------------------------------------------------------

Comment (by eschnett):

 To my knowledge, the "correct" way to correct this is to install the Intel
 compiler on a system that has the necessary prerequisites, i.e. a
 particular version of GCC, or a particular version of Red Hat, etc.

 I use work-arounds such as
 {{{
 -D__builtin_isinf=::isinf
 }}}
 This seems harmless since the compiler will see this definition, hence
 will still be able to generate optimised code. Also, autoconf will see
 this and thus let Cactus provide a working implementation.

 The implementation in Cactus puts its known-to-be-good functions into a
 separate namespace (either with a cctk_ prefix or into a namespace cctk)
 so that there should be no conflicts.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1246#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list