On Wed, May 29, 2013 at 08:14:29AM +0200, Pierre de Buyl wrote:
> sudo ln -s //Applications/Gmsh.app/Contents/MacOS/gmsh /usr/local/bin/gmsh
Typo:
sudo ln -s /Applications/Gmsh.app/Contents/MacOS/gmsh /usr/local/bin/gmsh
>
> It may be because
> On Tue, May 28, 2013 at 09:14:25PM -0700, Ryan Smith wrote:
> > Update:
> >
> > I updated my .bash_profile from:
> > PATH="/Applications/Gmsh.app/Contents/MacOS/gmsh:${PATH}
> > to
> > PATH="/Applications/Gmsh.app/Contents/MacOS:${PATH}
> >
> > Now when I go to the command line and enter:
> > "gmsh --version"
> > I receive:
> > "2.7.1"
> >
> > Referring to the last website reference, when I run the python example
> > circle.py in the command line:
> > "python examples/diffusion/circle.py"
> > Matplot opens up and everything seems to work fine.
> >
> > Now, when I use Gmsh2D() or GmshImporter2D() in Enthought Canopy's Python,
> > I still receive the error:
> > "EnvironmentError: Gmsh version must be >= 2.0."
> >
> > Thank you,
> > Ryan
> >
> >
> >
> >
> > On May 28, 2013, at 8:13 PM, Ryan Smith <[email protected]> wrote:
> >
> > > Hi,
> > >
> > > I would like use Gmsh with FiPy. I installed FiPy and believe it is
> > > running fine. I'm using Mac OS X and downloaded gmsh-2.7.1-MacOSX.dmg. I
> > > placed the application in the application folder and Gmsh runs fine when
> > > I click on and run the application.
> > >
> > > However, when I run Enthought Canopy's Python and use any gmsh functions
> > > with FiPy code I get the error: "EnvironmentError: Gmsh version must be
> > > >= 2.0."
> > >
> > > So, I looked around, and I see references for using Gmsh with FiPy:
> > > "The gmsh executable, version 2.0 or greater, must on the PATH."
> > > And in http://www.ctcms.nist.gov/fipy/_sources/MACOSX-INSTALLATION.txt:
> > > "Create a link on your ``$path`` or a shell alias that points to ``<Gmsh
> > > path>/Gmsh.app/Contents/MacOS/Gmsh``."
> > >
> > > So, I went into my .bash_profile and added:
> > > "PATH="/Applications/Gmsh.app/Contents/MacOS/gmsh:${PATH}"
> > > export PATH"
> > >
> > > However, this did not change the error. I found another reference at
> > > http://www.mail-archive.com/[email protected]/msg02301.html. When I go to the
> > > command line and enter:
> > > "gmsh --version"
> > > I receive:
> > > "-bash: gmsh: command not found"
> > >
> > > Referencing the last link, I then placed an alias of gmsh
> > > (/Applications/Gmsh.app/Contents/MacOS/gmsh) into /usr/local/bin and
> > > /usr/bin. Now when I enter "gmsh --version" into the command line, I
> > > receive:
> > > "-bash: /usr/bin/gmsh: cannot execute binary file"
> > >
> > > At this point, I'm at a standstill and cannot find additional resources
> > > to try and resolve the issue.
> > >
> > > Thank you for any help on the matter,
> > > Ryan
> > >
> > > _______________________________________________
> > > fipy mailing list
> > > [email protected]
> > > http://www.ctcms.nist.gov/fipy
> > > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
> >
>
> > _______________________________________________
> > fipy mailing list
> > [email protected]
> > http://www.ctcms.nist.gov/fipy
> > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
>
>
> --
> -----------------------------------------------------------
> Pierre de Buyl
> Université libre de Bruxelles
> Physique des Systèmes Complexes et Mécanique Statistique
> Membre du conseil d'administration - ULB
> EuroSciPy 2013 co-chair http://www.euroscipy.org/
> tél: +32 (0)2 650 57 92
> web: http://homepages.ulb.ac.be/~pdebuyl/
> -----------------------------------------------------------
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
> [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
--
-----------------------------------------------------------
Pierre de Buyl
Université libre de Bruxelles
Physique des Systèmes Complexes et Mécanique Statistique
Membre du conseil d'administration - ULB
EuroSciPy 2013 co-chair http://www.euroscipy.org/
tél: +32 (0)2 650 57 92
web: http://homepages.ulb.ac.be/~pdebuyl/
-----------------------------------------------------------
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
[ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]