<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Hi Barry,<BR>
<BR>
I think I did (see below in bold red):<BR>
<BR>
Configure options: --known-level1-dcache-size=16384 --known-level1-dcache-linesize=64 --known-level1-dcache-assoc=4 --known-memcmp-ok=1 --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-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 --with-batch="1 " --known-mpi-shared="0 " --known-mpi-shared-libraries=0 --known-memcmp-ok  --with-blas-lapack-lib="-L/opt/acml/5.3.1/gfortran64/lib  -lacml" --COPTFLAGS="-march=bdver1 -fopenmp -O3 -ffast-math -fPIC " --FOPTFLAGS="-march=bdver1 -fopenmp -O3 -ffast-math -fPIC " --CXXOPTFLAGS="-march=bdver1 -fopenmp -O3 -ffast-math -fPIC " --with-x="0 "<B> </B><B><FONT COLOR="#ff0000">--with-debugging=0 </FONT></B>--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<BR>
<BR>
<BR>
<BR>
On Wed, 2015-06-03 at 13:50 -0500, Barry Smith wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
   Though you turned on various compiler optimizations you did not turn off the "extra" PETSc error checking that is enabled by default.  For optimized runs you should also use the argument --with-debugging=0 

  Barry


<FONT COLOR="#737373">> On Jun 3, 2015, at 1:30 PM, Michele Rosso <<A HREF="mailto:mrosso@uci.edu">mrosso@uci.edu</A>> wrote:</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Hi,</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> I am performing some timing runs with PETSc. I think I correctly compiled it with no debug mode, yet -log_summary gives me a warning:</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">>       ##########################################################</FONT>
<FONT COLOR="#737373">>       #                                                        #</FONT>
<FONT COLOR="#737373">>       #                          WARNING!!!                    #</FONT>
<FONT COLOR="#737373">>       #                                                        #</FONT>
<FONT COLOR="#737373">>       #   This code was compiled with a debugging option,      #</FONT>
<FONT COLOR="#737373">>       #   To get timing results run ./configure                #</FONT>
<FONT COLOR="#737373">>       #   using --with-debugging=no, the performance will      #</FONT>
<FONT COLOR="#737373">>       #   be generally two or three times faster.              #</FONT>
<FONT COLOR="#737373">>       #                                                        #</FONT>
<FONT COLOR="#737373">>       ##########################################################</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Here are my configure options ( from -log_summary ):</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Compiled without FORTRAN kernels</FONT>
<FONT COLOR="#737373">> Compiled with full precision matrices (default)</FONT>
<FONT COLOR="#737373">> sizeof(short) 2 sizeof(int) 4 sizeof(long) 8 sizeof(void*) 8 sizeof(PetscScalar) 8 sizeof(PetscInt) 4</FONT>
<FONT COLOR="#737373">> Configure options: --known-level1-dcache-size=16384 --known-level1-dcache-linesize=64 --known-level1-dcache-assoc=4 --known-memcmp-ok=1 --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-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 --with-batch="1 " --known-mpi-shared="0 " --known-mpi-shared-libraries=0 --known-memcmp-ok  --with-blas-lapack-lib="-L/opt/acml/5.3.1/gfortran64/lib  -lacml" --COPTFLAGS="-march=bdver1 -fopenmp -O3 -ffast-math -fPIC " --FOPTFLAGS="-march=bdver1 -fopenmp -O3 -ffast-math -fPIC " --CXXOPTFLAGS="-march=bdver1 -fopenmp -O3 -ffast-math -fPIC " --with-x="0 " --with-debugging=0 --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</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Libraries compiled on Wed Jun  3 12:14:19 2015 on h2ologin2</FONT>
<FONT COLOR="#737373">> Machine characteristics: Linux-3.0.101-0.46-default-x86_64-with-SuSE-11-x86_64</FONT>
<FONT COLOR="#737373">> Using PETSc directory: /mnt/a/u/sciteam/mrosso/LIBS/petsc-3.5.4</FONT>
<FONT COLOR="#737373">> Using PETSc arch: gnu-opt-32idx</FONT>
<FONT COLOR="#737373">> -----------------------------------------</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Using C compiler: cc  -march=bdver1 -fopenmp -O3 -ffast-math -fPIC  ${COPTFLAGS} ${CFLAGS}</FONT>
<FONT COLOR="#737373">> Using Fortran compiler: ftn  -march=bdver1 -fopenmp -O3 -ffast-math -fPIC   ${FOPTFLAGS} ${FFLAGS}</FONT>
<FONT COLOR="#737373">> -----------------------------------------</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Using include paths: -I/mnt/a/u/sciteam/mrosso/LIBS/petsc-3.5.4/gnu-opt-32idx/include -I/mnt/a/u/sciteam/mrosso/LIBS/petsc-3.5.4/include -I/mnt/a/u/sciteam/mrosso/LIBS/petsc-3.5.4/include -I/mnt/a/u/sciteam/mrosso/LIBS/petsc-3.5.4/gnu-opt-32idx/include</FONT>
<FONT COLOR="#737373">> -----------------------------------------</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Using C linker: cc</FONT>
<FONT COLOR="#737373">> Using Fortran linker: ftn</FONT>
<FONT COLOR="#737373">> Using libraries: -Wl,-rpath,/mnt/a/u/sciteam/mrosso/LIBS/petsc-3.5.4/gnu-opt-32idx/lib -L/mnt/a/u/sciteam/mrosso/LIBS/petsc-3.5.4/gnu-opt-32idx/lib -lpetsc -Wl,-rpath,/mnt/a/u/sciteam/mrosso/LIBS/petsc-3.5.4/gnu-opt-32idx/lib -L/mnt/a/u/sciteam/mrosso/LIBS/petsc-3.5.4/gnu-opt-32idx/lib -lsuperlu_dist_3.3 -lHYPRE -L/opt/acml/5.3.1/gfortran64/lib -lacml -lparmetis -lmetis -lpthread -lssl -lcrypto -ldl</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> What am I doing wrong?</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Thanks,</FONT>
<FONT COLOR="#737373">> Michele</FONT>
<FONT COLOR="#737373">> </FONT>

</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>