On 21.04.2011, at 20:28, Derek Gaston wrote: > On Apr 21, 2011, at 10:32 AM, John Peterson wrote: > >> So, looks like you didn't download BLAS/Lapack through PETSc, and >> therefore it must be finding and using some other BLAS on your system, >> possibly C BLAS since you specified --with-fc=0? >> >> Can you look at the link line being used with libmesh (output of make >> echo) or somehow determine which BLAS/Lapack PETSc is actually linked >> against on your system? > > This is definitely the issue. OSX ships with a version of BLAS/Lapack... > it's called Veclib and it's one of the "Frameworks" on OSX. It can be used > by Petsc (and libMesh)... but last time I tried I seem to remember that I had > to specify extra libraries to be linked into Petsc so that they would get > picked up by libMesh. > > I recommend using the--download-c-blas-lapack=1 option when configuring > Petsc. This way you get a much more standard version of BLAS/Lapack and > everything should work. > > Derek
Thank you so much, this has been the issue. I configured PETSc with ./config/configure.py --with-fc=0 --with-mpi=1 --with-x11 --with-umfpack=1 --download-umfpack=yes and then libMesh with ./configure --enable-everything --with-glpk-include=/opt/local/include --with-glpk-lib=/opt/local/lib So I didn't download BLAS/Lapack through PETSc but used the version OS X ships with. As I said, the error appeared only after our system admin made some changes. I now noticed that they installed a second BLAS/Lapack version in the PATH I set above for GLPK, and this seemed to have caused the problem. Installing libMesh without GLPK works without any problems. But since I do need GLPK, I then first tried --with-blas-lapack-lib="-framework vecLib" when compiling PETSc, together with the above configure options for libMesh. Works great indeed. Thanks again! -Anna ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users