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