about PETSC installation

Yixun Liu yxliu at fudan.edu.cn
Sat Oct 21 21:43:57 CDT 2006


Thanks.
If I turn off Fortran, does PETSC work well? I think PETSC depends on Fortran because it use LAPACK.

Regards,

Yixun
  ----- Original Message ----- 
  From: Matthew Knepley 
  To: petsc-users at mcs.anl.gov 
  Sent: Sunday, October 22, 2006 9:54 AM
  Subject: Re: about PETSC installation


  On 10/21/06, Yixun Liu <yxliu at fudan.edu.cn> wrote:
    Hi,
    Thanks for your help.

    Firstly I want to know if the error is caused by no Fortran on my computer?

  Yes, you can turn of Fortran using --with-fc=0.

     Matt 



    BTW, could you tell me more about the configure option, which you suggest?

    Best regards,

    Yixun

    ----- Original Message -----
    From: "Satish Balay" <balay at mcs.anl.gov >
    To: "PETSC" <petsc-users at mcs.anl.gov>
    Sent: Saturday, October 21, 2006 10:17 PM
    Subject: Re: about PETSC installation


    > On Sat, 21 Oct 2006, Yixun Liu wrote: 
    >
    >> Hi,
    >> I install PETSC on WindowsXP, MS VC++6.0, Cygwin, Dell standard dual processors PC,
    >> I do as the PETSc installation page says,
    >>
    >> $ ./config/configure.py --with-mpi-dir=d:/MPICH2 
    >> However, the error is "the Fortran error! mpi_init() could not be located!"
    >>
    >> Then I try this,
    >> $ ./config/configure.py --with-mpi-dir=d:/MPICH2 --with-cc=c++
    >> The error is "Unknown Fortran name mangling" 
    >
    >
    > You probabably want to do:
    >
    > ./config/configure.py --with-mpi-dir=/cygdrive/d/MPICH2 --with-cc='win32fe cl' --with-fc=0 --with-cxx='win32fe cl' --with-clanguage=cxx --download-c-blas-lapack=1 
    >
    > Check installation instructions for additional info. If you encounter
    > further problems - send us the corresponding configure.log to the
    > address petsc-maint at mcs.anl.gov [not to the users list]
    >
    > Satish
    >
    >>
    >> Hope your help!
    >>
    >> Best regards,
    >>
    >> Yixun Liu
    >>
    >





  -- 
  "Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20061022/bebd2e15/attachment.htm>


More information about the petsc-users mailing list