Installation notes for CMPR for Windows-95, -98 and -NT
Report problems to Brian Toby.
1. Download the following files:
You can put these files anywhere on your computer, but make a note of the
locations for steps 2, 3 and 4, below. See the note
below before using
a different version of Tcl/Tk.
2. Run the programs
Use the file manager or Run command to succesively run, tcltk80p2+.exe,
and cmpr_win.exe (the order should not matter);
This will cause the files to be unpacked. The default
locations for installation are:
tcltk80p2+.exe
c:\tcl
cmpr_win.exe
c:\cmpr
It should be possible to load the files in other locations. Note that
if you use the cmpr_alpha_win.zip file, you will need to unzip the file
with a program such as pkunzip or WinZip.
3. Create a shortcut:
-
On a blank part of the Windows desktop, click the right mouse
button and then select NEW and then shortcut and click with the left
mouse button.
-
provide command
c:\tcl\bin\wish80.exe c:\cmpr\cmpr.tcl
(modify the paths if you have located the files in different directories
other than the defaults)
-
click on NEXT with the left mouse button.
-
Enter name CMPR
-
click on FINISH with the left mouse button.
You may want to modify the shortcut by modifying the properties to
change the icon or the default properties.
4. Delete the downloaded .exe (& .zip) files to save space (optional)
tcltk80p2+.exe
cmpr_win.exe
cmpr_alpha_win.zip
More information about CMPR can be found in http://www.ncnr.nist.gov/programs/crystallography/software/cmpr
Questions
1. Can I use a different version of Tcl/Tk than the one here?
Yes -- but: you will need both Tcl/Tk and BLT. Tix is optional.
If you get a message that the BLT package could not be loaded, then your
version of BLT is not configured properly.
If you care what vintage of Tcl/Tk you are using, you are obviously a "power
user" and can read the tcl code to figure all this out.
3. What versions of Windows can I use?
CMPR has worked for people on Windows-95, -98 and Windows-NT
v4.0 machines.
Perhaps one can get Tcl/Tk and BLT to run under Win3.1, but don't ask me.
I do not know about use of Tcl/Tk and BLT with
other versions of Windows. If Tcl/Tk and BLT work, then CMPR will work,
perhaps with some minor modifications.
Acknowledgements
The version of Tcl/Tk here was compiled by Mumit
Khan; 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. 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)
12/99