Release 1.6.2: After 7 years, Gnans has been revived! This release attempts to bring the code in a state that compiles on a modern GNU/Linux system. For this, the C++ code has been up-to-dated (include files, std:: namespace in some cases). No new features. Loading classes from gnanslib (delay, histo, table) is broken; I have not succeeded to get it to work (error by dlopen: undefined symbol: __dso_handle) I leave it in just if someone can fix it. Release 1.6.1: This is a bugfix release with no user visible changes. /****************************************************************/ Release 1.6.0: This release has been autoconf-iscated!! Gnans now uses Gnu automake/autoconf instead of imake. There are a few minor bug fixes, but few user-visuable changes. I have tried to follow the the new Gnu standards on target directories and such. This means that some of Gnans' support files have moved. * The environment variable GNANSLIB has been replaced by three other environment variables: -- GNANSLATOR (defaults to ${libexecdir}/gnanslator): full path name of the gnanslator program. -- GNANSINCLUDES (defaults to ${pkgincludedir}): where the include files, necessary for compilation of Gnans systems, are to be found. -- GNANSMAKEFILE (defaults to ${pkgdatadir}/Makefile.gnanscompile): full pathname of the Makefile used to compile Gnans systems. Scriptfilenames to be popen-ed are now prepended with ``./'' (unless absolute, or already starting with a ``.'') so that PATH is not searched. These changes still have to make it into the documentation...;-) The 3d-Athena Widgets have been removed from the distribution. Gnans will still use them if found (substituting with the vanilla Athena widgets if not found). This release has been built on: - Solaris 2.5 (gcc, Sparc and x86, X11R6 and Openwindows, g77 (tested on x86 only) SunPro Fortran 77 3.000 (Sparc only). Using SUNPro C++ 4.000 ALMOST works. - Gnu/Linux ELF (S.u.S.E. Linux 4.3 Kernel 2.0.18) It is believed to compile, with few or no changes, on: - Irix 5.x & Irix 6.x (gcc or SGI CC and cc; SGI f77) - SunOS 4.1.x (gcc) Porting to other systems (having the dlopen function, or similar) should be straightforward. /****************************************************************/ Changes in "release" 1.5.2: This "release", which was never released to the public, is simply a check-pointing of the state of my code, incorporating minor bugfixes since version 1.5.1. /****************************************************************/ Release 1.5.1: This is version 1.5.1 of Gnans. The only thing that is really new with this release is that it compiles with gcc 2.7.x, which version 1.5 didn't. Since there is no other changes, I do not plan to provide binaries. As far as I am aware of, these can be used with gcc 2.7.x. (One fix may be needed on Solaris 2.5: Add -DSVR4 to CFLAGS in Makefile.gnanscompile) /****************************************************************/ Release 1.5: List of major new features for Gnans 1.5: (Please note: This is not yet integrated in the documentation.) New integration algorithms: Vode and Rksuite (based on work by Josef Heers). Both come in several variants, see the online documentation. Lsode has been split in two variants, for non-stiff (Lsode10, Adams-type method) and stiff (Lsode22, BDF method) respectively. System language: Statement functions are now implemented. The syntax is just like statement functions in Fortran :-). I.e.: () = expression; Examples: sinc(x) = sin(x)/x; sat(x) = x < -1 ? -1 : x < 1 ? x : 1; hat(x,y) = sin(x^2+y^2)/(x^2+y^2); Note: this is the recommended way of using "pure" functions (i.e. functions in the mathematical sense, depending only on its arguments, and with no side effects). Using macros or raw C fragments is depreciated. System language: Several states (parameters, functions, variables) can now be declared in one STATE (PARAMETER, FUNCTION, VARIABLE) statement (like in C etc). I.e. STATE x = -1, y = 0 "A state called y", z = 15; is now legal. There is a different memory-allocation report. It now reports only how much memory the program has presently allocated for the trajectories. Previously (on the platforms where it worked) it asked the system. Solaris for x86 is now supported. A number of internal improvements, bug fixes, etc. New command line option: -quiet. With this, does not print greeting message or prompts. (Intended for use when having stdout connected to a pipe, not a terminal.) New switch: store parameters. If true, stores the parameters (in the sense of the system description language) to a file, similarly to the trajectories. The translator should handle large systems better now. I have compiled this version on Solaris 2.4, both Sparc and x86, both with X11R6 and OpenWindows 3.4 (Xaw3d doesn't compile with the latter though), and SGI Irix 5.3. It should compile on SunOS 4.1.x, although I did not try this. Bug I know of: popen-ing scripts are broken on some machines. Still using that pesky imake system, still not using a sensible extension language, still runs only on a few platforms... /****************************************************************/ Version 1.4: Version 1.4 of Gnans has been released. Binaries for Sparc (Sunos 4.1.2 and Solaris 2.3), and SGI (Irix 5.2) are available. There are no earth-scattering changes, just some bug fixes, some small new features, bettor error messages from the translator, etc. However, the main reason for this release is to "checkpoint my code", since I hope to be able to do some reconstruction of the whole system in the future. The popen-feature (executing scripts instead of reading them) has changed in an incompatible fashion; you may recall that I asked the mailing group if anyone cared for it. It turned out that what I did not like was the syntactic overloading of opening a script; I was not against popen-ing per se. Now it works like this: if the filename ends with a ``|'', it is popen-ed (executed), otherwise fopen-ed (read). Visually, it looks like a Unix pipe. (This design is stolen from perl.) I have just wrapped together the thing in quite short time, and most likely I have made some mistakes. Please tell me about problems when installing. And, as usual, all sorts of feedback is very welcome. The file gnans-doc-pictures.tar.gz has not changed, so there is no need to get it again.