Help! Installing PETSc?

Bin xubinbin2004 at gmail.com
Wed Mar 14 13:30:50 CDT 2007


 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.logfor 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070314/f3e077d3/attachment.htm>


More information about the petsc-users mailing list