Installation notes for GSAS with the EXPGUI GUI for Windows-95
and -NT
Note that this is experimental software and these instructions
have gotten only minimal testing. Report problems to
Brian Toby
1. Download the following files:
You can put these .EXE files anywhere on your computer, but make a note of the
locations for steps 2 and 4, below.
2. Run the programs
Use the file manager or Run command to succesively run, gsaskit_Jan98.exe,
tcltk80p2+.exe, and expgui.exe (the order should not matter).
[N.B. the expgui.exe file is not yet available, use the expgui.zip file
and uncompress with a zip tool into c:/gsas/tcl]
This will cause the files to be unpacked. The default
locations for installation are:
gsaskit_Jan98.exe
c:/gsas
tcltk80p2+.exe
c:/tcl
expgui.exe
c:/gsas/tcl
These files can be located on other disks and in directories with
other names, but the expgui.exe files
must be located in a subdirectory of the GSAS files.
If these files will be located on a fileserver, the file server
must be mapped to appear as a disk drive (must be assigned a name
such as F:).
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:\gsas\tcl\expgui
(modify previous paths, if you have located the files in different places)
-
click on NEXT with the left mouse button.
-
Enter name EXPGUI
-
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 files to save space (optional)
gsaskit_Jan98.exe
tcltk80p2+.exe
expgui.exe
More information about EXPGUI, including information on how it
can be customized, can be found on web pages expgui.html
and expgui_cfg.html,
found in the \gsas\tcl\doc directory.
Questions
1. Can I use a different version of Tcl/Tk than the one here?
Yes -- but: you will need both Tcl/Tk and the Winexec package (see
http://www.du.edu/~mschwart/tcl-tk.htm) for the GUI to work. Further,
several utility routines (liveplot and widplt)
require the BLT package to be properly configured as a loadable
package to run. If you care what vintage of Tcl/Tk you are using, you are
obviously a "power user" so take a look at the pkgIndex.tcl files and fix
your version appropriately.
2. Do I need to modify the PATH, etc in my AUTOEXEC.BAT file?
Only if you will use the PC-GSAS or GSAS.BAT menu programs as well.
If so, do the following (from the GSAS readme file):
5. Modify the PATH statement in your autoexec.bat file to add C:\GSAS\EXE
to the path (or whatever disk letter you choose for \GSAS)
6. Add the statement "SET GSAS=C:\GSAS" (again pick the appropriate
drive letter) to your auto exec.bat file.
7. Add the statement "SET PGPLOT_FONT=C:\GSAS\FONTS\GRFONT.DAT"
8. Make sure you have sufficient environment space for these additions
and two more that are done by gsas.bat each time you run gsas.
3. What versions of Windows can I use?
This package has gotten some testing under Win95 and WinNT v4.0.
My limited experience to Win98 seems to show that EXPGUI seems to
run OK there.
I would not expect this to run under Win32s on Win3.1.
Acknowledgements
The version of Tcl/Tk here was compiled by Mumit
Khan and the Winexec package, which is needed to allow Tcl/Tk to run
the GSAS DOS .exe files was created by Michael
I. Schwartz.
GSAS is written by Allen C. Larson and Robert B. Von Dreele, MS-H805,
Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions
or kudos concerning GSAS should be sent to Robert B. Von Dreele at
vondreele@lanl.gov
GSAS is Copyright, 1984-1997, The Regents of the University of California.
The GSAS software was produced under a U.S. Government contract (W-7405-ENG-36)
by the Los Alamos National Laboratory, which is operated by the University
of California for the U.S. Department of Energy. The U.S. Government is
licensed to use, reproduce, and distribute this software. Permission is
granted to the public to copy and use this software without charge, provided
that this notice and any statement of authorship are reproduced on all
copies. Neither the Government nor the University makes any warranty, express
or implied, or assumes any liability or responsibility for the use of this
software.
EXPGUI is written by Brian H. Toby of the NIST Center for Neutron Research,
Brian.Toby@NIST.GOV
with help from Jonathan Wasserman.
EXPGUI is not subject to copyright. Have fun with it.
Neither the U.S. Government nor any author 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 consitute an endorsement by NIST.
Brian Toby (Brian.Toby@NIST.GOV)
$Revision: 50 $ $Date: 2009-12-04 22:59:33 +0000 (Fri, 04 Dec 2009) $