*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
Hi Alun,
Here's how we've got it setup in our module file:
#%Module1.0#####################################################################proc
ModulesHelp { } {
global dotversion
puts stderr "The ccp4 modulefile provides CCP4 version 6.0."
puts stderr "Type 'module list' to verify that the ccp4 modulefile is
loaded.\n"
puts stderr "Information about CCP4 usage is provided in:"
puts stderr "
http://holmes.cancres.nottingham.ac.uk/facilities/wiki/index.php/CCP4\n"
puts stderr "Additional environment can be provided by calling other
modules."
puts stderr " See 'module avail' for available modules.\n"
}
module-whatis "Sets up CCP4 version 6.0"
# for Tcl script use only
set CCP4_MASTER /usr/local/CCP4
set CCP4_SCR /tmp/$env(USER)
set CCP4 $CCP4_MASTER/ccp4-6.0
set CBIN $CCP4/bin
set CLIB $CCP4/lib
set CCP4_LIB $CLIB
set CCP4_HELPDIR $CCP4/help/
set CCP4I_TOP $CCP4/ccp4i
set CETC $CCP4/etc
set CPROG $CCP4/src
set CINCL $CCP4/include
set CLIBD $CCP4/lib/data
set CLIBS $CCP4/lib/src
set CEXAM $CCP4/examples
set CDOC $CCP4/doc
set CHTML $CCP4/html
set CCP4_BROWSER netscape
setenv CCP4_MASTER $CCP4_MASTER
setenv CCP4 $CCP4_MASTER/ccp4-6.0
setenv CCP4_SCR $CCP4_SCR
setenv BINSORT_SCR $CCP4_SCR
setenv CCP4I_TOP $CCP4I_TOP
setenv CBIN $CCP4/bin
setenv CLIB $CCP4/lib
setenv CCP4_BROWSER netscape
setenv CCP4_LIB $CCP4_LIB
setenv CCP4_BIN $CBIN
setenv CLASSPATH $CBIN:.
setenv PLOT_COMMAND "lp -s -dmicrolaser"
setenv PRINT_COMMAND "lp -s -denscript"
setenv CCP4_OPEN UNKNOWN
setenv XUSERFILESEARCHPATH
$CCP4_LIB/X11/app-defaults/%N:/usr/lib/X11/app-defaults
setenv MMCIFDIC $CLIB/cif_mmdic.lib
setenv CRANK $CCP4/ccp4i/crank
setenv CLIBD_MON $CCP4/lib/data/monomers/
setenv PUBLIC_FONT84 $CLIB/font84.dat
setenv CCP4_HELPDIR $CCP4_HELPDIR
setenv HELPDIR $CCP4_HELPDIR
setenv MOSHELPFILE mosflm
setenv CCP4 $CCP4
setenv CDOC $CCP4/doc
setenv CHTML $CCP4/html
setenv CETC $CETC
setenv CEXAM $CCP4/examples
setenv CINCL $CCP4/include
setenv CLIBD $CCP4/lib/data
setenv CLIBS $CCP4/lib/src
setenv CPROG $CCP4/src
setenv MCTYPE unix
setenv TRAP_FPE "OVERFL=ABORT; DIVZERO=ABORT; INVALID=ABORT"
setenv CCP4I_TCLTK /usr/local/bin/
setenv CCP4I_HELP $CCP4I_TOP/help
setenv MOLREPLIB $CCP4/lib/data/monomers/
setenv RASMOLPATH $CCP4/x-windows/RasMol/src
setenv MMCIFDIC $CLIB/data/cif_mmdic.lib
prepend-path MANPATH $CCP4/man
prepend-path LD_LIBRARY_PATH $CLIB
prepend-path DYLD_LIBRARY_PATH $CLIB
prepend-path PATH $CCP4/etc
prepend-path PATH $CBIN
prepend-path PATH $CCP4I_TOP/bin
set-alias ccp4 "pushd $CCP4>/dev/null"
set-alias xtal "pushd $CCP4_MASTER>/dev/null"
set-alias cbin "pushd $CBIN>/dev/null"
set-alias cetc "pushd $CETC>/dev/null"
set-alias cprog "pushd $CPROG>/dev/null"
set-alias cincl "pushd $CINCL>/dev/null"
set-alias clib "pushd $CLIB>/dev/null"
set-alias clibd "pushd $CLIBD>/dev/null"
set-alias clibs "pushd $CLIBS>/dev/null"
set-alias cbin "pushd $CBIN>/dev/null"
set-alias cexam "pushd $CEXAM>/dev/null"
set-alias cdoc "pushd $CDOC>/dev/null"
set-alias chtml "pushd $CHTML>/dev/null"
set-alias ccp4help "$CCP4_BROWSER $CHTML/INDEX.html &"
set-alias laue "$CCP4_MASTER/laue/cmd/laue.cmd"
set-alias lget "$CCP4_MASTER/laue/cmd/lget.cmd"
set-alias linkimages "$CCP4_MASTER/laue/cmd/linkimages.cmd"
set-alias llaue "pushd $CCP4_MASTER/laue"
set-alias lsrc "pushd $CCP4_MASTER/laue/src>/dev/null"
set-alias llib "pushd $CCP4_MASTER/laue/lib>/dev/null"
set-alias llibs "pushd $CCP4_MASTER/laue/lib/src>/dev/null"
set-alias ldoc "pushd $CCP4_MASTER/laue/doc>/dev/null"
set-alias lmak "pushd $CCP4_MASTER/laue/make>/dev/null"
set-alias lutils "pushd $CCP4_MASTER/laue/utils>/dev/null"
set-alias lcmd "pushd $CCP4_MASTER/laue/cmd>/dev/null"
set-alias ldl "pushd $CCP4_MASTER/laue/dl>/dev/null"
set-alias ltestd "pushd $CCP4_MASTER/laue/testdata>/dev/null"
set-alias lxdl "pushd $CCP4_MASTER/laue/xdl_view>/dev/null"
set-alias lxdls "pushd $CCP4_MASTER/laue/xdl_view/src>/dev/null"
set-alias lgnom "pushd $CCP4_MASTER/laue/gnom>/dev/null"
set-alias lgnoms "pushd $CCP4_MASTER/laue/gnom/src>/dev/null"
set-alias lbin "pushd $CBIN>/dev/null"
if { ! [ file exists $CCP4_SCR ] } {
file mkdir $CCP4_SCR
}
Hope this helps.
Paul..
##################################
Dr Paul A. McEwan
Post-Doctoral Research Fellow
Protein Crystallography Group
Centre for Biomolecular Science
Clifton Boulevard
University of Nottingham
Nottingham
NG7 2RD
Tel: 0115 8468009
http://www.nottingham.ac.uk/~pazxtal
##################################
>>> "Ashton, AW (Alun)" <[EMAIL PROTECTED]> 10/27/06 3:18 PM >>>
*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
(Basically I'm on the scrounge!)
I know that quite a few sites out there use the module package
(http://modules.sourceforge.net/) to rationalise their software
environments, versions etc (and make sense out of the ever growing
$PATH).
Can anyone tell me if they have actually reproduced e.g. the whole
ccp4.setup file as a modulefile? I would greatly appreciate any
modulefile examples and if someone has reproduced the whole ccp4.setup
and other setup files for MX software it would be a really useful
resource if this could be made publicly available (alternatively this is
something I would be happy to do).
Thanks in advance,
Alun
___________________________________________________________
Alun Ashton, [EMAIL PROTECTED] Tel: +44 1235 778404
Data Acquisition Group, http://www.diamond.ac.uk/
Diamond Light Source, Chilton, Didcot, Oxon, OX11 0DE, U.K.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.