#!/bin/csh -f
#
# NOTE: If CCP4 is installed, do not use this laue.setup procedure which
#       is a subset of the corresponding LAUE procedure.
#
# This file is both Site and Machine specific. The Laue Suite administrator will
# have to edit this file and then let anyone who want to use the suite source
# it from their .login file. They will require the full path name since 
# no environment variables (logical names) are known until this is executed.
#
# For sites with more than one machine, it is recommended that the suite
# is installed on a single machine and other machines access the source
# code by nfs mounted disks. This is the set up at Daresbury. It requires
# two extra environment variables, one for the directory for the executables
# and the other for the directory of object libraries and (binary) data files.
#
# For Single machine installations you need to edit the environment variables
# for the 'default': case in the switch statements below. 
#
# For multiple machine installations you need to edit the names of the hosts
# in the switch statement below as well as the environment variables.
#
# You MUST edit the following environment variables:
#
# LAUE_MASTER   ==> top level directory for the suite (usually /public/xtal)
# LAUE_SCR      ==> scratch disk for each user (set to a subdirectory named
#                   $USER on a scratch disk) - try to avoid /tmp.
# LAUE_BIN      ==> the directory for (binary) executables \ also edit the
# LAUE_LIB      ==> the directory for (binary) objects     / hostname cases
#
#
setenv LAUE_MASTER       /nfs/dlpx1/home/xtal     # Edit this
#
setenv LAUE_BIN      ${LAUE_MASTER}/bin
setenv LAUE_LIB      ${LAUE_MASTER}/lib
setenv LAUE_SCR      /tmp/$USER   
#
#
# You may CHOOSE to edit the following environment variable:
#
# LAUE_OPEN     ==> set to 'UNKNOWN' or 'NEW' to stop open failures for files
#                   opened as NEW that already exist. Novices should use 'NEW'. 
#
setenv LAUE_OPEN       UNKNOWN
#
#
# Essential aliases for the Laue software suite
#
alias laue '$LAUE_MASTER/bin/laue.cmd'
alias lget '$LAUE_MASTER/bin/lget.cmd'
alias linkimages '$LAUE_MASTER/bin/linkimages.cmd'
