UNIX Loading Instructions for CMPR
Here is an outline of the steps needed to install CMPR on your 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
(zcat cmpr_sgi_binary.tar | tar xvf - or zcat cmpr_linux_binary.tar | tar xvf -)
Common Problems
- CMPR reports an error: "Error -- Unable to load the BLT package" and exists
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
tclpkgs80.html to see how to change the
pkgIndex.tcl file.
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. 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).
Brian Toby (Brian.Toby@NIST.GOV)
9/98