Linda server & client library for SICStus & Quintus Prolog ---------------------------------------------------------- Author: K.Y. Hui (modified from the SICStus Linda library) Version: 1.20 Date: 9 July 1998 This is an adaptation of the SICStus Linda library to run on both SICStus & Quintus Prolog using the universal socket library. Protocols --------- This version of Linda server & client supports two communication protocols - 'p' & 'f'. The 'p' protocol uses the cannonical Prolog term format in a character string. This is the recommended protocol for communicating with the Java Linda-client class. The 'f' uses the fast Prolog term I/O format and requires the "fastrw" Prolog library. This protocol is not yet supported by the Java Linda-client class. Compilation ----------- To compile, follow these steps: 1. Edit "Makefile.inc" to tailor the directories of your Prolog system. 2. Start compilation by: make sgi_sicstus or make sparc_sicstus or make sparc_quintus or make hp_sicstus These are the current supported platforms. Using the Library ----------------- To use the Linda-server, simply start Prolog and type: [linda_server]. linda. To use the Linda-client library, consult the module by: use_module(linda_client) and follow the API. Auto Hardware Platform Detection -------------------------------- You have to setup either the HOST or HOSTTYPE environment variable in order for the system to detect your hardware platform. If the system cannot figure out your platform type, it will display an error message when loading. HOST is the variable containing your host's name. The easiest way to tell your hostname is to type the command 'hostname' in your shell. To save yourself from typing it all the time, you can add the following line to your .cshrc or .login: setenv HOST `hostname` Be sure to type in the inverted single-quote as well. Some systems have the HOSTTYPE variable properly setup by the system admin. This saves time if HOSTTYPE already works in your system. If not, we suggest you to use the HOST variable mentioned above.
Name Last modified Size Description
README 1998-07-09 17:36 2.1K VERSION 1998-07-10 15:20 583 linda_client.pl 1998-07-10 15:19 7.0K linda_server.pl 1998-07-15 17:22 13K