Likewise, I will assume you have also loaded the appropriate GSAS release, if not see http://www.ncnr.nist.gov/programs/crystallography/software/unixgsas.html for installation instructions.
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/expgui/doc directory.
If you want to try the latest release (which may not have gotten a lot of testing, but probably has new bug fixes and capabilities) shift-click on ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_ALPHA.tar.gz
If you are using an older version of GSAS (before April, 2000) you may want to download the TCLDUMP program to speed and enhance liveplot and the EXPTOOL program which allows EXPGUI to add phases, histograms and atoms to .EXP files. More recent versions of GSAS include these programs in the distributions.
or
cd /usr/local/gsas mkdir expgui cd expgui gunzip < [/path/]expgui.tar.gz | tar xvf -
When restoring the GSAS files from the tar file, note that [/path/] in the example above indicates the location where you downloaded the tar file in section 2, above.
To use EXPGUI, you probably need to create an easy way to access it. One way to do this is to add an alias to your ~/.cshrc file:
cat >> ~/.cshrc alias expgui "wish /usr/local/gsas/expgui/expgui" ^D
Another way to simplify access to EXPGUI is to create a file which will execute the GUI script from a command in your system's path, for example /usr/bin.
cat > /usr/bin/expgui wish /usr/local/gsas/expgui/expgui ^D chmod +x /usr/bin/expgui
Another way to simplify access to EXPGUI is to create a link in your system's path to the GUI script. Note that you may need to modify the first line of /usr/local/gsas/expgui/expgui, if wish is located somewhere other than /usr/local/bin/wish.
chmod +x /usr/local/gsas/expgui/expgui ln -s /usr/local/gsas/expgui/expgui /usr/bin/expguiNote that in the above commands ^D means control-D.
cd /usr/local/gsas/exe gunzip < [/path/]tcldump.tar.gz | tar xvf -
cd /usr/local/gsas/exe gunzip < [/path/]exptool.tar.gz | tar xvf -
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: 146 $ $Date: 2009-12-04 23:01:10 +0000 (Fri, 04 Dec 2009) $