Using HippoDraw on SLAC Linux Systems

HippoDraw is installed at SLAC for use by Red Hat Linux 9 and Red Hat Enterprise Linux 3 machines. This includes both SLAC Computing Services (SCS) public machines (noric-new) and desktop machines maintained by SCS.

If you have a SLAC UNIX account, you can log into a public machine as shown below.

> ssh noric-new RHEL WS release 3 (Taroon Update 1) 2.4.21-9.0.3.ELsmp (2x1390MHz Intel) ========================================================================= By using this system you expressly consent to the terms and conditions in http://www.slac.stanford.edu/comp/policy/use.html ========================================================================= noric05>

Using HippoDraw as a stand a lone application.

For use as a stand a lone application, HippoDraw has been installed in the GLAST I&T SVAC group's NFS file system. Once can start the application as shown below

noric13> /nfs/slac/g/svac/local/bin/hippodraw Running on a Pentium One clock tick corresponds to 7.19057e-10 seconds

Note that no environment shell variables need to be set. If you use HippoDraw often, you may want to add the path /nfs/slac/g/svac/local/bin in your PATH environment variable.

See Getting Started with HippoDraw for help in learning to use HippoDraw.

Using HippoDraw as a Python extension moudle.

HippoDraw has been installed in /usr/local/lib/python2.3/site-packages, the standard location for Python extension modules. To start a session with HippoDraw, first start the Python interactive shell as shown below.

noric05> python Python 2.3.3 (#1, Apr 7 2004, 09:31:28) [GCC 2.95.3 20010315 (release)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>

Next, import HippoDraw into the Python session as show below

>>> import hippo Running on a Pentium One clock tick corresponds to 7.19057e-10 seconds __main__:1: RuntimeWarning: Python C API version mismatch for module hippo: This Python has API version 1012, module hippo has version 1011. >>>

Don't worry about the warning, SCS made a slight error in installing Python which may be already fixed by the time your read this.

The last step is to create the HippoDraw application as show below

>>> app = hippo.HDApp() >>>

You'll more likely be putting these commands in a file and have Python interpret them at startup. For examples, eee Python scripts for more infromation.

See Getting Started with HippoDraw for help in learning to use HippoDraw.


Generated for HippoDraw-1.9.0 by doxygen 1.3.7