I configured petsc-2.3.3-p10 on OSX 10.5 using an openmpi built with gcc 4.0.1 gcc compiler. It works. The petsc config flags were: --with-matlab=0 --with-shared=0 --with-dynamic=0 --with-fortran=0 I believe that --with-dynamic=0 is important on OSX.
Also if you happen to have intel MKL: --with-blas-lapack-dir=/Library/Frameworks/Intel_MKL.framework/ Libraries/32 I hope that helps. Sean On May 15, 2009, at 1:41 AM, Tahar Amari wrote: > Hello , > > I am a new petsc user. I am trying to built petsc on mac os 10 (10.4 > and 10.5), but > always have errors. > Has anyone already built petsc for MAC OS X (any version of petsc or > mac os x) . > If yes I would be grateful to get the configure options and the > minimum requirements. > If it is not possible to built it I would also appreciate to know it. > > Thank you very much > > Tahar > > > -------------------------------------------- > T. Amari > Centre de Physique Theorique > Ecole Polytechnique > 91128 Palaiseau Cedex France > tel : 33 1 69 33 42 52 > fax: 33 1 69 33 30 08 > email: <mailto:amari at cpht.polytechnique.fr> > URL : http://www.cpht.polytechnique.fr/cpht/amari > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090515/ba6f5c63/attachment.htm>
