Software Links
Getting Started
- A Globus Primer
- Globus Is Modular!
- Quickstart
- Installing GT
- Platform Notes
- GT Developer's Guide
- GT User's Guide
- Migrating Guides
Reference
Manuals
Common Runtime
Security
- GSI C
- GSI Java
- Java WS A&A
- C WS A&A (coming soon)
- CAS
- Delegation Service
- MyProxy
- GSI-OpenSSH
- SimpleCA
Data Mgt
WS MDS
Execution Mgt
Table of Contents
![]() | Important |
|---|---|
You should include the following environment variables in your shell
configuration file. (example |
In order to set the user environment, follow these steps:
Set up Globus user environment:
$ source $GLOBUS_LOCATION/etc/globus-user-env.sh
or
$ . $GLOBUS_LOCATION/etc/globus-user-env.csh
depending on the shell you are using.
Set up the GridWay user environment:
$ export GW_LOCATION=<path_to_GridWay_installation> $ export PATH=$PATH:$GW_LOCATION/bin
or
$ setenv GW_LOCATION <path_to_GW_location> $ setenv PATH $PATH:$GW_LOCATION/bin
depending on the shell you are using.
Optionally, you can set up your environment to use the GridWay DRMAA library:
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GW_LOCATION/lib
or:
$ setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:$GW_LOCATION/lib
If GridWay has been compiled with accounting support, you may need to set up the DB library. For example, if DB library has been installed in
/usr/local/BerkeleyDB.4.4:$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/BerkeleyDB.4.4/lib
![[Note]](/docbook-images/note.gif)
Note This step is only needed if your environment has not been configured, ask your administrator.
DRMAA extensions for all the languages use the dynamic drmaa libraries provided by GridWay. To use this libraries it is needed to tell the operating system where to look for them. Here are described the steps needed to do this in Linux and MacOS X.
1. In linux we have two ways to do this, one is using environment variables and the other one is modifying systemwide library path configuration. You only need to use one of this methods. If you do not have root access to the machine you are using or you do not want to setup it for every user in your system you have to use the environment variable method.
1.1 The environment variable you have to set so the extensions find the required DRMAA library is LD_LIBRARY_PATH with a line similar to:
export LD_LIBRARY_PATH=$GW_LOCATION/lib
If you want to setup this systemwide you can put this line alongside
GW_LOCATIONsetup into/etc/profile. If you do not have root access or you want to do it per user the best place to do it is in the user's.bashrc.You can also do this steps in the console before launching your scripts as it will have the same effect.
Systems that use GNU/libc (GNU/Linux is one of them) do have a systemwide configuration file with the paths where to look for dynamic libraries. You have to add this line to
/etc/ld.so.conf:<path_to_gridway_installation>/lib
After doing this you have to rebuild the library cache issuing this command:
# ldconfig
In MacOS X you have to use the environment variable method described for Linux but this time the name of the variable is
DYLD_LIBRARY_PATH.
![[Important]](/docbook-images/important.gif)