[Gmsh] Running onelab python script on gmsh command line
cgeuzaine at ulg.ac.be
Thu Apr 23 21:58:32 CEST 2015
> On 24 Mar 2015, at 07:03, lukshuntim at gmail.com wrote:
> On Tuesday, March 24, 2015 05:21 AM, Christophe Geuzaine wrote:
>>> On 22 Mar 2015, at 17:29, lukshuntim at gmail.com wrote:
>>> I started to play a bit with onelab. When trying to run the pend.py script from
>>> on the command line using "gmsh pend.py", it throws this error
>>> Traceback (most recent call last):
>>> File "pend.py", line 93, in <module>
>>> File "pend.py", line 20, in exportMshOpt
>>> optFile = open(c.getPath("pend.msh.opt"),'w')
>>> IOError: [Errno 13] Permission denied: '//pend.msh.opt'
>>> while running `gmsh ./pend.py` works.
>>> Is this the intended/expected behaviour or a bug? This is on ubuntu trusty.
>> There was an issue in the "path()" function in Gmsh 2.9.0. Does it work with Gmsh 2.9.1 or the latest nightly builds?
> I used this gmsh-getdp bundle
> "gmsh --version" shows 2.9.1.
Did you get it to work?
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
More information about the gmsh