Dear << DEC Unix >> managers,
Finally, I can know watch how much CPU and memory it takes
our 2100 4/275 to play chess one CPU against the other ;-)
1) VMUBC
(vmubc is a very nice graphical tool displaying CPU, Virtual Memory, Swap,
and Universal Buffer Cache usage)
-> Pointer to vmubc is :
The Author, George Chaltas <chaltas_at_fluid.mro.dec.com>
who kindly send me the stuff in an tar-ed/uuencoded message.
One hint (see README) : if you want vmubc to run on OSF/1 v 2.x,
you must build it OSF/1 v 3.x because some definitions are missing
like GSI_CPUS_IN_BOX in 2.x /usr/include/sys/sysinfo.h file
If you lack version 3.x you can perhaps use the 3.x define which is :
#define GSI_CPUS_IN_BOX 55 /* number of processors in system */
and it no longer complains at compile time and even seems to work !
Thanks also to James Nolan <jnolan_at_ibm.net> who gave me another
pointer which was unfortunately removed since.
2) XBOARD AND GNUCHESS
(xboard is a graphical interface to chess players, human or program,
and gnuchess is a chess playing program)
-> Pointer to xboard and gnuchess is :
Any GNU archive site, like prep.ai.mit.edu
I choose nic.funet.fi, files are
/pub/gnu/xboard-3.2.pl0.tar.gz and
/pub/gnu/gnuchess-4.0.pl74.tar.gz
xboard compiles and executes 'out of the box' but gnuchess requires
some 'tweaking :
-> change from long to time_t in :
binsort.c: time_t oldrealtime, newrealtime;
dspcom.c: time_t when;
dspcom.c: et = (time ((time_t *) 0) - time0) * 100;
dspcom.c: time0 = time ((time_t *) 0);
gnuan.c: time_t start_time, end_time, elapsed_time;
main.c: gsrand (starttime = ((unsigned int) time ((time_t *) 0)));
-> remove extraneous ";" in Ldisplay* routines in gnuan.c
-> DO NOT USE OPTIMIZATION ABOVE OR EQUAL TO 2 !
symptom : "program (gnuchessx) exited unexpectedly"
see the xboard FAQ fore more details.
optimization -O1 or -O0 work ok : VERY WEIRD !
Thanks to Olle Eriksson <olle_at_cb.uu.se> who gave the pointer.
Thanks to all who answered, regards,
+--------------------------------------------------------------+
| Herve DEMARTHE %^) E-Mail: demarthe_at_alpha.cad.cea.fr |
| CEA/DSM/DRFC/STEP Tel: +33 42257527 Fax: +33 42252661 |
| CEN Cadarache Bt 506 13108 St Paul Lez Durance FRANCE |
| <<< Apprentiz de todo, Maestro de nada ... >>> |
| All opinions expressed herein are mine and not those of CEA. |
+--------------------------------------------------------------+
Received on Fri Mar 24 1995 - 12:13:41 NZST