This guide shows you how to build the networking libraries and the demo programs in the CAVERNsoft G2 distribution.
Note : A brief description of the directories in the distribution is available in Appendix AYou can now install the pre compiled library contained in the distribution (go to step 3) . Otherwise go to step 2 to build the CAVERNsoft G2 library.
nmake -f Makefile.win32 everything
Advanced users, see Appendix C for a note on the two different thread libraries with which CAVERNsoft libraries are built.
The networking libraries are now
ready for use. Go to step 4 to build the demo programs.
nmake -f makefile.win32 installThis will copy the sub-directories demos, include and lib and the files CAVERN_APPLICATION_INCLUDES.WIN32, Makefile.win32 and README.WIN32.html to the directory D:\CAVERNG2. Go on to step 4 to build the demo programs.
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.
To build the demo programs with the default options (32 bit pthreads) typecompile_demos PTHREADSTo build the demos programs with the native windows threads typecompile_demos WINDOWSTHREADSNote :see Appendix C to kow about pthreads and windows threads
The demo programs should now compile all the way through. Look into each directory and use the README file to understand how the demos should be run.
nmake -f makefile.win32
CAVERN_DO_NOT_USE_GLOBUS, CAVERN_LITTLE_ENDIAN, CAVERN_THREAD_SAFE, CAVERN_USE_PTHREADS
D:\CAVERNG2\Win32\pthreads\include, (required only if you want to use pthreads)
D:\CAVERNG2\include,
D:\CAVERNG2\lib\win32\pthreads, (or D:\CAVERNG2\lib\win32\windowsthreads if you are using native windows threads)
D:\CAVERNG2\include\CAVERNmisc_hash,
D:\CAVERNG2\include\md5key,
D:\CAVERNG2\include\keytool_md5_hashtable_treedir,
D:\CAVERNG2\include\CAVERNmisc_hashDict
(Note : D:\CAVERNG2 is the deployment directory used in our example)
cavern@evl.uic.edu
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 |