[MacPorts] #21797: octave-3.2.2 needs FFLAGs='-ff2c' to use system BLAS (-framework Accelerate) with gcc43/gcc44

MacPorts noreply at macports.org
Wed Dec 30 20:02:46 PST 2009


#21797: octave-3.2.2 needs FFLAGs='-ff2c' to use system BLAS (-framework
Accelerate) with gcc43/gcc44
------------------------------------+---------------------------------------
  Reporter:  todmorrison@…          |       Owner:  alakazam@…           
      Type:  defect                 |      Status:  reopened             
  Priority:  Normal                 |   Milestone:                       
 Component:  ports                  |     Version:  1.8.1                
Resolution:                         |    Keywords:  BLAS Accelerate      
      Port:  octave                 |  
------------------------------------+---------------------------------------
Changes (by takeshi@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Sorry to write to a closed ticket. I prefer Accelerate.framework because
 of 1) performance and 2) lack of +g95 in atlas.
 However, gfortran fails with sdot with -ff2c and with cdotu and zdotu
 without -ff2c. With trial and error I found that octave is configured to
 use Accelerate.framework with -fdefault-real-8 and explicit specification
 of type (real*4 for sdot and complex*8 for cdotu). I would think this
 problem pertains to x86_64 and ppc64 only but I have not tested. G95 does
 not have this problem. I will attach a patch.

-- 
Ticket URL: <http://trac.macports.org/ticket/21797#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list