--with-debugging=0 is the configure option to disable debug mode.

I use this configure line, which provides good optimization:

./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran
--download-fblaslapack --download-mpich --with-debugging=0
COPTFLAGS='-Ofast -march=native -mtune=native' CXXOPTFLAGS='-Ofast
-march=native -mtune=native' FOPTFLAGS='-Ofast -march=native -mtune=native'




On Tue, Mar 31, 2015 at 3:55 PM, Zou (Non-US), Ling <[email protected]>
wrote:

> Hi All,
>
> Following the instructions, I installed PETSc 3.5.2 on my Mac and
> everything works great.
> Two questions:
> 1, I suppose the name, PETSC_ARCH=arch-darwin-c-debug, suggests the
> installation is a debug version?
> 2, How can I install a faster (optimized?) version of PETSc ?
>
> Best,
>
> Ling
>

Reply via email to