[petsc-users] [petsc-maint #127161] Re: Installing Petsc

Matthew Knepley petsc-maint at mcs.anl.gov
Sat Aug 4 12:28:03 CDT 2012


On Sat, Aug 4, 2012 at 12:11 PM, Dharmendar Reddy
<dharmareddy84 at gmail.com>wrote:

> Hello Matthew,
>                       I installed petsc with the following options.
> configOpts= --with-cc=mpicc \
>             --with-fc=mpif90 \
>             --with-debugging=0 \
>             --with-fortran-interfaces=1 \
>             --with-fortran-datatypes=0 \
>             --with-petsc-arch=${PETSC_ARCH} \
>             --with-petsc-dir=${PETSC_DIR} \
>             --with-mpi-dir=/opt/mpich2-current \
>             --with-scalar-type=real \
>             --with-blas-lapack-dir=/opt/intel/lib/intel64 \
>             --download-umfpack=1 \
>             --with-exodusii-dir=/opt/exodusii-4.98 \
>             --with-netcdf-dir=/opt/netcdf_v4.1.1 \
>             --download-superlu_dist=1 \
>             --download-parmetis=1 \
>             --download-mumps=1 \
>             --download-scalapack=1 \
>             --download-blacs=1
>
> I have attached the configure.log and make.log
>
> I get the following error when i compile my code (there are lot of errors
> complaining about TS).
>
> /opt/petsc/petsc-3.2-p5/include/finclude/ftn-auto/petscts.h90(2): error
> #5082: Syntax error
> , found IDENTIFIER 'TS' when expecting one of: ( % [ : . = =>
>        TS ts ! TS
>

Send the FULL compile output to petsc-maint.

  Matt


> thanks
> Reddy
> On Sat, Aug 4, 2012 at 9:08 AM, Matthew Knepley <knepley at gmail.com> wrote:
>
> > On Sat, Aug 4, 2012 at 8:50 AM, Dharmendar Reddy <
> dharmareddy84 at gmail.com>wrote:
> >
> >> Hello Matthew,
> >>                        I Do i need to download the external packages
> >> again? I mean, if i give the download options again and add debuggin=no,
> >> will the packages be downloaded again or will they be used from the
> >> existing downloads in the folder external packages ?
> >>
> >
> > It will use the existing packages.
> >
> >    Matt
> >
> >
> >> On Sat, Aug 4, 2012 at 8:44 AM, Matthew Knepley <knepley at gmail.com
> >wrote:
> >>
> >>> On Sat, Aug 4, 2012 at 8:32 AM, Dharmendar Reddy <
> >>> dharmareddy84 at gmail.com> wrote:
> >>>
> >>>> Hello,
> >>>>         I have a petsc installed in debug mode with following options:
> >>>>
> >>>> Configure Options: --configModules=PETSc.Configure
> >>>> --optionsModule=PETSc.compilerOptions --with-petsc-arch=mpi_rScalar
> >>>> --with-mpi-dir=/opt/mpich2-current --with-scalar-type=real
> >>>> --with-blas-lapack-dir=/opt/intel/lib/intel64 --download-umfpack=1
> >>>> --with-exodusii-dir=/opt/exodusii-4.98
> --with-netcdf-dir=/opt/netcdf_v4.1.1
> >>>> --download-superlu_dist=1 --download-parmetis=1 --download-mumps=1
> >>>> --download-scalapack=1 --download-blacs=1
> >>>>
> >>>> Working directory: /opt/petsc/petsc-3.2-p5
> >>>>
> >>>> Now i need to build an optimized version of petsc what should be the
> >>>> configure options? Do i need to metion the download options again ? My
> >>>> computer has dual intel Xeon E5420, I am compiling with FORTRAN and
> C, what
> >>>> should be the Optimization flags?
> >>>>
> >>>
> >>> --with-debugging=no
> >>>
> >>>    Matt
> >>>
> >>>
> >>>> thanks
> >>>> Reddy
> >>>>
> >>>> --
> >>>> -----------------------------------------------------
> >>>> Dharmendar Reddy Palle
> >>>> Graduate Student
> >>>> Microelectronics Research center,
> >>>> University of Texas at Austin,
> >>>> 10100 Burnet Road, Bldg. 160
> >>>> MER 2.608F, TX 78758-4445
> >>>> e-mail: dharmareddy84 at gmail.com
> >>>> Phone: +1-512-350-9082
> >>>> United States of America.
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> What most experimenters take for granted before they begin their
> >>> experiments is infinitely more interesting than any results to which
> their
> >>> experiments lead.
> >>> -- Norbert Wiener
> >>>
> >>
> >>
> >>
> >> --
> >> -----------------------------------------------------
> >> Dharmendar Reddy Palle
> >> Graduate Student
> >> Microelectronics Research center,
> >> University of Texas at Austin,
> >> 10100 Burnet Road, Bldg. 160
> >> MER 2.608F, TX 78758-4445
> >> e-mail: dharmareddy84 at gmail.com
> >> Phone: +1-512-350-9082
> >> United States of America.
> >>
> >>
> >
> >
> > --
> > What most experimenters take for granted before they begin their
> > experiments is infinitely more interesting than any results to which
> their
> > experiments lead.
> > -- Norbert Wiener
> >
>
>
>
> --
> -----------------------------------------------------
> Dharmendar Reddy Palle
> Graduate Student
> Microelectronics Research center,
> University of Texas at Austin,
> 10100 Burnet Road, Bldg. 160
> MER 2.608F, TX 78758-4445
> e-mail: dharmareddy84 at gmail.com
> Phone: +1-512-350-9082
> United States of America.
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120804/82b6a9ac/attachment.html>


More information about the petsc-users mailing list