[petsc-users] Search order for BLAS
Satish Balay
balay at mcs.anl.gov
Sat Feb 26 19:02:59 CST 2011
I've changed the search order - so it should look for atlas last [as
it can usually be found in /usr/lib]. For non-system default packages
the search order shouldn't matter.
This change should be available in the next patch update to petsc-3.1
http://petsc.cs.iit.edu/petsc/releases/BuildSystem-3.1/rev/838c7bfa03e0
Satish
On Sat, 26 Feb 2011, F R Foust wrote:
> I was trying to build petsc using MKL blas/lapack and had a small issue. I tried to point configure at the mkl directory with --with-blas-lapack-dir, but it found an installation of ATLAS already in /usr/local/lib and used that instead. I poked around and found a fixed search order in BuildSystem/config/packages/BlasLapack.py (it tries ATLAS, AMD ACML, then MKL).
>
> Is there any way to force a specific flavor of BLAS in a flag passed to configure (I mean, so I don't have to modify BlasLapack.py, which is what I did). Or alternatively, is there a way to force the issue by using --with-blas-lapack-lib, --with-blas-lib? I wasn't able to figure out the correct incantation to include all of the stuff MKL needs to link against.
>
> Thanks much!
>
>
>
>
More information about the petsc-users
mailing list