2.4 Set up your environment

You will need to define a couple of environment variables, preferably in your login script.

If you are using some kind of batch system, make sure that they are set not only for interactive work, but also for batch use. In a distributed parallel environment, like a Linux cluster, make sure that these environment variables are set on all nodes.

All these environment variables are also automatically passed on from the master process to the child processes in case of a parallel run. Thus the values set on the node where you start the program will override any value you may have set on the nodes where the child processes are running. Typically, you should still set the environment variables on all nodes since you won't know in advance on which node the master will run.

Environment variables: ALL versions

variable example value comments
ADFHOME $HOME/adf2006.01 (full path) main directory (see 2.3)
ADFBIN $ADFHOME/bin (full path) directory for scripts and binaries
ADFRESOURCES $ADFHOME/atomicdata (full path) directory with the ADF database (basis sets and so on)
SCMLICENSE $ADFHOME/license (full path) the (future) location of your license file

Environment variables: PARALLEL versions

variable example value comments
NSCM (number of processors) default number of parallel processes; do not put it in the shells's rc file
SCM_TMPDIR /scratch/$USER (full path) directory where child processes should create scratch files
SCM_USETMPDIR yes master process should also use SCM_TMPDIR

Environment variables: PVM version

variable example value comments
PVM_ROOT $HOME/pvm3 (full path) directory with PVM installation
PVM_ARCH SGI6 architecture code for your machine (NOTE: use SGI6 on SGI IRIX)

Environment variables: MPICH version

variable example value comments
MPIDIR /mpich/1.2.4/ch_p4 (full path) directory with ch_p4 MPICH installation
SCM_MACHINEFILE $HOME/.machine (full path, MPICH only) file listing nodes to use

Environment variables: only for ADFPLT

variable value comments
GKSGT_LIB /usr/local/lib (full path) directory with GKSGR lib

 

Copyright      Terms of Use      Privacy Policy
Search:
Home
About
News
Sitemap
Contact
Why ADF?
Brochure
Demos
Trial Version
How to buy
Downloads
FAQ
Newsletters
Documentation
Community