[petsc-users] specifying -framework Accelerate for blas/lapack on Mac

Geoffrey Irving irving at naml.us
Mon Jul 30 16:54:20 CDT 2012


Hello,

What's the right way to tell PETSc configure to use "-framework
Accelerate" to get blas/lapack on Mac?  I tried

    ./configure --prefix=/usr/local --with-shared-libraries=1
--PETSC_DIR=/Users/irving/otherlab/download/petsc-3.3-p2
--download-ml=yes --with-mpi-dir=/usr/local
--with-blas-lapack-lib="-framework Accelerate"

which failed with

===============================================================================
             Configuring PETSc to compile on your system
===============================================================================
TESTING: checkLib from
config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:112)



*******************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
for details):
-------------------------------------------------------------------------------
You set a value for --with-blas-lapack-lib=<lib>, but ['-framework',
'Accelerate'] cannot be used
*******************************************************************************

--with-blas-lapack-lib=Accelerate fails similarly.

Thanks,
Geoffrey


More information about the petsc-users mailing list