I have created a standalone femhub (which is a subset of sage+some
other packages) binary for windows in cygwin, but I now need to test
that it works without cygwin. Could someone who *doesn't* have cygwin
installed test this on some windows please? I used windows vista to
build it.
Download the binary (both the zip and tar.gz are equivalent, use the
one that you can unpack):
http://sage.math.washington.edu/home/ondrej/femhub/femhub-0.9.8.beta1-windows.zip
(145MB)
http://sage.math.washington.edu/home/ondrej/femhub/femhub-0.9.8.beta1-windows.tar.gz
(80MB)
unpack it (the zip file takes about 7s to unpack on linux and about 12
minutes to unpack on vista...) and double click the "femhub-windows"
icon (which is a bat file).
A console window will pop up, femhub will start and then you will get
an exception which is coming from the notebook code --- please don't
get disgusted (I will fix it later), just ignore it for now, you will
see the ipython prompt below the exception:
In [1]:
so just type in:
import hermes2d
hermes2d.test()
and tests should run. Those tests test numpy, scipy (e.g. fortran),
matplotlib, hermes2d (which is a C++ package) together with Cython
wrappers and then some python code too. So it's a thorough test of all
essential components and you should see four green [OK]s at the right
hand side of the terminal (and no exceptions), so it should look
something like this:
In [1]: import hermes2d
In [2]: hermes2d.test()
============================= test process starts ==============================
executable: /home/ondrej/tmp/femhub/local/bin/python (2.6.2-final-0)
tests/test_basics.py[2] .. [OK]
tests/test_examples.py[8] ........ [OK]
tests/test_mesh.py[11] ........... [OK]
tests/test_plots.py[13] ............. [OK]
================== tests finished: 34 passed in 8.55 seconds ===================
Out[2]: True
Many thanks, it would help a lot. I only tested on my own machine by
downloading the zip file and there it works, but I don't know if it's
using my installed cygwin somehow, or not.
I sent instructions how to create such standalone binaries here in
case you want to do such things yourself:
http://groups.google.com/group/femhub/browse_thread/thread/c6b04b653f999736
Ondrej
Ah, that makes sense! I forgot to copy env. There is one thing that I
am not sure how to setup that "/" points to $SAGE_LOCAL, so that
/usr/bin/env gets automatically translated to $SAGE_LOCAL/bin/env
(where I copy env.exe).
I will investigate the options and then try to fix it at your computer
without cygwin. I suspect there can be more of these things, that
don't pop up at my computer, because somehow bash takes the env.exe
from cygwin.
Ondrej