[petsc-users] Configuring without debug
Bojan Niceno
bojan.niceno at psi.ch
Tue Feb 28 02:27:42 CST 2012
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/4a01e5a5/attachment-0001.htm>
-------------- 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/4a01e5a5/attachment-0001.png>
More information about the petsc-users
mailing list