On Sun, Jun 2, 2013 at 10:50 AM, Michelangelo Formisano < [email protected]> wrote:
> Hi Daniel, hi all. > > Putting that code in a file it seems to be working. > The output is : > > [[-0.02169352 0.93816872 -0.93825242 ..., -0.85001304 -0.80933113 > -0.82860704] > [-0.1713752 0.23853523 -0.23882186 ..., 0.43751191 0.02413771 > 0.03157292]] > This is very strange. As far as I can tell when you run the commands from the python prompt, the Gmsh output is claiming that it has not created any vertices or elements, but when you run the commands from a file, it seems to work. I really don't understand what is going on. I tried it in both the python and ipython prompts and it works for me. > If, in the terminal, I run "python setup.py test", the output is : > > python: can't open file 'setup.py': [Errno 2] No such file or directory > > where's the mistake? > You need to be in the unpacked fipy directory. Download the tarball or zip for version 3.0 and unpack it. http://www.ctcms.nist.gov/fipy/download/ Change directory into the unpacked directory and you should see "setup.py". Run "python setup.py test" in that directory. -- Daniel Wheeler
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
