On Mon, Mar 12, 2012 at 3:01 AM, Birendra jha <span dir="ltr">&lt;<a href="mailto:bjha7333@yahoo.com">bjha7333@yahoo.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Dear developers,<br><br>How can I activate the Petsc and Pylith debugging symbols during the 1.6.3 install? I am following the instructions in INSTALL. Can I just change the configure command:<br>
<br>$HOME/src/pylith/pylith-installer-1.6.3-0/configure --with-petsc_options=&quot;--with-debugging=1&quot; --with-make-threads=2 --prefix=$HOME/pylith CXXFLAGS=&quot;-g -fPIC&quot;<br></td></tr></tbody></table></blockquote>
<div><br></div><div>That will put them in PETSc, but not PyLith. I think you also need to define CFLAGS and CXXFLAGS outside the installer run.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Then:<br><br>make<br><br>Thanks and regards<br>Birendra<br><br>--- On <b>Sun, 3/11/12, Matthew Knepley <i>&lt;<a href="mailto:knepley@mcs.anl.gov" target="_blank">knepley@mcs.anl.gov</a>&gt;</i></b> wrote:<br>
<blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;padding-left:5px"><br>From: Matthew Knepley &lt;<a href="mailto:knepley@mcs.anl.gov" target="_blank">knepley@mcs.anl.gov</a>&gt;<br>Subject: Re: [CIG-SHORT] Pylith installer Petsc make error<br>
To: &quot;Birendra jha&quot; &lt;<a href="mailto:bjha7333@yahoo.com" target="_blank">bjha7333@yahoo.com</a>&gt;<br>Cc: <a href="mailto:cig-short@geodynamics.org" target="_blank">cig-short@geodynamics.org</a>, &quot;Brad Aagaard&quot; &lt;<a href="mailto:baagaard@usgs.gov" target="_blank">baagaard@usgs.gov</a>&gt;<br>
Date: Sunday,
 March 11, 2012, 11:27 PM<br><br><div>On Sun, Mar 11, 2012 at 12:06 PM, Birendra jha <span dir="ltr">&lt;<a rel="nofollow" href="http://mc/compose?to=bjha7333@yahoo.com" target="_blank">bjha7333@yahoo.com</a>&gt;</span> wrote:<br>
<div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
I downloaded pylith-installer-1.6.3-0 and I am trying to install it following the directions in INSTALL. I ran make as per Step 4. I am getting following error:<br></blockquote><div><br></div><div>You do not have the libz compression library installed. PyLith requires it, so we get</div>

<div><br></div><div><div>Executing: cc  -o /tmp/petsc-sm0ep7/config.setCompilers/conftest -L/home/bjha/pylith/lib   /tmp/petsc-sm0ep7/config.setCompilers/conftest.o -lz</div><div>sh: </div><div>Possible ERROR while running linker: /usr/bin/ld: cannot find -lz</div>

<div>collect2: ld returned 1 exit status</div><div> output: ret = 256</div></div><div><br></div><div>Really it should check and give a better error message. We will fix that.</div><div><br></div><div>   Matt</div><div> </div>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
*******************************************************************************<br>
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>
-------------------------------------------------------------------------------<br>
Could not locate a functional C compiler<br>
*******************************************************************************<br>
<br>
make[3]: Entering directory `/home/bjha/build/pylith/petsc-dev&#39;<br>
makefile:14: pylith_petsc_opt/conf/petscvariables: No such file or directory<br>
/home/bjha/build/pylith/petsc-dev/conf/variables:95: /home/bjha/build/pylith/petsc-dev/pylith_petsc_opt/conf/petscvariables: No such file or directory<br>
/home/bjha/build/pylith/petsc-dev/conf/rules:1061: /home/bjha/build/pylith/petsc-dev/pylith_petsc_opt/conf/petscrules: No such file or directory<br>
make[3]: *** No rule to make target `/home/bjha/build/pylith/petsc-dev/pylith_petsc_opt/conf/petscrules&#39;.  Stop.<br>
make[3]: Leaving directory `/home/bjha/build/pylith/petsc-dev&#39;<br>
make[2]: *** [petsc] Error 2<br>
make[2]: Leaving directory `/home/bjha/build/pylith&#39;<br>
make[1]: *** [installed_petsc] Error 2<br>
make[1]: Leaving directory `/home/bjha/build/pylith&#39;<br>
make: *** [installed_pylith] Error 2<br>
<br>
I have attached $HOME/build/pyliyh/petsc-dev/configure.log. Also attached is the $HOME/build/pyliyh/config.log file.<br>
<br>
Please help.<br>
<br>
thanks and regards<br>
<span><font color="#888888">Birendra</font></span><br>_______________________________________________<br>
CIG-SHORT mailing list<br>
<a rel="nofollow" href="http://mc/compose?to=CIG-SHORT@geodynamics.org" target="_blank">CIG-SHORT@geodynamics.org</a><br>
<a rel="nofollow" href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short</a><br>
<br></blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>

-- Norbert Wiener<br>
</font></span></div></blockquote></td></tr></tbody></table></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>