Help! Installing PETSc?

Matthew Knepley knepley at gmail.com
Wed Mar 14 15:03:39 CDT 2007


1) Please send these to petsc-maint at mcs.anl.gov

2) We need to see your configure.log in order to understand any problem

  Thanks,

    Matt

On 3/14/07, Bin <xubinbin2004 at gmail.com> wrote:
>
>
>
>
> >
> > Thanks, it works. But when I try to configure PETSc with --with-shared
> options,
> >
> > >
> > > config/configure.py \
> > >   --with-cc=mpicc \
> > >   --with-fc=mpif90 \
> > >   --with-mpi-dir=/opt/hpmpi/lib/linux_amd64/ \
> > >   --with-mpi-shared=yes \
> > >   LIBS=-lpgf90rtl \
> > >   --with-debugging=yes \
> > >   --download-superlu=no \
> > >   --download-superlu_dist=no \
> > >   --with-shared
> >  I got the following errors:
> >
> >
> > >
> *********************************************************************************
>
>
> > >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
> for details):
> > >
> ---------------------------------------------------------------------------------------
> > > C compiler you provided with -with-cc=mpicc does not work
> > >
> *********************************************************************************
> >
> > Do you know why?
> > Thank you.
> >
> > On 3/14/07, Shaman Mahmoudi < shma7099 at student.uu.se> wrote:
> >
> > >
> > > Hi,
> > >
> > >
> > > try mpirun -np 1 ./conftest
> > >
> > >
> > > With best regards, Shaman Mahmoudi
> > >
> > >
> > >
> > > On Mar 14, 2007, at 6:56 AM, Bin wrote:
> > >
> > > mpirun -np 1 conftest
> > >
> >
> >
> >
> > --
> > Yours truly,
> >
> > Bin Xu
> >
>
>
>
> --
> Yours truly,
>
> Bin Xu


-- 
One trouble is that despite this system, anyone who reads journals widely
and critically is forced to realize that there are scarcely any bars to eventual
publication. There seems to be no study too fragmented, no hypothesis too
trivial, no literature citation too biased or too egotistical, no design too
warped, no methodology too bungled, no presentation of results too
inaccurate, too obscure, and too contradictory, no analysis too self-serving,
no argument too circular, no conclusions too trifling or too unjustified, and
no grammar and syntax too offensive for a paper to end up in print. --
Drummond Rennie




More information about the petsc-users mailing list