#!/bin/csh # Wrapper for dapple # Use this for a more diverse server cluster # Platform-specific setup commands # GDE requires the obsolete xview libraries, which are probably available by default on # Solaris systems in /usr/openwin, but we put this here just to make sure. # Linux systems almost never have /usr/openwin, so we need to supply that in lib-linux-intel/openwin/lib. # We put /usr/dt/lib in in case someone is using CDE, and the other libraries are there just as additional # fallbacks. For example, if /usr/openwin/lib wasn't on your Solaris system, you could install it in # $BIRCH/local/lib-solaris-sparc. setenv BIRCHLIBS "" switch ($BIRCH_PLATFORM) case "solaris-sparc": setenv BIRCHLIBS "/usr/qt/lib:/usr/local/qt/lib:/usr/openwin/lib:/usr/lib:/usr/lib/X11:/usr/dt/lib:$BIRCH/lib-solaris-sparc:$BIRCH/local/lib-solaris-sparc" breaksw # case "sun": # DEPRECATED # setenv BIRCHLIBS "/usr/openwin/lib:/usr/lib:/usr/dt/lib:$BIRCH/lib-solaris-sparc:$BIRCH/local/lib-solaris-sparc" # breaksw # case "linux-intel": # setenv BIRCHLIBS $BIRCH/lib-linux-intel:$BIRCH/lib-linux-intel/openwin/lib:$BIRCH/local/lib-linux-intel # breaksw # case "AIX": # breaksw # case "HP": breaksw default: breaksw endsw #echo BIRCHLIBS $BIRCHLIBS if ( "$BIRCHLIBS" != "" ) then if ${?LD_LIBRARY_PATH} then setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH":"$BIRCHLIBS" else setenv LD_LIBRARY_PATH "$BIRCHLIBS" endif endif #echo LD_LIBRARY_PATH $LD_LIBRARY_PATH #echo `whoami` `date` >> $BIRCH/local/admin/gde.log dapple.bin $argv