[CIG-SHORT] Debugging symbols
Birendra jha
bjha7333 at yahoo.com
Mon Mar 12 01:01:33 PDT 2012
Dear developers,
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:
$HOME/src/pylith/pylith-installer-1.6.3-0/configure --with-petsc_options="--with-debugging=1" --with-make-threads=2 --prefix=$HOME/pylith CXXFLAGS="-g -fPIC"
Then:
make
Thanks and regards
Birendra
--- On Sun, 3/11/12, Matthew Knepley <knepley at mcs.anl.gov> wrote:
From: Matthew Knepley <knepley at mcs.anl.gov>
Subject: Re: [CIG-SHORT] Pylith installer Petsc make error
To: "Birendra jha" <bjha7333 at yahoo.com>
Cc: cig-short at geodynamics.org, "Brad Aagaard" <baagaard at usgs.gov>
Date: Sunday, March 11, 2012, 11:27 PM
On Sun, Mar 11, 2012 at 12:06 PM, Birendra jha <bjha7333 at yahoo.com> wrote:
Hi
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:
You do not have the libz compression library installed. PyLith requires it, so we get
Executing: cc -o /tmp/petsc-sm0ep7/config.setCompilers/conftest -L/home/bjha/pylith/lib /tmp/petsc-sm0ep7/config.setCompilers/conftest.o -lzsh: Possible ERROR while running linker: /usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status output: ret = 256
Really it should check and give a better error message. We will fix that.
Matt
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
Could not locate a functional C compiler
*******************************************************************************
make[3]: Entering directory `/home/bjha/build/pylith/petsc-dev'
makefile:14: pylith_petsc_opt/conf/petscvariables: No such file or directory
/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
/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
make[3]: *** No rule to make target `/home/bjha/build/pylith/petsc-dev/pylith_petsc_opt/conf/petscrules'. Stop.
make[3]: Leaving directory `/home/bjha/build/pylith/petsc-dev'
make[2]: *** [petsc] Error 2
make[2]: Leaving directory `/home/bjha/build/pylith'
make[1]: *** [installed_petsc] Error 2
make[1]: Leaving directory `/home/bjha/build/pylith'
make: *** [installed_pylith] Error 2
I have attached $HOME/build/pyliyh/petsc-dev/configure.log. Also attached is the $HOME/build/pyliyh/config.log file.
Please help.
thanks and regards
Birendra
_______________________________________________
CIG-SHORT mailing list
CIG-SHORT at geodynamics.org
http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-short/attachments/20120312/b1263baf/attachment.htm
More information about the CIG-SHORT
mailing list