[CIG-SHORT] Pylith installation problems

Brad Aagaard baagaard at usgs.gov
Sat Jun 24 17:57:05 PDT 2017


Jenn,

Are you trying to run the setup.sh script directly? You should be trying 
to run "source setup.sh".

If you have Python installed from Anaconda, HomeBrew, and MacPorts, then 
before running source setup.sh reset your environment:
brad at guest:pylith-2.2.0-darwin-10.11.6 > cd pylith-2.2.0-darwin-10.11.6
brad at guest:pylith-2.2.0-darwin-10.11.6 > unset PYTHONPATH
brad at guest:pylith-2.2.0-darwin-10.11.6 > PATH=/bin:/usr/bin
brad at guest:pylith-2.2.0-darwin-10.11.6 > ls
bin/           include/       lib/           parametersgui/ setup.sh 
   share/         src/
brad at guest:pylith-2.2.0-darwin-10.11.6 > source setup.sh
Ready to run PyLith.

Now go the examples/3d/hex8 directory and try to run step01.cfg:

brad at guest:pylith-2.2.0-darwin-10.11.6 > cd src/pylith-2.2.0
brad at guest:pylith-2.2.0-darwin-10.11.6 > cd examples/3d/hex8
brad at guest:pylith-2.2.0-darwin-10.11.6 > pylith step01.cfg
  >> 
/Volumes/Users/baagaard/tmp/pylith/pylith-2.2.0-darwin-10.11.6/lib/python2.7/site-packages/pylith/utils/PetscManager.py:64:initialize
  -- petsc(info)
  -- Initialized PETSc.
  >> 
/Volumes/Users/baagaard/tmp/pylith/pylith-2.2.0-darwin-10.11.6/lib/python2.7/site-packages/pylith/apps/PyLithApp.py:103:main
  -- pylithapp(info)
  -- Running on 1 process(es).
-- LOTS OF OUTPUT --

Regards,
Brad


On 6/24/17 8:39 AM, JennGeo wrote:
> Hello,
>
> My name is Jenn Beyer. I've been trying to install Pylith, but I'm
> having some difficulties. I'm using a Mac, and I've downloaded the
> binary into my opt folder. However, when I try running the setup.sh
> script, it keeps saying "Permission denied".
>
> I've also tried installing the binary in different locations, but I
> still get the same error.
>
> Is there something I'm doing wrong? And can you tell me how to correct it?
>
> Thank you,
> Jenn Beyer
>
>
>
> -----------------------------------------------------
> Jenn Beyer, M.S.
> Doctoral Candidate
> Department of Geosciences
> University of Massachusetts, Amherst
> jbeyer at geo.umass.edu <mailto:jbeyer at geo.umass.edu>
> -----------------------------------------------------



More information about the CIG-SHORT mailing list