[petsc-users] PETSc without debugging
Matthew Knepley
knepley at gmail.com
Mon Mar 14 20:26:26 CDT 2016
On Mon, Mar 14, 2016 at 8:10 PM, Michele Rosso <mrosso at uci.edu> wrote:
> Hi,
>
> I compiled the development branch of PETSc with "--with-debugging=0", but
> log_view warns me that I am running in debugging mode:
>
> ##########################################################
> # #
> # WARNING!!! #
> # #
> # This code was compiled with a debugging option, #
> # To get timing results run ./configure #
> # using --with-debugging=no, the performance will #
> # be generally two or three times faster. #
> # #
> ##########################################################
>
> I attached the full output of log_view: it seems that I configured PETSc
> correctly.
> Can I safely ignore this or I am missing something?
>
>From the log you sent:
Configure options: --known-level1-dcache-size=16384
--known-level1-dcache-linesize=64 --known-level1-dcache-assoc=4
--known-sizeof-char=1 --known-sizeof-void-p=8 --known-sizeof-short=2
--known-sizeof-int=4 --known-sizeof-long=8 --known-sizeof-long-long=8
--known-sizeof-float=4 --known-sizeof-double=8 --known-sizeof-size_t=8
--known-bits-per-byte=8 --known-memcmp-ok=1 --known-sizeof-MPI_Comm=4
--known-sizeof-MPI_Fint=4 --known-mpi-long-double=1
--known-mpi-int64_t=1 --known-mpi-c-double-complex=1
--known-sdot-returns-double=0 --known-snrm2-returns-double=0
--known-has-attribute-aligned=1
--prefix=/u/sciteam/mrosso/libs/petsc/gnu/4.9/opt --with-batch="1 "
--known-mpi-shared="0 " --known-mpi-shared-libraries=0
--known-memcmp-ok
--with-blas-lapack-lib=/opt/acml/5.3.1/gfortran64/lib/libacml.a
--COPTFLAGS="-march=bdver1 -O3 -ffast-math -fPIC"
--FOPTFLAGS="-march=bdver1 -O3 -ffast-math -fPIC"
--CXXOPTFLAGS="-march=bdver1 -O3 -ffast-math -fPIC" --with-x="0 "
--with-debugging=O --with-clib-autodetect="0 "
--with-cxxlib-autodetect="0 " --with-fortranlib-autodetect="0 "
--with-shared-libraries="0 " --with-mpi-compilers="1 " --with-cc="cc "
--with-cxx="CC " --with-fc="ftn " --download-hypre=1
--download-blacs="1 " --download-scalapack="1 "
--download-superlu_dist="1 " --download-metis="1 "
--download-parmetis="1 " PETSC_ARCH=gnu-opt-32idx
It looks like you have set
--with-debugging=O
not
--with-debugging=0
Thanks,
Matt
> Thanks,
> Michele
>
--
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/20160314/bdca61e4/attachment-0001.html>
More information about the petsc-users
mailing list