1. Preparation
 Edit file Make.inc 
 Make sure it points to right installation of Globus and Globus flavour
is proper. This program was tested only with gcc32dgpthr threaded 
version of Globus and it uses threads itself. So it most probaly won't
work properly with nontreaded version of Globus libraries. If You REALLY
need to have it working without threads - argue me.
 Variable NORDUGRID_LOCATION should contain path where this program is to be
installed (it is written in NorduGrid project, right ?). Below this path
will be mentioned as ${NORDUGRID_LOCATION} everywhere.

2. Compilation
 Run 'make' in main directory. This will create few executables in different
directories. Those are:
  grid-manager
  transfer/downloader
  transfer/uploader
  transfer/ui-uploader
  rsl/ng-parse-rsl
  misc/smtp-send
If something goes wrong, please send me whole output. For that run
'make 2>&1 | tee log` and send me file called 'log'.

3. Installation
 Run 'make install' in main directory. This will create directories
  ${NORDUGRID_LOCATION}/bin
  ${NORDUGRID_LOCATION}/sbin
  ${NORDUGRID_LOCATION}/etc
and install few files there.

4. Configuration
 This takes a bit of hands work. 
 First place file ${NORDUGRID_LOCATION}/sbin/grid-manager. This is SysV
style startup script. Make sure all paths in it are proper. Choose You
favorite way to start it. You can run manually 
'${NORDUGRID_LOCATION}/sbin/grid-manager start', 
or You can move it to /etc/rc.d/init.d/ and enable it with chkconfig,
or put it to /etc/rc.d and call it from /etc/rc.d/rc.local, or do
whatever You wish. WAIT, do not run it right now. Wait till 'Running'
section.
 Next copy file ${NORDUGRID_LOCATION}/etc/grid-manager.conf.template to
${NORDUGRID_LOCATION}/etc/grid-manager.conf or /etc/grid-manager.conf.
Open it with Your favorite editor, read carefully and edit. It contains
all necessary insructions.
 You may need to adjust few paths in files 
${NORDUGRID_LOCATION}/bin/submit-pbs-job and 
${NORDUGRID_LOCATION}/bin/cancel-pbs-job . 
Look at the beginning of those shell scripts and edit following if 
necessary:
  TMPDIR - location to store temporary files
  PBS_QSUB - full path to 'qsub' binary
  PBS_QDEL - full path to 'qdel' binary
  RUNTIME_CONFIG_DIR - place, where runtime configuration scripts are 
    located

 Now it's time to configure Your Globus. Few files called
 globus-script-ng-submit
 globus-script-ng-queue
 globus-script-ng-rm
 globus-script-ng-poll
 ng-parse-rsl
were installed in Your ${GLOBUS_LOCATION}/libexec . All You have to do
is to add new resource to globus-gatekeeper configuration with '-rdn ng'.
I suggest You call it jobmanager-ng. If You do not know how to do that, You
should consider reading Globus instructions. Look at http://www.globus.org/

5. Running
 I assume You have not moved ${NORDUGRID_LOCATION}/sbin/grid-manager
anywhere. Then just run (as root)
   ${NORDUGRID_LOCATION}/sbin/grid-manager start
 You should find /var/log/grid-manager.log file with some information 
inside.

6. Using 
 Submit job to jobmanager-ng resource of You Globus gatekeeper (or whatever
You called it). Do not user globus-job-run, use globusrun or anything better.
For supported RSL attributes look into rsl/rsl.template file .
