Version 1 (modified by trac, 12 years ago) (diff)


Skandha4 is a graphics engine used by several SIG projects, including the Dynamic SceneGenerator and the BrainBrowser. Much more information is available at the Skandha4 project page This page is mostly about how to help the skandha4 servers running on Linux machines limp along.

Installing Skandha

Currently it is very difficult to get skandha to compile since skandha code has not been updated for a long time, but there have been changes in opengl and other libraries. The good news is that you probably won't need to since Andrew did it once and his binary works fine. Most of the projects primarily use lisp code which you can edit without recompiling skandha.

Picky about paths

There are several hard-coded paths that skandha expects to find, mostly in the lisp code. Most should be available through a combination of NFS mounts and symbolic links. The exception is /usr/people/hinshaw, which is available at /usr/local/data/archive/people/hinshaw/crown/hinshaw/

ls -ld /usr/people/andrew
ls -ld /usr/people/brinkley
ln -s /usr/local/data/archive/people/hinshaw/crown/hinshaw/ /usr/people/hinshaw
ln -s /usr/local/data/data* /usr/local
ln -s /usr/local/data/share/skanhda4 /usr/local/share/skanhda
ln -s /usr/local/data/share/skanhda4 /usr/local/share/skanhda4

So you should have all the directories like /usr/local/data1 and /usr/local/data11. }}}

Lock file workaround

There is a hardcoded temporary lock file path in src/skandha4/pub/xcore/c/flck.c and sometime the code broke and the first skandha to start up never releases the lock. So if you need to run more than one skandha do this:

touch /usr/tmp/.kblock 
chmod 000 /usr/tmp/.kblock 

I haven't seen any ill effects of preventing the lock.

Getting the files

Here's a little script I made to get the skandha tree from Kevin's home