Installing CAVERNsoft

Before installing please note that CAVERNsoft is currently for the SGI only. In particular it requires an SGI with a pthreads-patched IRIX 6.2 or any SGI running IRIX 6.3, 6.4, 6.5 Note, ONLY IRIX 6.2 needs to be patched. The optimum OS to use is IRIX 6.5.3 and above. It fixes a lot of pthreads related problems.

Download
DOWNLOAD CAVERN
 
After downloading the CAVERNsoft source distribution, edit the first  definition in:
CAVERN_MAKEFILE_INCLUDES_SPROC_32, CAVERN_MAKEFILE_INCLUDES_SPROC_N32, CAVERN_MAKEFILE_INCLUDES_PTHREAD_32, CAVERN_MAKEFILE_INCLUDES_PTHREAD_N32, CAVERN_MAKEFILE_INCLUDES_PTHREAD_64, CAVERN_MAKEFILE_INCLUDES_SPROC_64  to point to the directory where the distribution directory will reside.

The demos directory contains examples of CAVERN programs to get you started. The Makefiles in these directories rely on CAVERN_MAKEFILE_INCLUDES... for the correct location of Nexus and CAVERN libraries.

The distribution libraries are already pre-compiled. You will however need to compile the tools and the demos. To do this type:


Compiling a CAVERNsoft-based Application

The best way to begin is to use one of the demo program's Makefiles as an example- like: Make sure to include  one of the 4 Makefile include files in your Makefile: _SPROC_ refers to the versions of CAVERNsoft and Globus that use SPROC for multithreading.
_PTHREAD_ refers to the versions of CAVERNsoft and Globus that use Pthreads for multithreading.
_32 refers to the old 32 bit SGI binary format.
_N32 is the new SGI 32 bit format.
_64 is the 64bit binary format. Only works on IRIX 6.4 and up.

See tips for more information.