Thanks for the help. Now I finished the installation successfully. :)<br><br>K. Lee.<br><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 11:49 AM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On Sep 6, 2011, at 10:41 PM, Kyunghoon Lee wrote:<br>
<br>
> Hi Barry,<br>
><br>
> Thanks for the reply. I did install g95 through macports. (I could not find gfortran.) I wonder g95 can do the job for me.<br>
><br>
</div> 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.<br>
<div class="im"><br>
<br>
<br>
> Re SuperLU_Dist, all I know is I need mumps to deal with complex numbers.<br>
<br>
</div> SuperLU_Dist can also be used with complex numbers (at least with PETSc-dev/petsc-3.2)<br>
<div><div></div><div class="h5"><br>
><br>
> K. Lee.<br>
><br>
> On Wed, Sep 7, 2011 at 11:21 AM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
><br>
> > p.s.<br>
> > I do not need to compile petsc for FORTRAN.<br>
><br>
> Sadly you do because the packages MUMPS uses are all Fortran.<br>
><br>
> 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.<br>
><br>
> Note you can use SuperLU_Dist instead of MUMPS without a Fortran compiler.<br>
><br>
> Barry<br>
><br>
> On Sep 6, 2011, at 10:17 PM, Kyunghoon Lee wrote:<br>
><br>
> > Hello all,<br>
> ><br>
> > I need to compile petsc with mumps. First I tried<br>
> ><br>
> > ./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<br>
> ><br>
> > but I got the following message:<br>
> ><br>
> > Fortran error! mpif.h could not be located at: []<br>
> ><br>
> > So I included "-download-mpich=1," then I got the following:<br>
> ><br>
> > Should request f-blas-lapack, not --download-c-blas-lapack=yes since you have a fortran compiler?<br>
> ><br>
> > 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.<br>
> ><br>
> > Regards,<br>
> > K. Lee.<br>
> ><br>
> > p.s.<br>
> > I do not need to compile petsc for FORTRAN.<br>
> ><br>
><br>
><br>
<br>
</div></div></blockquote></div><br>