<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sorry for this post, I figured out myself what was I doing wrong.<br>
<br>
I was configuring for compilation without debugging, but my
PETSC_ARCH variable was still set to arch-linux2-c-debug :-(<br>
<br>
I have the optimized version running as I write this message.<br>
<br>
<br>
Cheers,<br>
<br>
<br>
Bojan<br>
<br>
<br>
On 2/28/2012 9:27 AM, Bojan Niceno wrote:
<blockquote cite="mid:4F4C8FFE.5020401@psi.ch" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Dear all,<br>
<br>
<br>
I am trying to configure PETSc with<b>out</b> debugging.<br>
<br>
I am issuing the following command:<br>
<br>
./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'.<br>
<br>
The configuration procedure starts well, saying:<br>
<tt>===============================================================================
WARNING! Compiling PETSc with no debugging, this should<br>
only be done for timing and production runs. All development
should<br>
be done when configured using
--with-debugging=1
===============================================================================
<br>
</tt><br>
which is is fine, which is what I wanted, but it ends with the
message:<br>
<br>
<tt>xxx=========================================================================xxx<br>
Configure stage complete. Now build PETSc libraries with
(legacy build):<br>
make PETSC_DIR=/homecfd/niceno/PETSc-3.2-p6-O
PETSC_ARCH=arch-linux2-c-debug all</tt><br>
<br>
Judging from the proposed PETSC_ARCH, it seems that debugging got
switched back on :-(<br>
<br>
Then I type make, and, after a while, get the message:<br>
<br>
<tt>Completed building libraries<br>
=========================================<br>
Now to check if the libraries are working do:<br>
make PETSC_DIR=/homecfd/niceno/PETSc-3.2-p6-O
PETSC_ARCH=arch-linux2-c-debug test<br>
=========================================<br>
</tt><br>
Is there a way to build PETSc with<b>out</b> debugging option?<br>
<br>
<br>
<br>
Kind regards,<br>
<br>
<br>
Bojan<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.01080201.06060601@psi.ch" border="0"></div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part2.00010808.02070000@psi.ch" border="0"></div>
</body>
</html>