UNIX Installation Instructions for CMPR
|
Here is an outline of the steps needed to install
CMPR
on your UNIX computer.
Report problems to Brian Toby.
To use CMPR on another type of computer, you will likely have to edit the file
src/Makefile and then use the command make make.
If you don't have access to FORTRAN compiler, you can download and
use the binary versions of the
FORTRAN programs for SGI and LINUX, which are included
in the following tar files.
Download the appropriate file and expand it in the same directory as before
(gunzip < cmpr_sgi_binary.tar | tar xvf - or gunzip < cmpr_linux_binary.tar | tar xvf -)
Common Problems
- CMPR reports an error: "Error -- Unable to load the BLT package" and exits
after the OK button is pressed.
You do not have BLT installed in the right place so that it
can be loaded with a "package require" command.
Click here for instructions on installing
the Tcl/Tk and BLT packages.
- I get an error message saying: invalid command name "Blt_ZoomStack".
(In CMPR version 1.4 and later, you will get a message saying "Error in BLT
support routines: invalid command name Blt_ZoomStack")
The routines in BLT's pkgIndex.tcl file do not reference the routines
in the bltGraph.tcl file. This is a bug that never seems to get fixed. See my
notes at the end of
http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs80.html
to see how to change the pkgIndex.tcl file.
- During the build, I get an error message saying: g77 - unknown command.
To build the binary files, you need a FORTRAN compiler. The makefiles assume
this g77 on Linux and f77 on an SGI. If you are using a different compiler,
you will need to spend some time working on the makefile
(please send it to me when it works so that I can share it).
If you do not have a compiler installed,
you will need to get one, or else use the precompiled binaries (above).
Acknowledgements
Praise to John Ousterhout
for creating Tcl/Tk and to Przemek
Klosowski for convincing me to learn Tcl/Tk.
Neither the author nor the U.S. Government makes any warranty, expressed
or implied, or assumes any liability or responsibility for the use of this
information or the software described here. Brand names cited here are used
for identification purposes and do not constitute an endorsement by NIST.
CMPR is written by Brian
H. Toby of the NIST Center for Neutron Research.
CMPR is not subject to copyright.
Small FORTRAN
programs used in CMPR contain routines borrowed from lots of sources:
The reflection generation code traces back to the NIST AIDS*83 (C. Hubbard,
J. Stalick, A. Mighell & others), space group extinctions from NRC
symmetry codes (A. C. Larson) and peak fitting uses GPLSFTA (D. Cox, W.
Hamilton, L. Finger & many others).
Comments, corrections or questions: crystal@NIST.gov
lastmod(); ?>
$Revision: 1.3 $ $Date: 2000/05/19 03:22:29 $