File: kshrc.stub

package info (click to toggle)
pvm 3.4beta7-4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 5,256 kB
  • ctags: 5,938
  • sloc: ansic: 66,147; makefile: 1,446; fortran: 631; sh: 424; csh: 70; asm: 37
file content (30 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

#
# 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