[CIG-SHORT] Re: PyLith BC help

Rick Bennett rab at geo.arizona.edu
Fri Aug 31 11:09:25 PDT 2007


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$


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
>



More information about the CIG-SHORT mailing list