[CIG-SHORT] Re: PyLith BC help
Rick Bennett
rab at geo.arizona.edu
Fri Aug 31 12:40:50 PDT 2007
Brad,
I have run a few of the tutorials in the examples directory with no
problem under Rosetta emulation. However, with the debugger on, I
get the same result. The example below is from one of the 3d/hex8
problems with debugger on.
Rick
pace:~/pylith/pylith-1.0.1-darwin-powerpc/src/pylith/examples/3d/hex8
rab$ pylith --petsc.start_in_debugger=noxterm shearxy.cfg
>> /Users/rab/pylith/pylith-1.0.1-darwin-powerpc/lib/python2.3/site-
packages/pylith/utils/PetscManager.py:47:initialize
-- petsc(info)
-- Initializing PETSc.
[0]PETSC ERROR: PETSC: Attaching gdb to /Users/rab/pylith/
pylith-1.0.1-darwin-powerpc/bin/mpinemesis of pid 1899 on pace.local
GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:50:43
GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-apple-darwin"...
Architecture of file not recognized.
/Users/rab/pylith/pylith-1.0.1-darwin-powerpc/src/pylith/examples/3d/
hex8/1899: No such file or directory.
On Aug 31, 2007, at 11:59 AM, Brad Aagaard wrote:
> Rick & Matt-
>
> The binary is built for powerpc, but intel macs can run powerpc
> executables. I tested it on my powerpc Mac and Charles tested it on
> his powerpc and intel macs. No one at the workshop had this problem
> that I know of so it isn't a general problem.
>
> Rick- You have run test problems without difficulty, correct? Do
> those run with the debugging flag?
>
> Brad
>
>
> Matthew Knepley wrote:
>> The tarball says powerpc, so it should not be built for Intel. Is
>> that
>> right Leif?
>> Matt
>> On 8/31/07, Rick Bennett <rab at geo.arizona.edu> wrote:
>>> Perhaps it is Intel Core 2 Duo specific?
>>>
>>> On Aug 31, 2007, at 11:28 AM, Matthew Knepley wrote:
>>>
>>>> I give up. I have no idea why it will not recognize the PyLith
>>>> executable. I have of course
>>>> tested it on my machine, and Brad and Charles, who have Macs, have
>>>> also run it. Leif,
>>>> do you have any idea?
>>>>
>>>> Matt
>>>>
>>>> On 8/31/07, Rick Bennett <rab at geo.arizona.edu> wrote:
>>>>> I don't have a lot of experience with this debugger. Here is a
>>>>> test
>>>>> with the unix "more" command:
>>>>>
>>>>> pace:~/Documents/Writing/ExtensionModels/pylith_earthquake rab$
>>>>> gdb more
>>>>> GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20
>>>>> 15:50:43
>>>>> GMT 2006)
>>>>> Copyright 2004 Free Software Foundation, Inc.
>>>>> GDB is free software, covered by the GNU General Public
>>>>> License, and
>>>>> you are
>>>>> welcome to change it and/or distribute copies of it under certain
>>>>> conditions.
>>>>> Type "show copying" to see the conditions.
>>>>> There is absolutely no warranty for GDB. Type "show warranty" for
>>>>> details.
>>>>> This GDB was configured as "i386-apple-darwin"...Reading
>>>>> symbols for
>>>>> shared libraries .... done
>>>>>
>>>>> (gdb) start
>>>>> Function "main" not defined.
>>>>> Make breakpoint pending on future shared library load? (y or
>>>>> [n]) n
>>>>> Starting program: /usr/bin/more
>>>>> Reading symbols for shared libraries . done
>>>>> Missing filename ("less --help" for help)
>>>>>
>>>>> Program exited normally.
>>>>> (gdb) quit
>>>>>
>>>>>
>>>>> On Aug 31, 2007, at 11:15 AM, Matthew Knepley wrote:
>>>>>
>>>>>> On 8/31/07, Rick Bennett <rab at geo.arizona.edu> wrote:
>>>>>>> yes, it appears to work:
>>>>>>>
>>>>>>> pace:~/Documents/Writing/ExtensionModels/pylith_earthquake rab
>>>>>>> $ gdb
>>>>>>> GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20
>>>>>>> 15:50:43
>>>>>>> GMT 2006)
>>>>>>> Copyright 2004 Free Software Foundation, Inc.
>>>>>>> GDB is free software, covered by the GNU General Public License,
>>>>>>> and
>>>>>>> you are
>>>>>>> welcome to change it and/or distribute copies of it under
>>>>>>> certain
>>>>>>> conditions.
>>>>>>> Type "show copying" to see the conditions.
>>>>>>> There is absolutely no warranty for GDB. Type "show
>>>>>>> warranty" for
>>>>>>> details.
>>>>>>> This GDB was configured as "i386-apple-darwin".
>>>>>>> (gdb) quit
>>>>>>> pace:~/Documents/Writing/ExtensionModels/pylith_earthquake rab$
>>>>>> You have not actually run with an executable here. The error says
>>>>>> that it cannot
>>>>>> understand the PyLith executable. Can this gdb understand other
>>>>>> excutables on your
>>>>>> system?
>>>>>>
>>>>>> Matt
>>>>>>
>>>>>>> On Aug 31, 2007, at 11:00 AM, Matthew Knepley wrote:
>>>>>>>
>>>>>>>> That is why the window kept closing on you. GDB is broken on
>>>>>>>> this
>>>>>>>> machine.
>>>>>>>> Do you have a working debugger?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Matt
>>>>>>>>
>>>>>>>> On 8/31/07, Rick Bennett <rab at geo.arizona.edu> wrote:
>>>>>>>>> pace:~/Documents/Writing/ExtensionModels/pylith_earthquake
>>>>>>>>> rab$
>>>>>>>>> pylith --petsc.start_in_debugger=noxterm earthquake.cfg
>>>>>>>>>>> /Users/rab/pylith/pylith-1.0.1-darwin-powerpc/lib/python2.3/
>>>>>>>>>>> site-
>>>>>>>>> packages/pylith/utils/PetscManager.py:47:initialize
>>>>>>>>> -- petsc(info)
>>>>>>>>> -- Initializing PETSc.
>>>>>>>>> [0]PETSC ERROR: PETSC: Attaching gdb to /Users/rab/pylith/
>>>>>>>>> pylith-1.0.1-darwin-powerpc/bin/mpinemesis of pid 1692 on
>>>>>>>>> pace.local
>>>>>>>>> GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20
>>>>>>>>> 15:50:43
>>>>>>>>> GMT 2006)
>>>>>>>>> Copyright 2004 Free Software Foundation, Inc.
>>>>>>>>> GDB is free software, covered by the GNU General Public
>>>>>>>>> License,
>>>>>>>>> and
>>>>>>>>> you are
>>>>>>>>> welcome to change it and/or distribute copies of it under
>>>>>>>>> certain
>>>>>>>>> conditions.
>>>>>>>>> Type "show copying" to see the conditions.
>>>>>>>>> There is absolutely no warranty for GDB. Type "show warranty"
>>>>>>>>> for
>>>>>>>>> details.
>>>>>>>>> This GDB was configured as "i386-apple-darwin"...
>>>>>>>>> Architecture of file not recognized.
>>>>>>>>> /Users/rab/Documents/Writing/ExtensionModels/
>>>>>>>>> pylith_earthquake/
>>>>>>>>> 1692:
>>>>>>>>> No such file or directory.
>>>>>>>>>
>>>>>>>>> On Aug 31, 2007, at 10:40 AM, Matthew Knepley wrote:
>>>>>>>>>
>>>>>>>>>> You must have a problem with your windowing environment.
>>>>>>>>>> However,
>>>>>>>>>> you can try
>>>>>>>>>> --petsc.start_in_debugger=noxterm.
>>>>>>>>>>
>>>>>>>>>> Matt
>>>>>>>>>>
>>>>>>>>>> On 8/31/07, Rick Bennett <rab at geo.arizona.edu> wrote:
>>>>>>>>>>> an xterm flashes in and out, disappearing almost
>>>>>>>>>>> instantaneously
>>>>>>>>>>> after opening. if any text appears I am unable to see it.
>>>>>>>>>>>
>>>>>>>>>>> On Aug 31, 2007, at 9:38 AM, Matthew Knepley wrote:
>>>>>>>>>>>
>>>>>>>>>>>> On 8/31/07, Rick Bennett <rab at geo.arizona.edu> wrote:
>>>>>>>>>>>>> no difference:
>>>>>>>>>>>>>
>>>>>>>>>>>>> pace:~/Documents/Writing/ExtensionModels/pylith_earthquake
>>>>>>>>>>>>> rab$
>>>>>>>>>>>>> pylith --petsc.start_in_debugger --petsc.display=:0.0
>>>>>>>>>>>>> earthquake.cfg
>>>>>>>>>>>>>>> /Users/rab/pylith/pylith-1.0.1-darwin-powerpc/lib/
>>>>>>>>>>>>>>> python2.3/
>>>>>>>>>>>>>>> site-
>>>>>>>>>>>>> packages/pylith/utils/PetscManager.py:47:initialize
>>>>>>>>>>>>> -- petsc(info)
>>>>>>>>>>>>> -- Initializing PETSc.
>>>>>>>>>>>>> [0]PETSC ERROR: PETSC: Attaching gdb to /Users/rab/pylith/
>>>>>>>>>>>>> pylith-1.0.1-darwin-powerpc/bin/mpinemesis of pid 1521 on
>>>>>>>>>>>>> display :
>>>>>>>>>>>>> 0.0 on machine pace.local
>>>>>>>>>>>> It says it is attaching to that display, but what about the
>>>>>>>>>>>> rest?
>>>>>>>>>>>> There is no
>>>>>>>>>>>> error message. Did the xterm pop up?
>>>>>>>>>>>>
>>>>>>>>>>>> Matt
>>>>>>>>>>>>
>>>>>>>>>>>>> On Aug 31, 2007, at 8:04 AM, Matthew Knepley wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 8/31/07, Rick Bennett <rab at geo.arizona.edu> wrote:
>>>>>>>>>>>>>>> $ pylith --petsc.start_in_debugger earthquake.cfg
>>>>>>>>>>>>>>>>> /Users/rab/pylith/pylith-1.0.1-darwin-powerpc/lib/
>>>>>>>>>>>>>>>>> python2.3/
>>>>>>>>>>>>>>>>> site-
>>>>>>>>>>>>>>> packages/pylith/utils/PetscManager.py:47:initialize
>>>>>>>>>>>>>>> -- petsc(info)
>>>>>>>>>>>>>>> -- Initializing PETSc.
>>>>>>>>>>>>>>> [0]PETSC ERROR: PETSC: Attaching gdb to /Users/rab/
>>>>>>>>>>>>>>> pylith/
>>>>>>>>>>>>>>> pylith-1.0.1-darwin-powerpc/bin/mpinemesis of pid
>>>>>>>>>>>>>>> 1433 on
>>>>>>>>>>>>>>> display :
>>>>>>>>>>>>>>> 0.0 on machine pace.local
>>>>>>>>>>>>>> Yes, please add --petsc.display=:0.0
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Matt
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> 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
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>>
>>>>>
>>>>
>>>> --
>>>> 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
>>>>
>>>
>
More information about the CIG-SHORT
mailing list