[petsc-users] compilation with mumps on Mac OS 10.6.8

Kyunghoon Lee aeronova.mailing at gmail.com
Tue Sep 6 23:04:38 CDT 2011


Thanks for the help.  Now I finished the installation successfully. :)

K. Lee.

On Wed, Sep 7, 2011 at 11:49 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> On Sep 6, 2011, at 10:41 PM, Kyunghoon Lee wrote:
>
> > Hi Barry,
> >
> > Thanks for the reply.  I did install g95 through macports. (I could not
> find gfortran.)  I wonder g95 can do the job for me.
> >
>     g95 might work, give it a try. BTW: on Macs you don't need to provide
> blas/lapack with --download; Apple provides them on the system.
>
>
>
> > Re SuperLU_Dist, all I know is I need mumps to deal with complex numbers.
>
>    SuperLU_Dist can also be used with complex numbers (at least with
> PETSc-dev/petsc-3.2)
>
> >
> > K. Lee.
> >
> > On Wed, Sep 7, 2011 at 11:21 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> >
> > > p.s.
> > > I do not need to compile petsc for FORTRAN.
> >
> >  Sadly you do because the packages MUMPS uses are all Fortran.
> >
> >   So you will need a real Fortran compiler (perhaps gfortran) and you
> will also need --download-blacs and you cannot use --download-c-blas-lapack
> with scalapack.
> >
> >   Note you can use SuperLU_Dist instead of MUMPS without a Fortran
> compiler.
> >
> >   Barry
> >
> > On Sep 6, 2011, at 10:17 PM, Kyunghoon Lee wrote:
> >
> > > Hello all,
> > >
> > > I need to compile petsc with mumps.  First I tried
> > >
> > > ./configure
> --prefix=/Users/aeronova/Development/local/lib64/petsc/petsc-3.1-p8
>  --download-c-blas-lapack=1 —download-parmetis=1 --download-scalapack=1
> --download-mumps=1
> > >
> > > but I got the following message:
> > >
> > > Fortran error! mpif.h could not be located at: []
> > >
> > > So I included "-download-mpich=1," then I got the following:
> > >
> > > Should request f-blas-lapack, not --download-c-blas-lapack=yes since
> you have a fortran compiler?
> > >
> > > After that, I tried several options with/without
> --download-f-blas-lapack or --download-mpich=1, but none of them worked out.
>  I'd appreciate it if someone can help me with this compilation problem with
> mumps.
> > >
> > > Regards,
> > > K. Lee.
> > >
> > > p.s.
> > > I do not need to compile petsc for FORTRAN.
> > >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110907/3161e9ae/attachment.htm>


More information about the petsc-users mailing list