1 | <HTML> |
---|
2 | <HEAD> |
---|
3 | <TITLE>Windows Installation Notes for EXPGUI</TITLE> |
---|
4 | <meta name="keywords" content="crystallography, Rietveld, diffraction, |
---|
5 | GSAS, EXPGUI, Windows"> |
---|
6 | </HEAD> |
---|
7 | <style> |
---|
8 | A:link {text-decoration:none} |
---|
9 | A:vlink {text-decoration:none} |
---|
10 | </style> |
---|
11 | |
---|
12 | <BODY BGCOLOR="#FFFFFF" |
---|
13 | topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" |
---|
14 | text="#000000" link="#0033ff" vlink="#0033ff" alink="#0033ff"> |
---|
15 | |
---|
16 | <? |
---|
17 | include("/var/www/include/navigation.inc"); |
---|
18 | include("/var/www/include/utility.inc"); |
---|
19 | ?> |
---|
20 | <blockquote><font face="arial, helvetica, sans-serif"> |
---|
21 | |
---|
22 | <TABLE BORDER BGCOLOR="#FFFF40" ALIGN=RIGHT> |
---|
23 | <TR><TH><A Href="expgui.html">EXPGUI home</A> |
---|
24 | </TH></TR></TABLE><BR CLEAR=ALL> |
---|
25 | |
---|
26 | <CENTER><H1> |
---|
27 | <HR noshade width="75%" size="2" align="center"> |
---|
28 | Windows-95/98 and -NT/-2000<BR>Installation notes for |
---|
29 | <A HREF="expgui.html">EXPGUI</A> |
---|
30 | <HR noshade width="75%" size="2" align="center"> |
---|
31 | </H1></CENTER> |
---|
32 | |
---|
33 | <EM>Please note that <A HREF="expgui.html">EXPGUI</A> |
---|
34 | is always under development and gets |
---|
35 | less testing by the author |
---|
36 | in Windows than in UNIX. Please report problems, including comments on |
---|
37 | these instructions to |
---|
38 | <A HREF="mailto:brian.toby@nist.gov">Brian Toby</A>. |
---|
39 | </EM> |
---|
40 | |
---|
41 | <H2>A single-step program to install GSAS and EXPGUI for Windows</H2> |
---|
42 | <DL><DL> |
---|
43 | You can download a single file that installs |
---|
44 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas.html">GSAS (General Structure Analysis System)</a> |
---|
45 | and |
---|
46 | <a href="http://www.ncnr.nist.gov/xtal/software/expgui">EXPGUI</a>, |
---|
47 | as well as the Tcl/Tk package, needed by EXPGUI. This self-installing |
---|
48 | file uncompresses itself, copies the required files |
---|
49 | to a selected directory and either modifies the <TT>AUTOEXEC.BAT</TT> file |
---|
50 | and/or creates the appropriate registry entries needed to run the programs. |
---|
51 | A |
---|
52 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas+expgui.html">separate web page</a> |
---|
53 | details how to use this self-installer, |
---|
54 | (<a href="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/gsas+expgui.exe"> |
---|
55 | ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/gsas+expgui.exe |
---|
56 | </a> or from CCP14 mirrors). Here are the steps in brief: |
---|
57 | |
---|
58 | <OL> |
---|
59 | <P><LI><B>Download |
---|
60 | <a href="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/gsas+expgui.exe"> |
---|
61 | ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/gsas+expgui.exe</A> |
---|
62 | </B> |
---|
63 | |
---|
64 | <P><LI><B>Run the gsas+expgui.exe file</B> |
---|
65 | |
---|
66 | <P><LI><B>Page through the installation screens & select install options</B> |
---|
67 | |
---|
68 | <P><LI><B>Wait while the files are installed and then continue, |
---|
69 | allowing the computer to be rebooted</B> |
---|
70 | |
---|
71 | <P><LI><B>Delete the gsas+expgui.exe file (optional)</B> |
---|
72 | </OL> |
---|
73 | <P> |
---|
74 | For more details on the sequence of operations and the installation |
---|
75 | options refer to the detailed |
---|
76 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas+expgui.html"> |
---|
77 | Windows self-installer instructions</a> web page. |
---|
78 | |
---|
79 | </DL></DL> |
---|
80 | |
---|
81 | <H2>The old, multistep, process for loading GSAS and EXPGUI</H2> |
---|
82 | If for some reason you want to install GSAS and EXPGUI from the |
---|
83 | component distributions (which are sometimes more recent than the |
---|
84 | single-step file, described above), you can follow the steps listed |
---|
85 | below. |
---|
86 | <P><B>1. Download the following files:</B> |
---|
87 | <UL> |
---|
88 | <I>(Shift-click on the links below to download the files)</I> |
---|
89 | <P> |
---|
90 | <LI>Get |
---|
91 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html"> |
---|
92 | GSAS</A> from |
---|
93 | <A HREF="ftp://ftp.lanl.gov/public/gsas/windows/gsaskit.exe">ftp://ftp.lanl.gov/public/gsas/windows/gsaskit.exe</A> |
---|
94 | (~6 Mbytes)<BR> |
---|
95 | and read<BR> |
---|
96 | <A HREF="ftp://ftp.lanl.gov/public/gsas/windows/readme.txt">ftp://ftp.lanl.gov/public/gsas/windows/readme.txt</A> |
---|
97 | <P> |
---|
98 | Mirrors for these files can be found at |
---|
99 | <P><A HREF=" |
---|
100 | http://www.ccp14.ac.uk/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe |
---|
101 | "> |
---|
102 | http://www.ccp14.ac.uk/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe |
---|
103 | </A><BR> |
---|
104 | or |
---|
105 | <A HREF=" |
---|
106 | http://ccp14.sims.nrc.ca/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe |
---|
107 | "> |
---|
108 | http://ccp14.sims.nrc.ca/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe |
---|
109 | </A><P>and<P><A HREF=" |
---|
110 | http://www.ccp14.ac.uk/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/readme.txt |
---|
111 | "> |
---|
112 | http://www.ccp14.ac.uk/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/readme.txt |
---|
113 | </A><BR> |
---|
114 | or |
---|
115 | <A HREF=" |
---|
116 | http://ccp14.sims.nrc.ca/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/readme.txt |
---|
117 | "> |
---|
118 | http://ccp14.sims.nrc.ca/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/readme.txt |
---|
119 | </A><BR><P> |
---|
120 | <em> |
---|
121 | Note that the links for these files are on non-NIST servers. |
---|
122 | </em> |
---|
123 | <P><LI>Get a |
---|
124 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html"> |
---|
125 | Tcl/Tk</A> distribution<BR> |
---|
126 | I recommend using this (not so new) version (Tcl/Tk v8.2) |
---|
127 | (why - <a href="#Winexec">see note 1 below</a>):<BR> |
---|
128 | <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/tcltk/tcltk82blt24qwinexec0601.exe"> |
---|
129 | ftp://ftp.ncnr.nist.gov/pub/cryst/tcltk/tcltk82blt24qwinexec0601.exe</A> |
---|
130 | (2686464 bytes) |
---|
131 | <P> |
---|
132 | <LI>The |
---|
133 | <A HREF="expgui.html">EXPGUI</A> code<BR> |
---|
134 | <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui.exe">ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui.exe</A> |
---|
135 | (~340 K bytes) |
---|
136 | <BR>for the absolute latest release (which may not have gotten |
---|
137 | a lot of testing, but probably has new capabilities and bug fixes) use<BR> |
---|
138 | <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_alpha.zip"> |
---|
139 | ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_alpha.zip</A><BR> |
---|
140 | You will need an unzip program, such as WinZip or pkZip, to use this file. |
---|
141 | (sometimes I update |
---|
142 | <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_alpha.exe"> |
---|
143 | ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_alpha.exe</A> |
---|
144 | but this may lag behind the .ZIP version or may not be present.) |
---|
145 | <P> |
---|
146 | <P><LI> |
---|
147 | If you have a version of GSAS from September 2001, or earlier and wish |
---|
148 | to set up dummy histograms from EXPEDT, you will need to |
---|
149 | update the EXPTOOL program using one of the following files: |
---|
150 | <BR> |
---|
151 | <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_win/exptool.zip">ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_win/exptool.zip</A> (~300 K bytes) |
---|
152 | <BR> |
---|
153 | or <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_win/exptool.exe">ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_win/exptool.exe</A> (~700 K bytes) |
---|
154 | </UL> |
---|
155 | <P> |
---|
156 | You can put these .EXE (and .ZIP) files anywhere on your computer, but make a note of the |
---|
157 | locations for steps 2, 3 and 5, below. |
---|
158 | |
---|
159 | <P><B>2. Run the programs</B> |
---|
160 | <UL>Use a DOS window to run, gsaskit.exe, |
---|
161 | tcltk82blt24qwinexec0601.exe, and expgui.exe (the order should not matter): |
---|
162 | <FONT FACE="COURIER"><PRE> |
---|
163 | mkdir c:\gsas |
---|
164 | chdir c:\gsas |
---|
165 | c:\temp\gsaskit.exe -d |
---|
166 | c:\temp\tcltk82blt24qwinexec0601.exe |
---|
167 | c:\temp\expgui.exe |
---|
168 | </PRE></FONT> |
---|
169 | |
---|
170 | These files can be run from where they are downloaded using the Run command |
---|
171 | or by clicking on their icons in a Windows Explorer or other directory view |
---|
172 | window. |
---|
173 | <P> |
---|
174 | The previous steps will cause the files to be unpacked. The default |
---|
175 | locations for installation are: |
---|
176 | <FONT FACE="COURIER"><PRE> |
---|
177 | gsaskit.exe c:\gsas |
---|
178 | tcltk82blt24qwinexec0601.exe c:\tcl |
---|
179 | expgui.exe c:\gsas\expgui |
---|
180 | </PRE></FONT> |
---|
181 | |
---|
182 | <P>These files can be located on other disks and in directories with |
---|
183 | other names, but the expgui files in expgui.exe |
---|
184 | <I><U>must</U></I> be located in a subdirectory of the GSAS files and |
---|
185 | each directory name <I><U>must</U></I> be 8 characters or less, so |
---|
186 | location |
---|
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 |
---|
189 | will not work. |
---|
190 | If these files will be located on a fileserver, the file server |
---|
191 | must be mapped to appear as a disk drive (must be assigned a name |
---|
192 | such as F:). |
---|
193 | <P> |
---|
194 | If you downloaded exptool.zip, unpack it and copy it to |
---|
195 | <font face="courier">c:\gsas\exe</font>, or if you downloaded exptool.exe, it can be copied |
---|
196 | directly to <font face="courier">c:\gsas\exe</font>. |
---|
197 | </UL> |
---|
198 | <P><B>3. Create a shortcut:</B> |
---|
199 | <UL> |
---|
200 | <LI> |
---|
201 | On a blank part of the Windows desktop, click the <I><U>right</U></I> mouse |
---|
202 | button and then select NEW and then shortcut and click with the <I><U>left</U></I> |
---|
203 | mouse button.</LI> |
---|
204 | |
---|
205 | <LI> |
---|
206 | provide command</LI> |
---|
207 | |
---|
208 | <UL><FONT FACE="COURIER">c:\tcl\bin\wish82.exe c:\gsas\expgui\expgui</FONT></UL> |
---|
209 | </UL> |
---|
210 | |
---|
211 | <UL>(modify previous paths, if you have located the files in different places)</UL> |
---|
212 | |
---|
213 | <UL> |
---|
214 | <LI> |
---|
215 | click on NEXT with the <I><U>left</U></I> mouse button.</LI> |
---|
216 | |
---|
217 | <LI> |
---|
218 | Enter name EXPGUI</LI> |
---|
219 | |
---|
220 | <LI> |
---|
221 | click on FINISH with the <I><U>left</U></I> mouse button.</LI> |
---|
222 | </UL> |
---|
223 | |
---|
224 | <UL>You may want to modify the shortcut by modifying the properties to |
---|
225 | change the icon or the default properties.</UL> |
---|
226 | <B>4. Delete the downloaded .exe files to save space (optional)</B> |
---|
227 | |
---|
228 | <DL> |
---|
229 | <DD> gsaskit.exe |
---|
230 | <DD> tcltk82blt24qwinexec0601.exe |
---|
231 | <DD> expgui.exe |
---|
232 | <DD> (expgui_alpha.exe) |
---|
233 | <DD> (expgui_alpha.zip) |
---|
234 | </DL> |
---|
235 | |
---|
236 | <P>More information about EXPGUI, including information on how it |
---|
237 | can be customized, can be found on web pages <A HREF="expgui.html">expgui.html</A> |
---|
238 | and <A HREF="expgui_cfg.html">expgui_cfg.html</A>, |
---|
239 | found in the \gsas\expgui\doc directory. |
---|
240 | <BR> |
---|
241 | <H2> |
---|
242 | <a name="Winexec"></a>Questions</H2> |
---|
243 | 1. 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 |
---|
245 | http://www.du.edu/~mschwart/tcl-tk.htm) for the GUI to work |
---|
246 | with Windows-95, -98 and -me. Further, |
---|
247 | several utility routines (for example, liveplot and widplt) |
---|
248 | require the BLT package to be properly configured as a loadable |
---|
249 | package to run. If you care what vintage of Tcl/Tk you are using, you are |
---|
250 | obviously a "power user" so take a look at the pkgIndex.tcl files and fix |
---|
251 | your version, if you get an error about loading Blt_ZoomStack. |
---|
252 | Please note that EXPGUI seems to run very |
---|
253 | slowly in Tcl/Tk version 8.1, but OK in 8.0 and 8.2. |
---|
254 | <BR> </UL> |
---|
255 | 2. 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. |
---|
257 | If so, do follow the steps in the |
---|
258 | <A HREF="ftp://ftp.lanl.gov/public/gsas/windows/readme.txt">GSAS readme file</A>) |
---|
259 | <P> |
---|
260 | Note, to add more environment space in Win95/98, add the following line to the |
---|
261 | CONFIG.SYS file in the root directory |
---|
262 | <FONT FACE="COURIER"><PRE> |
---|
263 | SHELL=C:\WINDOWS\COMMAND.COM /P /E:4096 |
---|
264 | </PRE></FONT> |
---|
265 | add the following line to the SYSTEM.INI file (in c:\windows) under |
---|
266 | the heading [NonWindowsApp] |
---|
267 | <FONT FACE="COURIER"><PRE> |
---|
268 | |
---|
269 | CommandEnvSize=2424 |
---|
270 | </PRE></FONT> |
---|
271 | (thanks to Louis Farrugia [louis@chem.gla.ac.uk] for this). |
---|
272 | |
---|
273 | </UL> |
---|
274 | 3. What versions of Windows can I use? |
---|
275 | <UL>This package has gotten some testing under Win-95/98 and Win-NT 4.0 & 2000. |
---|
276 | </UL> |
---|
277 | 4. EXPGUI seems pretty slow, or is it my imagination? |
---|
278 | <UL> |
---|
279 | Well, actually the problem is Windows. EXPGUI is pretty zippy in LINUX, |
---|
280 | but some operations |
---|
281 | (reading a histogram in liveplot for example) can take 3-5 times |
---|
282 | longer in Windows than in UNIX on the exact same hardware. |
---|
283 | By all means, take this up with the folks in Redmond, WA. |
---|
284 | |
---|
285 | </UL> |
---|
286 | 5. When I run one of the GSAS graphics programs (POWPLOT, RAWPLOT,...) the |
---|
287 | program starts, and I can answer questions, but when it comes to the part |
---|
288 | of the program that should display a plot, I get no plot (and possibly |
---|
289 | the DOS window disappears without a trace.) |
---|
290 | <UL> |
---|
291 | There are two problems I know of that can cause graphics errors: |
---|
292 | One is that the graphics package (PGPLOT) cannot find the PGPLOT_FONT |
---|
293 | environment variable (that points to file GRFONT.DAT). EXPGUI does this |
---|
294 | for you and warns if it can't find this file, so the likely reason is |
---|
295 | that you are out of environment space (see 2, above). |
---|
296 | <P> |
---|
297 | The other appears to be a graphics mode problem. Not all modes work |
---|
298 | on all machines. Try mode A. If you still have problems, see if it is an |
---|
299 | EXPGUI problem: Try using a plotting program |
---|
300 | (RAWPLOT is a good choice) from PC-GSAS or GSAS.BAT. If the plotting |
---|
301 | program 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.) |
---|
303 | If the plotting program runs in PC-GSAS or GSAS.BAT but not EXPGUI, you have a |
---|
304 | real EXPGUI bug and should bug me. |
---|
305 | |
---|
306 | </UL> |
---|
307 | <a name="NetPath"></a> |
---|
308 | 6. Can GSAS and EXPGUI be located on a shared network drive? |
---|
309 | <UL> |
---|
310 | Yes. 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 |
---|
312 | seem to be needed, but |
---|
313 | EXPGUI will warn you, if you try to do this, since I am not certain |
---|
314 | that this works. |
---|
315 | <P> |
---|
316 | I do not know if GSAS will work properly with |
---|
317 | experiment and data files on a networked drive without mapping the |
---|
318 | path to a "logical drive." |
---|
319 | There are some definite problems in GSAS where directory and file |
---|
320 | names contain |
---|
321 | spaces. EXPGUI should help avoid some of these problems, so if you find |
---|
322 | anything file names that break EXPGUI & GSAS, let me know how to |
---|
323 | duplicate exactly what you are doing. |
---|
324 | </UL> |
---|
325 | |
---|
326 | 7. Can I use Windows-ME or Windows-XP with GSAS and EXPGUI? |
---|
327 | <UL> |
---|
328 | I do not have any direct experience with either OS. I am not aware of any |
---|
329 | problems running EXPGUI & GSAS on -ME. I have heard that there are minor |
---|
330 | problems with running EXPGUI on -XP -- after GSAS programs are run, EXPGUI |
---|
331 | may remain minimized (on the taskbar) rather than reopen itself. This |
---|
332 | problem can be avoided by unselecting the "Minimize on GSAS" checkbutton |
---|
333 | in the Options menu. |
---|
334 | |
---|
335 | </UL> |
---|
336 | |
---|
337 | <H2> |
---|
338 | Acknowledgements</H2> |
---|
339 | Thanks to <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.xraylith.wisc.edu/~khan/software/tcl/index.html#tcltk-80p2-ming">Mumit |
---|
340 | Khan</A> for help with Tcl/Tk on Windows |
---|
341 | and to <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.du.edu/~mschwart/tcl-tk.htm">Michael |
---|
342 | I. Schwartz</A> for the Winexec package, which is needed to allow Tcl/Tk to run |
---|
343 | the GSAS DOS .exe files. |
---|
344 | <P> |
---|
345 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html"> |
---|
346 | GSAS</A> |
---|
347 | is written by Allen C. Larson and Robert B. Von Dreele, MS-H805, |
---|
348 | Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions |
---|
349 | or kudos concerning GSAS should be sent to Robert B. Von Dreele at |
---|
350 | <A HREF="MAILTO:vondreele@lanl.gov">vondreele@lanl.gov</A> |
---|
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> |
---|
353 | with help from Jonathan Wasserman. |
---|
354 | |
---|
355 | <P> |
---|
356 | <hr><blockquote> |
---|
357 | GSAS is Copyright, 1984-1997, The Regents of the University of California. |
---|
358 | The GSAS software was produced under a U.S. Government contract (W-7405-ENG-36) |
---|
359 | by the Los Alamos National Laboratory, which is operated by the University |
---|
360 | of California for the U.S. Department of Energy. The U.S. Government is |
---|
361 | licensed to use, reproduce, and distribute this software. Permission is |
---|
362 | granted to the public to copy and use this software without charge, provided |
---|
363 | that this notice and any statement of authorship are reproduced on all |
---|
364 | copies. Neither the Government nor the University makes any warranty, express |
---|
365 | or implied, or assumes any liability or responsibility for the use of this |
---|
366 | software. |
---|
367 | |
---|
368 | <P>EXPGUI is not subject to copyright. Have fun with it. |
---|
369 | |
---|
370 | <p>Neither the U.S. Government nor any author makes any warranty, |
---|
371 | expressed or implied, or assumes any liability or responsibility |
---|
372 | for the use of this information or the software described |
---|
373 | here. Brand names cited here are used for |
---|
374 | identification purposes and do not consitute an endorsement by NIST. |
---|
375 | </blockquote> |
---|
376 | <hr> |
---|
377 | <TABLE BORDER BGCOLOR="#FFFF40" ALIGN=RIGHT> |
---|
378 | <TR><TH><A Href="expgui.html">EXPGUI home</A> |
---|
379 | </TH></TR></TABLE> |
---|
380 | |
---|
381 | <P><font size=-1><A HREF="MAILTO:crystal@NIST.gov?subject=WWW page <?=$PHP_SELF?>">Comments, corrections or questions: crystal@NIST.gov</A></font><BR> |
---|
382 | <font size=-1><? lastmod(); ?> </font> |
---|
383 | <br> |
---|
384 | $Revision: 614 $ $Date: 2009-12-04 23:09:07 +0000 (Fri, 04 Dec 2009) $ |
---|
385 | </blockquote> |
---|
386 | </body> |
---|
387 | </html> |
---|