1 | <HTML> |
---|
2 | <HEAD> |
---|
3 | <TITLE>Windows Installation Information 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> |
---|
24 | <TH> |
---|
25 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas+expgui.html">self-installer notes</a></TH> |
---|
26 | <TH><A Href="win_old_notes.html">Windows install details</A></TH> |
---|
27 | <TH><A Href="expgui.html">EXPGUI home</A></TH> |
---|
28 | </TR></TABLE><BR CLEAR=ALL> |
---|
29 | |
---|
30 | |
---|
31 | <CENTER><H1> |
---|
32 | <HR noshade width="75%" size="2" align="center"> |
---|
33 | Installating and Updating |
---|
34 | <BR> |
---|
35 | <A HREF="expgui.html">EXPGUI</A> |
---|
36 | (& |
---|
37 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas.html">GSAS</a>) |
---|
38 | on Windows |
---|
39 | <HR noshade width="75%" size="2" align="center"> |
---|
40 | </H1></CENTER> |
---|
41 | |
---|
42 | <EM>Please note that <A HREF="expgui.html">EXPGUI</A> |
---|
43 | is always under development and gets |
---|
44 | less testing by the author |
---|
45 | in Windows than in other platforms. |
---|
46 | Please report problems, including improvements on |
---|
47 | these instructions to |
---|
48 | <A HREF="mailto:brian.toby@anl.gov">Brian Toby</A>. |
---|
49 | Otherwise, Windows-specific issues are unlikely to be addressed or repaired. |
---|
50 | </EM> |
---|
51 | |
---|
52 | <H2>Installing GSAS and EXPGUI in Windows</H2> |
---|
53 | Most users who install |
---|
54 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas.html">GSAS (General Structure Analysis System)</a> |
---|
55 | and |
---|
56 | <a href="http://www.ncnr.nist.gov/xtal/software/expgui">EXPGUI</a>, |
---|
57 | will do so by downloading a single file that installs the GSAS programs, |
---|
58 | the Tcl/Tk package (with some extensions), the EXPGUI scripts, as well as |
---|
59 | makes registry entries & defines shortcuts. This will |
---|
60 | be described in brief in the next section of this page. |
---|
61 | It is also possible to download and install GSAS, Tcl/Tk & EXPGUI from |
---|
62 | separate distributions; please see the |
---|
63 | <A Href="win_old_notes.html">Windows install details</A> web page |
---|
64 | for more details. |
---|
65 | <P>More information about EXPGUI, including information on how it |
---|
66 | can be customized, can be found on web pages <A HREF="expgui.html">expgui.html</A> |
---|
67 | and <A HREF="expgui_cfg.html">expgui_cfg.html</A>. These files are also |
---|
68 | found in the <TT>...\gsas\expgui\doc</TT> directory after EXPGUI is installed. |
---|
69 | |
---|
70 | |
---|
71 | <H3>Using the GSAS and EXPGUI self-installer for Windows</H3> |
---|
72 | <DL><DL> |
---|
73 | You can download a single file that installs |
---|
74 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas.html">GSAS</A> |
---|
75 | and |
---|
76 | <a href="http://www.ncnr.nist.gov/xtal/software/expgui">EXPGUI</a>, |
---|
77 | as well as the Tcl/Tk package, needed by EXPGUI. This self-installing |
---|
78 | file uncompresses itself, copies the required files |
---|
79 | to a selected directory and |
---|
80 | creates the appropriate registry entries needed to run the programs. |
---|
81 | A |
---|
82 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas+expgui.html"> |
---|
83 | separate web page</a> |
---|
84 | provides details a detailed description on this self-installer |
---|
85 | (<a href="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/gsas+expgui.exe">gsas+expgui.exe</A>). |
---|
86 | Here are the steps in brief: |
---|
87 | |
---|
88 | <OL> |
---|
89 | <P><LI><B>Download |
---|
90 | <a href="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/gsas+expgui.exe"> |
---|
91 | ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/gsas+expgui.exe</A> |
---|
92 | </B><BR> |
---|
93 | (Mirrors: select file gsas+expgui.exe from |
---|
94 | <A HREF=" |
---|
95 | http://www.ccp14.ac.uk/ccp/ccp14/ftp-mirror/briantoby/pub/cryst/gsas/"> |
---|
96 | UK</A>, |
---|
97 | |
---|
98 | <A HREF="http://ccp14.sims.nrc.ca/ccp/ccp14/ftp-mirror/briantoby/pub/cryst/gsas/"> |
---|
99 | Canada</A> |
---|
100 | or |
---|
101 | |
---|
102 | <A HREF=" |
---|
103 | http://ccp14.minerals.csiro.au/ccp/ccp14/ftp-mirror/briantoby/pub/cryst/gsas/"> |
---|
104 | Australia</A>.) |
---|
105 | |
---|
106 | |
---|
107 | <P><LI><B>Run the gsas+expgui.exe file</B> |
---|
108 | |
---|
109 | <P><LI><B>Page through the installation screens & select install options</B> |
---|
110 | |
---|
111 | <P><LI><B>Wait while the files are installed. </B> |
---|
112 | |
---|
113 | <P><LI><B>Delete the gsas+expgui.exe file (optional)</B> |
---|
114 | </OL> |
---|
115 | <P> |
---|
116 | For more details on the sequence of operations and the installation |
---|
117 | options refer to the detailed |
---|
118 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas+expgui.html"> |
---|
119 | Windows self-installer instructions</a> web page. |
---|
120 | |
---|
121 | </DL></DL> |
---|
122 | |
---|
123 | <H2>Updating to a new GSAS release</H2> |
---|
124 | <DL><DL> |
---|
125 | It is quite common that Bob Von Dreele will release an update to the |
---|
126 | GSAS programs more frequently than the combination gsas+expgui.exe |
---|
127 | package can be updated. It is possible to update a previous version of the |
---|
128 | GSAS software. |
---|
129 | First, make a note where you have installed the GSAS/EXPGUI software. |
---|
130 | The default is <TT>C:\GSAS</TT>, but you can check by looking at the properties for the |
---|
131 | PC-GSAS or EXPGUI icon. Second, note the GSAS package date, by |
---|
132 | running a GSAS program, such as EXPEDT or SPACEGRP and noting the |
---|
133 | date where it says "Distributed on ..." |
---|
134 | Then download the latest GSAS release from CCP14: |
---|
135 | <DL> |
---|
136 | <DT>UK:<DD> |
---|
137 | <A HREF="http://www.ccp14.ac.uk/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe"> |
---|
138 | http://www.ccp14.ac.uk/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe</A> |
---|
139 | <BR>or<BR> |
---|
140 | <A HREF=" |
---|
141 | ftp://ftp.ccp14.ac.uk/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe">ftp://ftp.ccp14.ac.uk/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe</A> |
---|
142 | |
---|
143 | <DT>Canada:<DD> |
---|
144 | <A HREF="http://ccp14.sims.nrc.ca/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe">http://ccp14.sims.nrc.ca/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe</A> |
---|
145 | |
---|
146 | <DT>Australia:<DD> |
---|
147 | <A HREF=" |
---|
148 | http://ccp14.minerals.csiro.au/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe"> |
---|
149 | http://ccp14.minerals.csiro.au/ccp/ccp14/ftp-mirror/gsas/public/gsas/windows/gsaskit.exe</A> |
---|
150 | </DL> |
---|
151 | <P>When you run the downloaded file, you will be asked where the GSAS software |
---|
152 | should be installed (with a default of <tt>C:\GSAS</TT>). Make sure to use the same |
---|
153 | location as before. |
---|
154 | <P> |
---|
155 | Finally, check that GSAS has indeed been updated by |
---|
156 | again running a GSAS program, such as EXPEDT or SPACEGRP and noting the |
---|
157 | date where it says "Distributed on ..." |
---|
158 | </DL></DL> |
---|
159 | |
---|
160 | <H2>Updating to a new EXPGUI release</H2> |
---|
161 | <DL><DL> |
---|
162 | It is also common that new features will be added to EXPGUI or |
---|
163 | bug fixes will be made without an update to the |
---|
164 | combination gsas+expgui.exe |
---|
165 | package. |
---|
166 | The absolute latest release (which may not have gotten |
---|
167 | a lot of testing) |
---|
168 | is distributed as |
---|
169 | <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_alpha.zip"> |
---|
170 | ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_alpha.zip</A>. |
---|
171 | On the newest versions of Windows, support for .zip files is built in, but |
---|
172 | for older versions, you will need an unzip program, such as WinZip or pkZip. |
---|
173 | <P> |
---|
174 | To update EXPGUI, |
---|
175 | first, make a note where you have installed the GSAS/EXPGUI software. |
---|
176 | The default is <TT>C:\GSAS\EXPGUI</TT>, but you can check by looking at the |
---|
177 | properties for the PC-GSAS or EXPGUI icon. |
---|
178 | Second, note the EXPGUI package date, by |
---|
179 | using the Help/About menu command in EXPGUI. |
---|
180 | You then want to download this file: |
---|
181 | is distributed as |
---|
182 | <DL> |
---|
183 | <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_alpha.zip"> |
---|
184 | ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_alpha.zip</A> |
---|
185 | <BR> |
---|
186 | (Mirrors: select file expgui_alpha.zip from |
---|
187 | <A HREF=" |
---|
188 | http://www.ccp14.ac.uk/ccp/ccp14/ftp-mirror/briantoby/pub/cryst/gsas/"> |
---|
189 | UK</A>, |
---|
190 | |
---|
191 | <A HREF="http://ccp14.sims.nrc.ca/ccp/ccp14/ftp-mirror/briantoby/pub/cryst/gsas/"> |
---|
192 | Canada</A> |
---|
193 | or |
---|
194 | |
---|
195 | <A HREF=" |
---|
196 | http://ccp14.minerals.csiro.au/ccp/ccp14/ftp-mirror/briantoby/pub/cryst/gsas/"> |
---|
197 | Australia</A>.) |
---|
198 | </DL><P> |
---|
199 | and unpack it to subdirectory <tt>...\gsas\expgui\</tt>. |
---|
200 | Depending how you work with the zip directory, you may want to copy the |
---|
201 | files in the .zip archive into the existing <tt>gsas\expgui</tt> directory or |
---|
202 | rename the original <tt>expgui</tt> in <tt>gsas</tt> |
---|
203 | and then drag the new expgui directory into the gsas folder. |
---|
204 | Finally, you can check if the EXPGUI program has been updated, by restarting |
---|
205 | it and again using the Help/About menu option. |
---|
206 | </DL></DL> |
---|
207 | <H2>Problems & Questions</H2> |
---|
208 | <OL> |
---|
209 | <LI>Where can the software be installed? |
---|
210 | <UL> |
---|
211 | Do not install the software on a directory containing a space (for example, |
---|
212 | C:\Program files\GSAS). This will cause some of the shortcuts to break. |
---|
213 | <P> |
---|
214 | On Windows-95/-98 or -ME, if you install in a location other than C:\GSAS, |
---|
215 | you will need to define the GSAS environment variable in your AUTOEXEC.BAT file |
---|
216 | by adding a line like this: |
---|
217 | <FONT FACE="COURIER"><PRE> |
---|
218 | SET GSAS=G:\MySoftware\GSAS |
---|
219 | </PRE></FONT> |
---|
220 | </UL> |
---|
221 | |
---|
222 | <LI>How do I increase the Environment variable space |
---|
223 | <UL>This is only needed on -95/-98 or -ME. |
---|
224 | To add more environment space in Win95/98, add the following line to the |
---|
225 | CONFIG.SYS file in the root directory |
---|
226 | <FONT FACE="COURIER"><PRE> |
---|
227 | SHELL=C:\WINDOWS\COMMAND.COM /P /E:4096 |
---|
228 | </PRE></FONT> |
---|
229 | Also add the following line to the SYSTEM.INI file (in c:\windows) under |
---|
230 | the heading [NonWindowsApp] |
---|
231 | <FONT FACE="COURIER"><PRE> |
---|
232 | |
---|
233 | CommandEnvSize=2424 |
---|
234 | </PRE></FONT> |
---|
235 | (thanks to Louis Farrugia [louis@chem.gla.ac.uk] for this). |
---|
236 | |
---|
237 | </UL> |
---|
238 | <LI>What versions of Windows can I use? |
---|
239 | <UL>As far as I am aware, EXPGUI will run under all releases of Windows from |
---|
240 | -95/-98/-ME/-NT/-2000 through -XP, but it is not tested |
---|
241 | here on most of those platforms. |
---|
242 | I depend on feedback from users to tell me of OS conflicts, but none have |
---|
243 | been reported. |
---|
244 | </UL> |
---|
245 | <LI>EXPGUI seems pretty slow, or is it my imagination? |
---|
246 | <UL> |
---|
247 | Well, actually the problem is Windows. EXPGUI is pretty zippy in LINUX, |
---|
248 | but some operations |
---|
249 | (reading a histogram in liveplot for example) can take 3-5 times |
---|
250 | longer in Windows than in UNIX on the exact same hardware. |
---|
251 | By all means, take this up with the folks in Redmond, WA. |
---|
252 | |
---|
253 | </UL> |
---|
254 | <LI>When I run one of the GSAS graphics programs (POWPLOT, RAWPLOT,...) the |
---|
255 | program starts, and I can answer questions, but when it comes to the part |
---|
256 | of the program that should display a plot, I get no plot (and possibly |
---|
257 | the DOS window disappears without a trace.) |
---|
258 | <UL> |
---|
259 | There are two problems I know of that can cause graphics errors: |
---|
260 | One is that the graphics package (PGPLOT) cannot find the PGPLOT_FONT |
---|
261 | environment variable (that points to file GRFONT.DAT). EXPGUI does this |
---|
262 | for you and warns if it can't find this file, so the likely reason is |
---|
263 | that you are out of environment space (see 2, above). |
---|
264 | <P> |
---|
265 | The other appears to be a graphics mode problem. Not all modes work |
---|
266 | on all machines. Try mode A. If you still have problems, see if it is an |
---|
267 | EXPGUI problem: Try using a plotting program |
---|
268 | (RAWPLOT is a good choice) from PC-GSAS or GSAS.BAT. If the plotting |
---|
269 | program does not work there either, first check PGPLOT_FONT is defined |
---|
270 | (by opening a DOS box and type SET, also see question 2, above.) |
---|
271 | If the plotting program runs in PC-GSAS or GSAS.BAT but not EXPGUI, you have a |
---|
272 | real EXPGUI bug and should bug me. |
---|
273 | |
---|
274 | </UL> |
---|
275 | <a name="NetPath"></a> |
---|
276 | <LI>Can GSAS and EXPGUI be located on a shared network drive? |
---|
277 | <UL> |
---|
278 | Yes. With earlier versions of GSAS path had to be mapped to a |
---|
279 | "logical drive." (e.g. F:). In the current versions of GSAS, this does not |
---|
280 | seem to be needed, but |
---|
281 | EXPGUI will warn you, if you try to do this, since I am not certain |
---|
282 | that this works. |
---|
283 | <P> |
---|
284 | I do not know if GSAS will work properly with |
---|
285 | experiment and data files on a networked drive without mapping the |
---|
286 | path to a "logical drive." |
---|
287 | There are some definite problems in GSAS where directory and file |
---|
288 | names contain |
---|
289 | spaces so EXPGUI generates warning messages if you do this. |
---|
290 | </UL> |
---|
291 | |
---|
292 | </OL> |
---|
293 | |
---|
294 | <H2> |
---|
295 | Acknowledgements</H2> |
---|
296 | <P> |
---|
297 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html"> |
---|
298 | GSAS</A> |
---|
299 | is written by Allen C. Larson and Robert B. Von Dreele, MS-H805, |
---|
300 | Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions |
---|
301 | or kudos concerning GSAS should be sent to Robert B. Von Dreele at |
---|
302 | <A HREF="MAILTO:vondreele@anl.gov">vondreele@anl.gov</A> |
---|
303 | <P>EXPGUI is written by Brian H. Toby of the NIST Center for Neutron Research, |
---|
304 | <A HREF="MAILTO:Brian.Toby@ANL.GOV">Brian.Toby@ANL.GOV</A> |
---|
305 | with help from Jonathan Wasserman. |
---|
306 | |
---|
307 | <P> |
---|
308 | <hr><blockquote> |
---|
309 | GSAS is Copyright, 1984-1997, The Regents of the University of California. |
---|
310 | The GSAS software was produced under a U.S. Government contract (W-7405-ENG-36) |
---|
311 | by the Los Alamos National Laboratory, which is operated by the University |
---|
312 | of California for the U.S. Department of Energy. The U.S. Government is |
---|
313 | licensed to use, reproduce, and distribute this software. Permission is |
---|
314 | granted to the public to copy and use this software without charge, provided |
---|
315 | that this notice and any statement of authorship are reproduced on all |
---|
316 | copies. Neither the Government nor the University makes any warranty, express |
---|
317 | or implied, or assumes any liability or responsibility for the use of this |
---|
318 | software. |
---|
319 | |
---|
320 | <P>EXPGUI is not subject to copyright. Have fun with it. |
---|
321 | |
---|
322 | <p>Neither the U.S. Government nor any author makes any warranty, |
---|
323 | expressed or implied, or assumes any liability or responsibility |
---|
324 | for the use of this information or the software described |
---|
325 | here. Brand names cited here are used for |
---|
326 | identification purposes and do not consitute an endorsement by NIST. |
---|
327 | </blockquote> |
---|
328 | <hr> |
---|
329 | <TABLE BORDER BGCOLOR="#FFFF40" ALIGN=RIGHT> |
---|
330 | <TR> |
---|
331 | <TH> |
---|
332 | <a href="http://www.ncnr.nist.gov/xtal/software/gsas+expgui.html">self-installer notes</a></TH> |
---|
333 | <TH><A Href="win_old_notes.html">Windows install details</A></TH> |
---|
334 | <TH><A Href="expgui.html">EXPGUI home</A></TH> |
---|
335 | </TR></TABLE><BR CLEAR=ALL> |
---|
336 | |
---|
337 | <P> |
---|
338 | <font size=-1><? lastmod(); ?> </font> |
---|
339 | <br> |
---|
340 | $Revision: 971 $ $Date: 2010-03-28 14:19:30 +0000 (Sun, 28 Mar 2010) $ |
---|
341 | </blockquote> |
---|
342 | </body> |
---|
343 | </html> |
---|