[petsc-users] Configuring without debug
Bojan Niceno
bojan.niceno at psi.ch
Tue Feb 28 02:56:08 CST 2012
Sorry for this post, I figured out myself what was I doing wrong.
I was configuring for compilation without debugging, but my PETSC_ARCH
variable was still set to arch-linux2-c-debug :-(
I have the optimized version running as I write this message.
Cheers,
Bojan
On 2/28/2012 9:27 AM, Bojan Niceno wrote:
> Dear all,
>
>
> I am trying to configure PETSc with*out* debugging.
>
> I am issuing the following command:
>
> ./configure --with-mpi-dir=/opt/mpi/openmpi-1.2.6-gcc-4.1
> --with-debugging=0 COPTFLAGS='-O3 -march=p4 -mtune=p4' FOPTFLAGS='-O3
> -qarch=p4 -qtune=p4'.
>
> The configuration procedure starts well, saying:
> ===============================================================================
> WARNING! Compiling PETSc with no debugging, this should
> only be done for timing and production runs. All development should
> be done when configured using
> --with-debugging=1
> ===============================================================================
>
>
> which is is fine, which is what I wanted, but it ends with the message:
>
> xxx=========================================================================xxx
> Configure stage complete. Now build PETSc libraries with (legacy build):
> make PETSC_DIR=/homecfd/niceno/PETSc-3.2-p6-O
> PETSC_ARCH=arch-linux2-c-debug all
>
> Judging from the proposed PETSC_ARCH, it seems that debugging got
> switched back on :-(
>
> Then I type make, and, after a while, get the message:
>
> Completed building libraries
> =========================================
> Now to check if the libraries are working do:
> make PETSC_DIR=/homecfd/niceno/PETSc-3.2-p6-O
> PETSC_ARCH=arch-linux2-c-debug test
> =========================================
>
> Is there a way to build PETSc with*out* debugging option?
>
>
>
> Kind regards,
>
>
> Bojan
>
> --
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120228/40884f0b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 6515 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120228/40884f0b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signature.png
Type: image/png
Size: 6515 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120228/40884f0b/attachment-0001.png>
More information about the petsc-users
mailing list