
#
# append this file to your .profile to set path according to machine
# type.  you may wish to use this for your own programs (edit the last
# part to point to a different directory f.e. ~/bin/_$PVM_ARCH.
#
if [[ -z $PVM_ROOT ]]; then
    if [[ -d ~/pvm3 ]] then
        export PVM_ROOT=~/pvm3
    else
        print "Warning - PVM_ROOT not defined"
        print "To use PVM, define PVM_ROOT and rerun your .profile"
    fi
fi

if [[ -n $PVM_ROOT ]]; then
    export PVM_ARCH=`$PVM_ROOT/lib/pvmgetarch`
#
# uncomment one of the following lines if you want the PVM commands
# directory to be added to your shell path.
#
#       export PATH=$PATH:$PVM_ROOT/lib            # generic
#       export PATH=$PATH:$PVM_ROOT/lib/$PVM_ARCH  # arch-specific
#
# uncomment the following line if you want the PVM executable directory
# to be added to your shell path.
#
#       export PATH=$PATH:$PVM_ROOT/bin/$PVM_ARCH
fi

