[CIG-SHORT] Pylithapp error

Rishabh Dutta rishabh.dutta at kaust.edu.sa
Mon Nov 10 04:06:26 PST 2014


Dear Charles,

Thanks for the quick reply.

I have decided on taking one step at a time and running the problem without
the fault friction. So, now I give the fault a zero slip.
When I run: $ pylith pylithapp.cfg , it runs all fine. But I have the
following error when I run: $ pylith CFZ.cfg
Seems I have some error in the spatial database files.

-------------------
Traceback (most recent call last):
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/bin/pylith", line
27, in <module>
    start(applicationClass=PyLithApp)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/applications/__init__.py",
line 41, in start
    shell.run(**kwds)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/applications/Shell.py",
line 125, in run
    app.applyConfiguration(context)
  File
"/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/Configurable.py",
line 84, in applyConfiguration
    raise ValueError("%s\nBacktrace - Component %s" % (err.message,
aliases))
ValueError: Error while configuring spatial database reader (simpleioascii,
iohandler):
Filename for spatial database not specified.
Backtrace - Component simpleioascii, iohandler
Backtrace - Component simpledb, slip
Backtrace - Component stepslipfn, slip_function
Backtrace - Component eqkinsrc, rupture
Backtrace - Component singlerupture, eq_srcs
Backtrace - Component faultcohesivekin, compliant_fault
Backtrace - Component interfaces
Backtrace - Component timedependent, problem
Backtrace - Component pylithapp
--------------------

Could this error be due to the end-points which are shared by the arrays
for which I specify the boundary conditions?
I am attaching all the config files and spatial database files that I use.
Also, attached is a figure which shows the boundary condition that I intend
to put.

Thanks,
 Rishabh

On Mon, Nov 10, 2014 at 1:40 AM, Charles Williams <willic3 at gmail.com> wrote:

> Dear Rishabh,
>
> This looks like a configuration problem.  You must have one or more
> additional .cfg files, correct?  It would be helpful to see those as well,
> and the command you are using to run PyLith.
>
> Cheers,
> Charles
>
>
> On 10/11/2014, at 5:26 am, Rishabh Dutta <rishabh.dutta at kaust.edu.sa>
> wrote:
>
> Dear Brad et. al.,
>
> I am trying to run a 2D toy problem where a give a displacement field on
> the boundary of the domain and try to estimate the response of a fault with
> static friction. It is a compliant fault zone problem. I am using
> pylith2.0.3.
>
>  I am getting an error with the mesh reader I guess. The error comes
> before the mesh is read:
>
> ---------------------
>  Traceback (most recent call last):
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/bin/pylith", line
> 27, in <module>
>     start(applicationClass=PyLithApp)
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/applications/__init__.py",
> line 41, in start
>     shell.run(**kwds)
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/applications/Shell.py",
> line 73, in run
>     self.initializeConfiguration(context)
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/Configurable.py",
> line 55, in initializeConfiguration
>     return self.inventory.initializeConfiguration(context)
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/Inventory.py",
> line 26, in initializeConfiguration
>     extraDepositories=self._priv_depositories)
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/odb/Curator.py",
> line 37, in getTraits
>     errorHandler=self._recordTraitLookup):
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/odb/fs/Curator.py",
> line 70, in loadSymbol
>     shelf = codec.open(spec, 'r')
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/odb/fs/CodecODB.py",
> line 33, in open
>     self._decode(shelf)
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/cfg/CodecConfig.py",
> line 37, in _decode
>     parser.read(shelf.name)
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/ConfigParser.py",
> line 305, in read
>     self._read(fp, filename)
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/site-packages/pythia-0.8.1.16-py2.7.egg/pyre/inventory/cfg/Parser.py",
> line 98, in _read
>     SafeConfigParser._read(self, self._sections.fp, fpname)
>   File
> "/home/duttar/Desktop/softwares/pylith-2.0.3-linux-x86_64/lib/python2.7/ConfigParser.py",
> line 493, in _read
>     cursect[optname].append(value)
> AttributeError: 'str' object has no attribute 'append'
> ----------------------------------------------------------
>
> I am attaching the .exo file (created in Trelis 15) and the pylithapp.cfg
> file.
>
> Thanks,
> Rishabh Dutta
>
> --
> Rishabh Dutta,
>
> Ph. D. Student, Department of Earth Sciences
> King Abdullah University of Science and Technology (KAUST)
> Al-Khawarizmi Applied Mathematics Building (Bldg. #1) | Office Cubicle #
> 3139-WS55
> Mail Box 1720 | Thuwal 23955-6900 | Makkah Province | Kingdom of Saudi
> Arabia
>
> Office Phone: +966 2 808-0351
> Personal Mobile No, : +966 544 700 852
> Email: rishabh.dutta at kaust.edu.sa
> Website: http://cdi.kaust.edu.sa/Pages/Dutta.aspx
>
> ------------------------------
> This message and its contents, including attachments are intended solely
> for the original recipient. If you are not the intended recipient or have
> received this message in error, please notify me immediately and delete
> this message from your computer system. Any unauthorized use or
> distribution is prohibited. Please consider the environment before printing
> this email.<pylithapp.cfg><CFZ.exo>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
>
> Charles A. Williams
> Scientist
> GNS Science
> 1 Fairway Drive, Avalon
> PO Box 30368
> Lower Hutt  5040
> New Zealand
> ph (office): 0064-4570-4566
> fax (office): 0064-4570-4600
> C.Williams at gns.cri.nz
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



-- 
Rishabh Dutta,

Ph. D. Student, Department of Earth Sciences
King Abdullah University of Science and Technology (KAUST)
Al-Khawarizmi Applied Mathematics Building (Bldg. #1) | Office Cubicle #
3139-WS55
Mail Box 1720 | Thuwal 23955-6900 | Makkah Province | Kingdom of Saudi
Arabia

Office Phone: +966 2 808-0351
Personal Mobile No, : +966 544 700 852
Email: rishabh.dutta at kaust.edu.sa
Website: http://cdi.kaust.edu.sa/Pages/Dutta.aspx

-- 

------------------------------
This message and its contents, including attachments are intended solely 
for the original recipient. If you are not the intended recipient or have 
received this message in error, please notify me immediately and delete 
this message from your computer system. Any unauthorized use or 
distribution is prohibited. Please consider the environment before printing 
this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compliant_zone_const_elastic.spatialdb
Type: application/octet-stream
Size: 689 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0012.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faultslip.spatialdb
Type: application/octet-stream
Size: 391 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0013.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: outer_const_elastic.spatialdb
Type: application/octet-stream
Size: 716 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0014.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sliptime.spatialdb
Type: application/octet-stream
Size: 668 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0015.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xneg.spatialdb
Type: application/octet-stream
Size: 1007 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0016.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xpos.spatialdb
Type: application/octet-stream
Size: 947 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0017.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yneg.spatialdb
Type: application/octet-stream
Size: 968 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0018.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ypos.spatialdb
Type: application/octet-stream
Size: 922 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0019.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CFZ.cfg
Type: application/octet-stream
Size: 6288 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0020.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylithapp.cfg
Type: application/octet-stream
Size: 3358 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0021.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CFZ.exo
Type: application/octet-stream
Size: 15724 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0022.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CFZ.jou
Type: application/octet-stream
Size: 3329 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0023.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bndycond.png
Type: image/png
Size: 8623 bytes
Desc: not available
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141110/d2638dd1/attachment-0001.png>


More information about the CIG-SHORT mailing list