Washington University in St. Louis

Installing the Bayesian Data-Analysis Toolbox ()

The Bayesian Data-Analysis toolbox is a client/server software system. This installation procedure will walk you through the process of setting up a server machine. The server machine contains all of the software needed to run the various analyse and once installed your server machine is an independent standalone installation that does not communicate with Washington university, except when you download or check for updates.

This software is offered free of change for noncommercial use. Commercial use of this software is strictly forbidden unless specifically authorized by Washington University. Questions concerning commercial use of the software should be directed to the Larry Bretthorst. His email is given at the bottom of this page.

There are several requirements for running this software:

Downloading and installation the software:

  1. Pick the machine that is to act as the server. The server can be a multi-core LinuxPC, either 32 or 64 bit, running CentOS GNU/Linux, or a Sun Solaris system. Lets call this machine "server.name.net".

  2. Create an account on "server.name.net" that is to be configured to run the software. This account should only be used by the Bayesian Analysis software. For arguments sake, lets assume that the account is named "bayes", although it can have any name.

  3. Login to the "bayes" account on "server.name.net".

  4. Assuming both Java and JavaWS are installed and in your path, run the following command:

    javaws http://bayesiananalysis.wustl.edu/ServerSoftware/launch.jnlp

    This Java application will display a window containing a set of configurable options. For a first time installation, it will be populated with the installations procedure's best guess at the optional values. When updating your software, it will be populated with the values previously used in the installation procedure. Fill in or modify these options as needed.

  5. Hit the install button. The installation procedure will download and install the server and client software and will configure the communications between the clients and server.

  6. After the server installation kit completes, it displays a list of commands that must be executed as root. These commands can be copy/pasted to a root login. They will copy the Apache server configuration files to the appropriate system directory, create the server's home directory and copy two Apache server start/stop scripts to the appropirate "/etc/rc3d" directory so that the Apache server automatically starts and stops when the system is rebooted.

After completing the root commands, your server should be up and running and you should have a fully functional installation of the Bayesian Analysis software. You can check to see if the server is running by entering "http://your.server.net:8080" in a web browser, where "your.server.net" should be replaced by the name of your server, and 8080 should be replaced by the port number you used in the installation. This http request should bring up the default page for an apache server.

If you have more than one machine you wish to use as a server, repeat this installation procedure on each machine. When you run the client interface, the "Settings/Server Setup" window allows you to specify the server you want to use.

You should be able to run the client interface on any machine that has Java and JavaWS installed. We routinely run the interface on Sun Solaris, MacOS, CentOS and WindowsPCs. To run the interface, issue the command:

javaws http://server.name.net:8080/Bayes/launch.jnlp

from a command prompt, where you must supply your server name and port number. Additionally, this command can be placed in a shortcut to facilitate starting the interface. Running this command should result in the interface being displayed on your client machine.

Finally, the Bayesian Analysis software does not have an update feature. That is to say, when we distribute new software, one simply reruns the installation procedure to install the updates. So, for example, if you installed the software but did not configure either Fortran or C compilers, then to change this you would simply rerun the installation procedure and select the appropriate compilers. When the installation is done, you system should then support compilers.

If you have any questions or comment please contact me.



This site is being maintained by:
Larry Bretthorst
Dept. Of Chemistry and Radiology
Washington University
St. Louis MO 63130

Phone: 314 362-9994