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>Re SuperLU_Dist, all I know is I need mumps to deal with complex numbers. <br>
<br>K. Lee.<br><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 11:21 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>
> p.s.<br>
> I do not need to compile petsc for FORTRAN.<br>
<br>
</div> 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>
<font color="#888888"><br>
Barry<br>
</font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br>