BLACS will be installed by default if not provided and ATLAS does not contain a full LAPACK implementation, so I recommend to use the LAPACK from netlib.

Julie

Thank you very much for your quick reply.

I have used both Lapack and Blas from netlib previously, but when I run with './setup.py --prefix=/opt/scalapack --mpibindir=/opt/mpich/bin --blaslib=/usr/lib/libblas.a --lapacklib=/usr/lib/liblapack.a ', I met another mutiple definition problem of 'xerbla_'. I just saw there is a quick way to solve by using /usr/lib/atlas/libblas.a and /usr/lib/atlas/liblapack.a instead. But I don't why it works...