Installation notes for GSAS with the EXPGUI GUI for Windows-95
Please note that EXPGUI is still under development and gets less testing by the author
in Windows than in UNIX. Please report problems, including comments on
these instructions to
1. Download the following files:
You can put these .EXE (and .ZIP) 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. If using expgui_alpha.zip uncompress with a tool such as WinZip
This will cause the files to be unpacked. The default
locations for installation are:
These files can be located on other disks and in directories with
other names, but the expgui files in expgui.exe
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:).
If you are installing TCLDUMP, place the tcldump.exe file in the exe directory of GSAS,
(usually c:\gsas\exe\). If you downloaded tcldump.zip, expand it first.
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
(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 (and .zip) files to save space (optional)
More information about EXPGUI, including information on how it
can be customized, can be found on web pages expgui.html
found in the \gsas\expgui\doc directory.
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):
3. What versions of Windows can I use?
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.
This package has gotten some testing under Win95 and WinNT v4.0.
My limited experience with Win98 seems to show that EXPGUI runs OK.
It might be possible to get some parts of the package to run under Win32s on Win3.1, but
don't ask me for help.
4. EXPGUI seems pretty slow, or is it my imagination?
Well, actually the problem is Windows. EXPGUI is pretty zippy in LINUX, but some operations
(reading a histogram in liveplot for example) can take 3-5 times longer in Windows than in UNIX.
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
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
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
EXPGUI is written by Brian H. Toby of the NIST Center for Neutron Research,
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: 80 $ $Date: 2009-12-04 23:00:04 +0000 (Fri, 04 Dec 2009) $