[CIG-SHORT] Pylith running problem on Windows

Brad Aagaard baagaard at usgs.gov
Sun Aug 23 16:47:20 PDT 2015


You can also get weird error messages like this if the Python script is 
interpreted as a bash script. Be sure you do "source setup.sh" in the 
top PyLith directory when using the binary even in a virtual machine.

Brad


On 8/23/15 4:45 PM, 贾科 wrote:
> Hi Charles,
>
> Thanks for your reply. I am using a virtual machine and running the
> example in the Linux directory. It is weird that the error message
> showing a ")" is missing.
>
> Best,
> Ke
>
> On Sun, Aug 23, 2015 at 4:25 PM, Charles Williams <willic3 at gmail.com
> <mailto:willic3 at gmail.com>> wrote:
>
>     Dear Ke,
>
>     I just installed the Linux binary on my Linux machine (using the
>     x86_64 version), and examples/3d/hex8/step01.cfg ran fine.  Are you
>     on a regular Linux machine, or a virtual machine?  If you’re on a
>     virtual machine, are you running the example in the Linux or Windows
>     directory?  Due to differences in newlines on the two platforms this
>     could cause some problems.
>
>     Cheers,
>     Charles
>
>
>>     On 24/08/2015, at 10:43 am, 贾科 <jk.at.pku at gmail.com
>>     <mailto:jk.at.pku at gmail.com>> wrote:
>>
>>     Hi,
>>
>>     After I install Pylith on Linux, and I test the example again but
>>     it shows the following error message in attached file.
>>
>>     Best,
>>     Ke
>>
>>     On Sun, Aug 23, 2015 at 2:21 PM, 贾科 <jk.at.pku at gmail.com
>>     <mailto:jk.at.pku at gmail.com>> wrote:
>>
>>         Hi Matt,
>>
>>         Thanks for your fast reply, but I tried reboot and it didn't
>>         work. Thanks for your suggestion, I will use VirtualBox to run
>>         Pylith on Linux.
>>
>>         Best,
>>         Ke
>>
>>         On Sun, Aug 23, 2015 at 1:01 PM, Matthew Knepley
>>         <knepley at mcs.anl.gov <mailto:knepley at mcs.anl.gov>> wrote:
>>
>>             On Sun, Aug 23, 2015 at 2:58 PM, 贾科 <jk.at.pku at gmail.com
>>             <mailto:jk.at.pku at gmail.com>> wrote:
>>
>>                 Dear Sir or Madam,
>>
>>                 I have an error when I run the example using "pylith
>>                 dislocation.cfg" after I install Pylith on my laptop.
>>                 The entire error message is attached as the screenshot.
>>
>>
>>             This is a Cygwin problem. Rebooting should fix it, as it
>>             does with quite a few Windows problems. I would consider using
>>             VirtualBox or some other system for Linux.
>>
>>               Thanks,
>>
>>                  Matt
>>
>>                 Thanks in advance.
>>
>>                 Best,
>>                 Ke
>>
>>                 _______________________________________________
>>                 CIG-SHORT mailing list
>>                 CIG-SHORT at geodynamics.org
>>                 <mailto:CIG-SHORT at geodynamics.org>
>>                 http://lists.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
>>
>>             _______________________________________________
>>             CIG-SHORT mailing list
>>             CIG-SHORT at geodynamics.org <mailto:CIG-SHORT at geodynamics.org>
>>             http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>>
>>
>>
>>     <error_linux.jpg>_______________________________________________
>>     CIG-SHORT mailing list
>>     CIG-SHORT at geodynamics.org <mailto: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 <mailto:C.Williams at gns.cri.nz>
>
>
>     _______________________________________________
>     CIG-SHORT mailing list
>     CIG-SHORT at geodynamics.org <mailto:CIG-SHORT at geodynamics.org>
>     http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



More information about the CIG-SHORT mailing list