The examples in this directory show how to use the new
Open GENIE get routines.  Instructions for compiling the
examples are given below.

Please note that for the FORTRAN examples, where the GDAI documentation
specifies a GX_ prefix, you will need to substitute a GF_ prefix. Otherwise
the code is similar.


Windows NT
==========

These examples are best run from a console window.  Ensure that as a minimum, the
GENIE data access routines have been installed.


1) FORTRAN examples

	df ftestget.f geniedll.lib


2) C++/C examples

	cl testget.cxx geniedll.lib


UNIX
====

1) FORTRAN examples

	f77 -o ftestget -L/usr/local/lib ftestget.f -lgenie

	Once compiled, some symbols need to be set up before the image will run, on
	UNIX this is done as below. 

	LD_LIBRARY_PATH=/usr/local/genie
	GENIE_SMALLTALK_IMAGE=/usr/local/genie/genie.im
	export LD_LIBRARY_PATH GENIE_SMALLTALK_IMAGE

	the program can then be run with

	./testget or ./ftestget


2) C++/C examples.

	c++ -o testget -L/usr/local/lib testget.cxx -lgenie


VMS
===

1) FORTRAN examples

	$ for ftestget.f
	$ link ftestget, newget/opt
	$ r ftestget


2) C++/C examples

	cxx testget.cxx
	link ftestget, sys$input/opt
    lib$disk:[opengenie_1_2.genie]genie.so/share		    (or wherever this is installed)
