# egcgstartup # # THIS FILE MUST BE SOURCED BEFORE THE EGCG PACKAGE CAN BE INITIALIZED. # # *** WARNING *** # While this file can be changed with an editor, it is not recommended. # This file is configured by installgcg.csh and installdata.csh, # furthermore, it is filtered to produce gcgstartup.ksh. # The scripts that configure this file and produce gcgstartup.ksh are # simplistic and may be fooled if this file is radically altered. # *************** # # Normally this file is configured by the gcgstartup script for your # site. Only for special configurations should you need to edit this # file by hand. The following comments are to assist you should the # need arise. # # Assign Site Specific Enviroment Variables for the EGCG Package. # # The following lines define the environment variable EOSNAME. A prior # definition of this variable will override this code. You should # not have to modify these lines. # if ( ! $?EOSNAME ) then switch ( `uname -s` ) case AIX: setenv EOSNAME aix; breaksw case IRIX: setenv EOSNAME irix; breaksw case OSF1: setenv EOSNAME osf; breaksw case SunOS: setenv EOSNAME solaris; breaksw case ULTRIX: setenv EOSNAME ultrix; breaksw case default: echo "Unknown or unsupported Operating System." echo "gcgstartup exiting..." exit 1 endsw endif # # Define the location of the software sets. The location of the software # depends on EGCGBASEROOT and the location of the binary set depends on # EGCGOPTROOT. # setenv EGCGBASEROOT /nfs/disk21/pmr/egcg8 setenv EGCGOPTROOT $EGCGBASEROOT setenv EGCGQUICKROOT /nfs/disk42/users/gcgdata # # Define the location of the binaries by defining EGCGBINROOT # # The script installegcg.csh relies on the comments at the ends of # the the following lines. If you alter them, installegcg will not be able # to automatically configure this file. switch ( $EOSNAME ) case aix: setenv EGCGBINROOT $EGCGBASEROOT/aix # aix breaksw case irix: setenv EGCGBINROOT $EGCGBASEROOT/irix # irix breaksw case osf: setenv EGCGBINROOT $EGCGBASEROOT/osf # osf breaksw case solaris: setenv EGCGBINROOT $EGCGBASEROOT/solaris # solaris breaksw case ultrix: setenv EGCGBINROOT $EGCGBASEROOT/ultrix # ultrix breaksw endsw # # Define the location of the startup file. You may want to put other # files that are related to the gcg package, but specific to your site in # this directory. # setenv EGCGSTARTUPDIR $EGCGBASEROOT # # Define the EGCG command and alias # setenv EGCGCOMMAND $EGCGSTARTUPDIR/egenetics alias egcg "source $EGCGCOMMAND" # # Define the location of the X Windows libraries and include files. This is # only needed if they are not in /usr/lib and /usr/include/X11 respectively. # It is normal for Solaris to put this stuff in /usr/openwin. If your # X Windows libraries and include files are in a different location, # edit the following lines to fit. # if ( $EOSNAME == solaris ) then if ( ! $?OPENWINHOME ) then setenv OPENWINHOME /usr/openwin endif setenv XLIB "-L$OPENWINHOME/lib -lX11" setenv XLIB_INC -I$OPENWINHOME/share/include setenv XTLIBS "-L$OPENWINHOME/lib -lXt -lX11" if ( $?MOTIFHOME ) then setenv XMLIB "-L$MOTIFHOME/lib -lXm" setenv MOTIF_INC "-I$MOTIFHOME/include" endif else setenv XLIB "-lX11" setenv XTLIBS "-lXt -lX11" setenv XMLIB "-lXm" setenv MOTIF_INC endif # # Define the location of the EGCG shared libraries. You should not have # to edit these lines. # set shLibPath=$EGCGBINROOT/oblib switch ( $EOSNAME ) case irix: if ( $?LD_LIBRARY_PATH ) then echo $LD_LIBRARY_PATH | egrep -s $shLibPath if ( $status != 0 ) then setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$shLibPath endif else setenv LD_LIBRARY_PATH $shLibPath endif breaksw case osf: if ( $?LD_LIBRARY_PATH ) then echo $LD_LIBRARY_PATH | egrep -s $shLibPath if ( $status != 0 ) then setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$shLibPath endif else setenv LD_LIBRARY_PATH $shLibPath endif breaksw case solaris: if ( $?LD_LIBRARY_PATH ) then echo $LD_LIBRARY_PATH | egrep -s $shLibPath if ( $status != 0 ) then setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$shLibPath endif else setenv LD_LIBRARY_PATH $shLibPath endif breaksw case aix: if ( $?LIBPATH ) then echo $LIBPATH | egrep -s $shLibPath if ( $status != 0 ) then setenv LIBPATH ${LIBPATH}:$shLibPath endif else setenv LIBPATH /lib:/usr/lib:$shLibPath endif breaksw endsw # # The rest of this file need not be changed, unless you do not have # a common root for the EGCG software trees or data directory trees. # # ------------------------------------------------------------------- # # THE SOFTWARE AND ON-LINE HELP DISKS # setenv EGCGCOREROOT $EGCGBASEROOT setenv EGCGHELPROOT $EGCGBASEROOT setenv EGCGWPIROOT $EGCGBASEROOT setenv EGCGWPIBINROOT $EGCGBINROOT # # THE SOURCE CODE AND DOCUMENTATION DISKS # setenv EGCGDOCROOT $EGCGOPTROOT setenv EGCGSOURCEROOT $EGCGOPTROOT # # THE DATA DISKS # setenv EGCGQUICKROOT $EGCGQUICKROOT # # **** The rest of this file is generally left unchanged **** # # Define the location of the executables # setenv EGCGUTILDIR $EGCGBINROOT/egcgbin/execute # # Define the EGCG Support command # setenv EGCGSUPPORT $EGCGCOREROOT/egcgcore/sysscript/system # # The rest of this file is protected from cshtoksh by this line. #