[ET Trac] [Einstein Toolkit] #670: commit 166d77a440a5 and b5f8b4ff16fb does not compile with gfortran

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Nov 16 11:01:08 CST 2011


#670: commit 166d77a440a5 and b5f8b4ff16fb does not compile with gfortran
---------------------+------------------------------------------------------
  Reporter:  rhaas   |       Owner:  diener  
      Type:  defect  |      Status:  assigned
  Priority:  major   |   Milestone:          
 Component:  Carpet  |     Version:          
Resolution:          |    Keywords:          
---------------------+------------------------------------------------------

Comment (by diener):

 The intent(out) was added to help the compiler detect cases where the
 pointer was already allocated or associated before being passed to the
 routine. The code compiles with gfortran 4.3.2 (from 2008) and gfortran
 4.4.1 (from 2009) so doesn't require a very recent gfortran compiler. If
 we want to make it compatible with gfortran 4.1.2 I expect we can just
 remove the intent(out) from the declaration of the pointer argument.
 Roland can you try if that works for you?

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


More information about the Trac mailing list