Platform Version SGI Irix Version 6.5 Linux Red Hat 6.1
gunzip CAVERNG2_xxx.tar.gz
tar -xvf CAVERNG2_xxx.tar
gunzip globus_distrib.tar.gz
tar -xvf globus_distrib.tar
Note : A brief description of the directories in the distribution is available in Appendix A
Now you can install the pre compiled CAVERNsoft G2 library that is contained in the distribution (go to Step 3 directly). If you want to first build the CAVERNsoft G2 libraries, go on to Step 2..
CAVERN_DISTRIB=/usr/tmp/CAVERN/CAVERNG2_XXX; export CAVERN_DISTRIBFor C shell and tcsh, use:
setenv CAVERN_DISTRIB /usr/tmp/CAVERN/CAVERNG2_XXX
Platform | SETUP File to Use |
SGI Irix | SETUP.IRIX |
Linux | SETUP.LINUX_X86 |
Platform | Compiler used |
SGI Irix | CC |
Linux | g++ |
make everything_with_globus
Advanced users, see Appendix B for more options on compiling the libraries.
The networking libraries are now ready for use. Go to step 4 to build the demo programs.
If you need to make the CAVERNsoft networking APIs available to other users, you should install CAVERNsoft in a deployment directory which is separate from the working directory used in Step 2 . Alternatively, you may have skipped Steps 2 and you may want to simply install the pre compiled CAVERNsoft G2 library on your system. To do so follow the instructions below:
CAVERN_DISTRIB=/usr/local/CAVERNG2; export CAVERN_DISTRIBFor C shell and tcsh, use:
setenv CAVERN_DISTRIB /usr/local/CAVERNG2
The demo programs are a set of sample programs located in the 'demos' sub directory of the distribution. These demo programs are strictly for CAVERNsoft's networking APIs. The demo programs exist in four directories under the demos sub directory (db, network, misc, threads). A 'README' file in each directory (located in the 'docs' sub directory) describes the demo programs.Before you build the demo programs, you should have installed CAVERNsoft G2 in a deployment directory.
To build the demo programs with the default options (32 bit pthreads) typecompile_demos pthreads 32 USE_GLOBUS
The demo programs should now compile all the way through. Look into each directory and use the docs/README.html file to understand how the demos should be run.
It demonstrates how you can compile and link a program test.cxx with CAVERNsoft G2.
Type make to build your program.
Directory | Description |
demos | contains sample programs that use the CAVERNsoft G2 version 1.2 networking APIs. |
globus | contains the header files (for pthreads and sprocs) and pre compiled globus libraries for SGI IRIX and Linux. |
globus_all, globus_build | contains the globus distribution |
include | contains header files for CAVERNsoft G2 version 1.2 |
lib | contains pre compiled library files of CAVERNsoft G2 for SGI IRIX, Linux, Solaris and Microsoft Windows |
perf_daemon | contains performance monitoring daemon server and a simple performance monitoring client. |
src | contains source code for CAVERNsoft G2 version 1.2 |
WIN32 | contains the pthreads library |
(Y indicates that you can use the command for that platform, N implies that you cannot)
Set of libraries |
Commands to use |
SGI -IRIX | Linux |
All CAVERNsoft G2 libraries without using the globus libraries | make everything | Y | Y |
All CAVERNsoft G2 libraries using Globus Libraries | make everything_with_globus | Y | Y |
32 bit Globus Library with pthreads | make globus_pthreads_32 | Y | Y |
64 bit Globus Library with pthreads | make globus_pthreads_64 | Y | N |
New 32 bit Globus Library with pthreads | make globus_pthreads_n32 | Y | N |
32 bit Globus Library with sproc | make globus_sproc_32 | Y | N |
64 bit Globus Library with sproc | make globus_sproc_64 | Y | N |
New 32 bit Globus Library with sproc | make globus_sproc_n32 | Y | N |
32 bit CAVERNsoft G2 Library with pthreads version of Globus | make cavern_pthreads_32 | Y | Y |
64 bit CAVERNsoft G2 Library with pthreads version of Globus | make cavern_pthreads_64 | Y | N |
New 32 bit CAVERNsoft G2 Library with pthreads version of Globus | make cavern_pthreads_n32 | Y | N |
32 bit CAVERNsoft G2 Library with sproc version of Globus | make cavern_sproc_32 | Y | N |
64 bit CAVERNsoft G2 Library with sproc version of Globus | make cavern_sproc_64 | Y | N |
New 32 bit CAVERNsoft G2 Library with sproc version of Globus | make cavern_sproc_n32 | Y | N |
32 bit CAVERNsoft G2 without Globus | make cavern_pthreads_32_without_globus | Y | Y |
64 bit CAVERNsoft G2 without Globus | make cavern_pthreads_64_without_globus | Y | N |
New 32 bit CAVERNsoft G2 without Globus | make cavern_pthreads_n32_without_globus | Y | N |
(Y indicates that you can use the command for that platform , N implies that you cannot)
Description
(binary type - thread type - with/ without globus) |
Command to use | SGI - IRIX | Linux | Solaris |
32 bit pthreads without globus | compile_demos pthreads 32 | Y | Y | Y |
64 bit pthreads without globus | compile_demos pthreads 64 | Y | N | N |
n32 bit pthreads without globus | compile_demos pthreads n32 | Y | N | N |
32 bit sproc without globus | compile_demos sproc 32 | Y | N | N |
64 bit sproc without globus | compile_demos sproc 64 | Y | N | N |
n32 sproc without globus | compile_demos sproc n32 | Y | N | N |
32 bit pthreads with globus | compile_demos pthreads 32 USE_GLOBUS | Y | Y | N |
64 bit pthreads with globus | compile_demos pthreads 64 USE_GLOBUS | Y | N | N |
n32 bit pthreads with globus | compile_demos pthreads n32 USE_GLOBUS | Y | N | N |