On Wed, Jul 9, 2008 at 3:17 PM, John Huddleston <jhu...@hu...> wrote:
>
> Hi
>
> I've built a version of grads-2.0.a2 for windows.
I am very glad to hear that you have done a Win32 build. I've been
doing win32 for GrADS for many years. The ironic thing is that I very
seldom use windows, and have very limited access to Windows these
days.
>
> Initially it will require a Cygwin implementation on your PC.
>
>
Here is a suggestion for making your binaries more readily usable by
the average user who does not have cygwin installed but has Win32
grads 1.9.0-rc1. (Win32 GrADS bundles the essential cygwin dll's, so
it should have all that is needed to build your binaries). Install the
Win32 Superpack for v1.9.:
http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=270750
Rename your "grads.exe" to something like "grads2.exe". Copy both
"grads2.exe" and "gradsdap.exe" to the C:/GRADS19/win32 directory. For
now, you will need to set GADDIR to C:/GRADS19/dat, and perhaps GASCRP
to C:/GRADS19/lib. I can tell you later how to create a grads2.dll
and gradsdap.dll so that all these details are automatically taken
care of.
There is a good chance that both "grads2.exe" and "gradsdap.exe" would
work even when cygwin is not installed. I can try it for you if you
send me your binaries.
>
> There is not much documentation for the new features; however, I've tested it against the older ones.
>
I have developed a test suite for GrADS 2 that you could use to test
your binaries (I used an equivalent test suite for testing v1.9 with
cygwin). All you need is to have cygwin's python installed (it is
pretty standard, you may already have it). Download the OpenGrADS
patched sources for v2.0.a2:
http://opengrads.org/devel/grads2/grads-2.0.a2.oga.1.tar.gz
Untar it, and place the pytests/ subdiretory parallel to your src/
directory (with your current codebase). Then enter
cd pytests
python grads_tests.py
This will run a battery of tests, and give you a report at the end.
This is meant to test grads itself, not the python interface. I just
wrote the test suite in python for convenience. It also bundles all
the necessary data files.
> If anyone is interested in testing this version of GrADS on Windows I can send you a copy of the EXE.
Send me your binaries and I can test whether it runs inside the Win32
GrADS v1.9.0 distribution without having cygwin installed; I have such
configuration on my tests machine, also known as my wife's computer.
BTW, I am planning to have an OpenGrADS release of GrADS v2 sometime
this summer, including a Win32 build (very much along the same lines
of v1.9.0-rc1). This release will include hooks to enable a fully
functional PyGrADS with GrADS v2, along with Java and Matlab
interfaces. If you like to join force with us at OpenGrADS, I've been
looking for someone that could look after the Win32 builds. Are you
interested?
Cheers!
Arlindo
--
Arlindo da Silva
da...@al...
|