source: trunk/doc/expgui_Win_readme.html @ 654

Last change on this file since 654 was 614, checked in by toby, 12 years ago

# on 2002/07/18 20:21:51, toby did:
spell out more

  • Property rcs:author set to toby
  • Property rcs:date set to 2002/07/18 20:21:51
  • Property rcs:lines set to +22 -3
  • Property rcs:rev set to 1.22
  • Property rcs:state set to Exp
  • Property svn:keywords set to Author Date Revision Id
File size: 15.3 KB
3   <TITLE>Windows Installation Notes for EXPGUI</TITLE>
[515]4   <meta name="keywords" content="crystallography, Rietveld, diffraction,
5   GSAS, EXPGUI, Windows">
8A:link {text-decoration:none}
9A:vlink {text-decoration:none}
13      topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" 
14      text="#000000" link="#0033ff" vlink="#0033ff" alink="#0033ff">
17   include("/var/www/include/");
18   include("/var/www/include/");
20<blockquote><font face="arial, helvetica, sans-serif">
23<TR><TH><A  Href="expgui.html">EXPGUI home</A> 
[243]27<HR noshade width="75%" size="2" align="center">
[515]28Windows-95/98 and -NT/-2000<BR>Installation notes for
29<A HREF="expgui.html">EXPGUI</A>
[243]30<HR noshade width="75%" size="2" align="center">
[147]33<EM>Please note that <A HREF="expgui.html">EXPGUI</A>
34 is always under development and gets
35less testing by the author
[80]36in Windows than in UNIX. Please report problems, including comments on
37these instructions to
[243]38<A HREF="">Brian Toby</A>.
[612]41<H2>A single-step program to install GSAS and EXPGUI for Windows</H2>
[612]43You can download a single file that installs
[549]44<a href="">GSAS (General Structure Analysis System)</a>
46<a href="">EXPGUI</a>,
47as well as the Tcl/Tk package, needed by EXPGUI. This self-installing
48file uncompresses itself, copies the required files
49to a selected directory and either modifies the <TT>AUTOEXEC.BAT</TT> file
50and/or creates the appropriate registry entries needed to run the programs.
52<a href="">separate web page</a>
53details how to use this self-installer,
54(<a href="">
[614]56</a> or from CCP14 mirrors). Here are the steps in brief:
60<a href="">
64<P><LI><B>Run the gsas+expgui.exe file</B>
66<P><LI><B>Page through the installation screens & select install options</B>
68<P><LI><B>Wait while the files are installed and then continue,
69allowing the computer to be rebooted</B>
71<P><LI><B>Delete the gsas+expgui.exe file (optional)</B>
74For more details on the sequence of operations and the installation
75options refer to the detailed
[549]76<a href="">
[614]77Windows self-installer instructions</a> web page.
81<H2>The old, multistep, process for loading GSAS and EXPGUI</H2>
82If for some reason you want to install GSAS and EXPGUI from the
83component distributions (which are sometimes more recent than the
84single-step file, described above), you can follow the steps listed
[34]86<P><B>1. Download the following files:</B>
[140]88<I>(Shift-click on the links below to download the files)</I>
91<A Href="">
92GSAS</A> from
[442]93<A HREF=""></A>
[140]94(~6 Mbytes)<BR>
[203]95and read<BR>
[442]96<A HREF=""></A>
[243]98Mirrors for these files can be found at
99<P><A HREF="
105<A HREF="
[243]109</A><P>and<P><A HREF="
115<A HREF="
121Note that the links for these files are on non-NIST servers.
[140]123<P><LI>Get a
124<A Href="">
125Tcl/Tk</A> distribution<BR>
[442]126I recommend using this (not so new) version (Tcl/Tk v8.2)
127(why - <a href="#Winexec">see note 1 below</a>):<BR>
[140]128<A HREF="">
130(2686464 bytes)
133<A HREF="expgui.html">EXPGUI</A> code<BR>
[107]134<A HREF=""></A>
[80]135(~340 K bytes)
[140]136<BR>for the absolute latest release (which may not have gotten
137a lot of testing, but probably has new capabilities and bug fixes) use<BR>
138<A HREF="">
140You will need an unzip program, such as WinZip or pkZip, to use this file.
[367]141(sometimes I update
142<A HREF="">
[442]144but this may lag behind the .ZIP version or may not be present.)
[442]147If you have a version of GSAS from September 2001, or earlier and wish
148to set up dummy histograms from EXPEDT, you will need to
149update the EXPTOOL program using one of the following files:
[107]151<A HREF=""></A> (~300 K bytes)
153or <A HREF=""></A> (~700 K bytes)
[80]156You can put these .EXE (and .ZIP) files anywhere on your computer, but make a note of the
[140]157locations for steps 2, 3 and 5, below.
159<P><B>2. Run the programs</B>
[203]160<UL>Use a DOS window to run, gsaskit.exe,
[442]161tcltk82blt24qwinexec0601.exe, and expgui.exe (the order should not matter):
[203]163        mkdir c:\gsas
164        chdir c:\gsas
165        c:\temp\gsaskit.exe -d
[442]166        c:\temp\tcltk82blt24qwinexec0601.exe
[203]167        c:\temp\expgui.exe
[442]170These files can be run from where they are downloaded using the Run command
171or by clicking on their icons in a Windows Explorer or other directory view
174The previous steps will cause the files to be unpacked. The default
[34]175locations for installation are:
[442]177           gsaskit.exe                     c:\gsas
[612]178           tcltk82blt24qwinexec0601.exe    c:\tcl
[442]179           expgui.exe                      c:\gsas\expgui
182<P>These files can be located on other disks and in directories with
[80]183other names, but the expgui files in expgui.exe
[374]184<I><U>must</U></I> be located in a subdirectory of the GSAS files and
185each directory name <I><U>must</U></I> be 8 characters or less, so
[549]187<font face="courier">Z:\i\think\this\will\work\gsas</font> should be OK, but
188<font face="courier">C:\longwindows\namesarenotgood\for dos</font> probably
[374]189will not work.
[34]190If these files will be located on a fileserver, the file server
191must be mapped to appear as a disk drive (must be assigned a name
192such as F:).
194If you downloaded, unpack it and copy it to
[549]195<font face="courier">c:\gsas\exe</font>, or if you downloaded exptool.exe, it can be copied
196directly to <font face="courier">c:\gsas\exe</font>.
[442]198<P><B>3. Create a shortcut:</B>
201On a blank part of the Windows desktop, click the <I><U>right</U></I> mouse
202button and then select NEW and then shortcut and click with the <I><U>left</U></I>
203mouse button.</LI>
206provide command</LI>
[549]208<UL><FONT FACE="COURIER">c:\tcl\bin\wish82.exe c:\gsas\expgui\expgui</FONT></UL>
211<UL>(modify previous paths, if you have located the files in different places)</UL>
215click on NEXT with the <I><U>left</U></I> mouse button.</LI>
218Enter name EXPGUI</LI>
221click on FINISH with the <I><U>left</U></I> mouse button.</LI>
224<UL>You may want to modify the shortcut by modifying the properties to
225change the icon or the default properties.</UL>
[442]226<B>4. Delete the downloaded .exe files to save space (optional)</B>
[155]229<DD>          gsaskit.exe
[442]230<DD>          tcltk82blt24qwinexec0601.exe
[80]231<DD>          expgui.exe
[442]232<DD>          (expgui_alpha.exe)
[80]233<DD>          (
236<P>More information about EXPGUI, including information on how it
[107]237can be customized, can be found on web pages <A HREF="expgui.html">expgui.html</A>
238and <A HREF="expgui_cfg.html">expgui_cfg.html</A>,
[65]239found in the \gsas\expgui\doc directory.
[341]242<a name="Winexec"></a>Questions</H2>
[34]2431. Can I use a different version of Tcl/Tk than the one here?
244<UL>Yes -- but: you will need both Tcl/Tk and the Winexec package (see
[367]245 for the GUI to work
246with Windows-95, -98 and -me. Further,
[549]247several utility routines (for example, liveplot and widplt)
[34]248require the BLT package to be properly configured as a loadable
249package to run. If you care what vintage of Tcl/Tk you are using, you are
250obviously a "power user" so take a look at the pkgIndex.tcl files and fix
[367]251your version, if you get an error about loading Blt_ZoomStack.
252Please note that EXPGUI seems to run very
[140]253slowly in Tcl/Tk version 8.1, but OK in 8.0 and 8.2.
[80]254<BR> </UL>
[442]2552. Do I need to modify the PATH, etc in my AUTOEXEC.BAT file or in my Start/Settings/... menus?
256<UL>Only if you will use the PC-GSAS program as well as EXPGUI.
257If so, do follow the steps in the
258<A HREF="">GSAS readme file</A>)
260Note, to add more environment space in Win95/98, add the following line to the
261CONFIG.SYS file in the root directory
[216]263        SHELL=C:\WINDOWS\COMMAND.COM /P /E:4096
[216]265add the following line to the SYSTEM.INI file (in c:\windows) under
266the heading [NonWindowsApp]
269        CommandEnvSize=2424
[216]271(thanks to Louis Farrugia [] for this).
2743. What versions of Windows can I use?
[442]275<UL>This package has gotten some testing under Win-95/98 and Win-NT 4.0 & 2000.
[80]2774. EXPGUI seems pretty slow, or is it my imagination?
[367]279Well, actually the problem is Windows. EXPGUI is pretty zippy in LINUX,
280but some operations
281(reading a histogram in liveplot for example) can take 3-5 times
282longer in Windows than in UNIX on the exact same hardware.
283By all means, take this up with the folks in Redmond, WA.
[203]2865. When I run one of the GSAS graphics programs (POWPLOT, RAWPLOT,...) the
287program starts, and I can answer questions, but when it comes to the part
288of the program that should display a plot, I get no plot (and possibly
289the DOS window disappears without a trace.)
291There are two problems I know of that can cause graphics errors:
292One is that the graphics package (PGPLOT) cannot find the PGPLOT_FONT
293environment variable (that points to file GRFONT.DAT). EXPGUI does this
[367]294for you and warns if it can't find this file, so the likely reason is
295that you are out of environment space (see 2, above).
297The other appears to be a graphics mode problem. Not all modes work
298on all machines. Try mode A. If you still have problems, see if it is an
299EXPGUI problem: Try using a plotting program
300(RAWPLOT is a good choice) from PC-GSAS or GSAS.BAT.  If the plotting
301program does not work there either, first check PGPLOT_FONT is defined
302(by opening a DOS box and type SET, also see question 2, above.)
303If the plotting program runs in PC-GSAS or GSAS.BAT but not EXPGUI, you have a
[367]304real EXPGUI bug and should bug me.
307<a name="NetPath"></a>
3086. Can GSAS and EXPGUI be located on a shared network drive?
[577]310Yes. With earlier versions of GSAS path had to be mapped to a
311"logical drive." (e.g. F:). In the current versions of GSAS, this does not
312seem to be needed, but
313EXPGUI will warn you, if you try to do this, since I am not certain
314that this works.
316I do not know if GSAS will work properly with
[549]317experiment and data files on a networked drive without mapping the
[577]318path to a "logical drive."
319There are some definite problems in GSAS where directory and file
320names contain
321spaces. EXPGUI should help avoid some of these problems, so if you find
322anything file names that break EXPGUI & GSAS, let me know how to
323duplicate exactly what you are doing.
[549]3267. Can I use Windows-ME or Windows-XP with GSAS and EXPGUI?
328I do not have any direct experience with either OS. I am not aware of any
329problems running EXPGUI & GSAS on -ME. I have heard that there are minor
330problems with running EXPGUI on -XP -- after GSAS programs are run, EXPGUI
331may remain minimized (on the taskbar) rather than reopen itself. This
332problem can be avoided by unselecting the "Minimize on GSAS" checkbutton
333in the Options menu.
[515]339Thanks to <A HREF="">Mumit
340Khan</A> for help with Tcl/Tk on Windows
341and to <A HREF="">Michael
342I. Schwartz</A> for the Winexec package, which is needed to allow Tcl/Tk to run
343the GSAS DOS .exe files.
[147]345<A Href="">
347is written by Allen C. Larson and Robert B. Von Dreele,  MS-H805,
[34]348Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions
349or kudos concerning GSAS should be sent to Robert B. Von Dreele at
350<A HREF=""></A>
[515]351<P>EXPGUI is written by Brian H. Toby of the NIST Center for Neutron Research,
352<A HREF="MAILTO:Brian.Toby@NIST.GOV">Brian.Toby@NIST.GOV</A> 
353with help from Jonathan Wasserman.
357GSAS is Copyright, 1984-1997, The Regents of the University of California.
[34]358The GSAS software was produced under a U.S. Government contract (W-7405-ENG-36)
359by the Los Alamos National Laboratory, which is operated by the University
360of California for the U.S. Department of Energy. The U.S. Government is
361licensed to use, reproduce, and distribute this software. Permission is
362granted to the public to copy and use this software without charge, provided
363that this notice and any statement of authorship are reproduced on all
364copies. Neither the Government nor the University makes any warranty, express
365or implied, or assumes any liability or responsibility for the use of this
368<P>EXPGUI is not subject to copyright. Have fun with it.
370<p>Neither the U.S. Government nor any author makes any warranty,
371expressed or implied, or assumes any liability or responsibility
372for the use of this information or the software described
373here. Brand names cited here are used for
374identification purposes and do not consitute an endorsement by NIST.
378<TR><TH><A  Href="expgui.html">EXPGUI home</A> 
381<P><font size=-1><A HREF=" page <?=$PHP_SELF?>">Comments, corrections or questions:</A></font><BR>
382<font size=-1><? lastmod(); ?> </font>
384$Revision: 614 $ $Date: 2009-12-04 23:09:07 +0000 (Fri, 04 Dec 2009) $
Note: See TracBrowser for help on using the repository browser.