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

MacPorts noreply at macports.org
Sat Jan 1 06:30:48 PST 2011


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

Comment(by takeshi@…):

 Great news! Thank you for the update.

 I look at the MacResearch [http://www.macresearch.org/lapackblas-
 fortran-106#comment-17217 webpage]. I was able to run that test
 successfully without -ff2c and with [https://github.com/tenomoto/dotwrp
 dotwrp].
 {{{
 $ gfortran-mp-4.5 -fno-underscoring dotwrp.f90 -c
 $ ar cru libdotwrp.a dotwrp.o
 $ gfortran-mp-4.5 my_conftest.f -L. -ldotwrp -framework Accelerate
 $ ./a.out   1.0000000       2.0000000       2.0000000       2.0000000
  (  1.0000000    ,  1.0000000    ) (  1.0000000    ,  2.0000000    ) (
 -1.0000000    ,  3.0000000    ) ( -1.0000000    ,  3.0000000    )
 }}}
 I added gcc44 and gcc45 variants to dotwrp (r74749). The same approach as
 g95 might work as well for gcc44 and gcc45.

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


More information about the macports-tickets mailing list