16.0 Running Legion on Windows NT hosts
Version 1.7 includes a beta Windows NT port option. A Windows NT host contains a full implementation of the Legion libraries and most client-side application tools (such as legion_ls and legion_run). These tools can be run from a DOS window or developers can write new Legion applications with Visual C++. Either way, you must follow the same steps as on a Unix platform (i.e., set up the user environment).
You must have Legion binaries on your machine. These files are available on the Legion web site (<http://legion.virginia.edu/download/index.html>).
16.1 Requirements
We must emphasize that the 1.7 release Windows NT port is a beta version. Please read the following requirements and limitations before you proceed.
16.2 Starting a Windows NT host
You can't use a Windows NT machine as a bootstrap host, so you must have a Legion system already running on another platform. You will be adding your NT machine to this system.
First, you must download the Windows NT binary executables. These files can sit on any mounted drive. These files are available on the Legion web site (<http://legion.virginia.edu/download/index.html>).
Open a DOS window, if you haven't already done so, and set up your Legion environment. Move to the directory containing the Legion executables and run the batch script NTLocalStartup.bat:
$ NTLocalStartup.bat
Using your machine's host name, the script creates a host object and vault object, and registers the ImplementationCache and ImplementationObject binaries with Legion. It will also contact your Legion system and add the machine to the system's list of available hosts.
A number of basic system objects are provided:
- host object
- vault object
- UnixImplementationClass
- UnixImplementationCacheClass
- ContextObjects
- BasicFileObjects
- TwoDFileObjects
- JobProxyObject
as well as all other major class objects
In order to use these, however, you must execute the batch file InitNTArch:
$ InitNTArch.bat
This script registers the Windows NT implementations of these objects with your Legion system. You should then set your environment variables:
$ legion_context_env.bat
16.3 Using a Windows NT client machine
If you prefer, you can use a Windows NT machine as a client machine. You will need to download the Legion binary files on to your machine and copy the necessary OPR files from another Legion machine's valid OPR. You then must
- Set the $LEGION and $LEGION_OPR values, and
- Run the legion_env.bat and legion_context_env.bat files.
legion@Virginia.edu
http://legion.virginia.edu/
|