[CIG-SHORT] installation problem?
Charles Williams
willic3 at gmail.com
Tue May 22 12:25:02 PDT 2012
Hi Lucas,
You didn't do anything wrong, it's just that PyLith isn't finding any input and is using default values. I believe that by sourcing setup.sh, pylith should already be in your PATH. Try going to src/examples/3d/hex8 and typing:
pylith --help
This should give you some help information. The difference is that pylith is now picking up some information from the pylithapp.cfg file in that directory. Then try typing:
pylith step01.cfg
This should run the first example problem. Let us know if this works OK.
Cheers,
Charles
On 23/05/2012, at 4:04 AM, Lucas Abraham Willemsen wrote:
> Hi,
>
> I just installed the precompiled x86_64 package for linux. I then executed the command 'source setup.sh'. This informed me that pylith was ready for use. I then changed my directory to the 'bin' directory. When I type './pylith --help' I get the following messages:
>
> -----------------------------
> lawillem at jester:/data1/lawillem/pylith-1.6.3-linux-x86_64/bin$ ./pylith --help
> /data1/lawillem/pylith-1.6.3-linux-x86_64/lib/python2.6/site-packages/merlin-1.7.egg/merlin/__init__.py:175: DeprecationWarning: the sets module is deprecated
> from sets import ImmutableSet
> /data1/lawillem/pylith-1.6.3-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.13-py2.6.egg/pyre/inventory/Configurable.py:84: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
> raise ValueError("%s\nBacktrace - Component %s" % (err.message, aliases))
> Traceback (most recent call last):
> File "./pylith", line 39, in <module>
> start(applicationClass=PyLithApp)
> File "/data1/lawillem/pylith-1.6.3-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.13-py2.6.egg/pyre/applications/__init__.py", line 41, in start
> shell.run(**kwds)
> File "/data1/lawillem/pylith-1.6.3-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.13-py2.6.egg/pyre/applications/Shell.py", line 125, in run
> app.applyConfiguration(context)
> File "/data1/lawillem/pylith-1.6.3-linux-x86_64/lib/python2.6/site-packages/pythia-0.8.1.13-py2.6.egg/pyre/inventory/Configurable.py", line 84, in applyConfiguration
> raise ValueError("%s\nBacktrace - Component %s" % (err.message, aliases))
> ValueError: Filename for ASCII input mesh not specified.
> Backtrace - Component meshioascii, reader
> Backtrace - Component meshimporter, mesh_generator
> Backtrace - Component pylithapp
> -----------------------------
>
> Could someone please tell me if I did something wrong?
>
> with kind regards,
> Lucas
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-short/attachments/20120523/7e121872/attachment.htm
More information about the CIG-SHORT
mailing list