source: trunk/doc/expgui_Unix_readme.html @ 258

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

# on 2000/08/04 19:24:50, toby did:
expand "shortcut" discussion

  • Property rcs:author set to toby
  • Property rcs:date set to 2000/08/04 19:24:50
  • Property rcs:lines set to +29 -11
  • Property rcs:rev set to 1.10
  • Property rcs:state set to Exp
  • Property svn:keywords set to Author Date Revision Id
File size: 8.5 KB
Line 
1<HTML>
2<HEAD>
3   <META NAME="Author" CONTENT="Brian H. Toby">
4   <TITLE>UNIX Installation notes for EXPGUI</TITLE>
5</HEAD>
6<BODY BGCOLOR="#FFFFFF">
7<A HREF=http://www.ncnr.nist.gov>
8<IMG SRC="http://www.ncnr.nist.gov/images/ncnrtrans.gif" 
9alt="Link to NIST Center for Neutron Research home page"
10ALIGN=RIGHT></A>
11<A HREF=http://www.nist.gov>
12<IMG SRC="http://www.ncnr.nist.gov/images/webidblue_2lineright.gif" 
13alt="Link to National Institute of Standards & Technology home page"
14ALIGN=LEFT></A>
15<CENTER>
16<A Href="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html">
17<IMG SRC="tcltklogo100.gif" 
18alt="Link to Tcl/Tk information">
19</CENTER></A>
20
21
22<CENTER>
23<HR noshade width="75%" size="2" align="center">
24<H1>
25UNIX Installation notes for
26<A HREF="expgui.html">
27EXPGUI
28</A>
29</H1>
30<HR noshade width="75%" size="2" align="center">
31</CENTER>
32Note that root access is not required to load GSAS, Tcl/Tk and
33<A HREF="expgui.html">EXPGUI</A>.
34
35<H2>0. Prerequisites</H2>
36
37I will assume that you already have the Tcl/Tk package loaded on your computer. If this
38is not true, please see
39<A HREF="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html">
40http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html
41</A> for installation instructions. Please note that EXPGUI seems to run very
42slowly in Tcl/Tk version 8.1, but OK in 8.0 and 8.2.
43<P>
44Likewise, I will assume you have also loaded the appropriate GSAS release, if not see
45<A HREF="http://www.ncnr.nist.gov/programs/crystallography/software/unixgsas.html">
46http://www.ncnr.nist.gov/programs/crystallography/software/unixgsas.html
47</A> for installation instructions.
48
49<P>More information about EXPGUI, including information on how it
50can be customized, can be found on web pages <A HREF="expgui.html">expgui.html</A>
51and <A HREF="expgui_cfg.html">expgui_cfg.html</A>, found in the gsas/expgui/doc directory.
52
53<H2>
541. EXPGUI Downloading</H2>
55download file
56<A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui.tar.gz">
57ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui.tar.gz</A> (~300 K)
58by shift-clicking on the previous link.
59<P>
60If you want to try the latest release (which may not have gotten
61a lot of testing, but probably has new bug fixes and capabilities) shift-click
62on <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_ALPHA.tar.gz">
63ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/expgui_ALPHA.tar.gz</A>
64<P>
65If you are using an older version of GSAS (before April, 2000) you may
66want to download the TCLDUMP program to speed and enhance liveplot and the
67EXPTOOL program which allows EXPGUI to add phases, histograms and atoms
68to .EXP files. More recent versions of GSAS include these programs in the
69distributions.
70<UL>
71<LI>LINUX: <BR>
72<A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_linux/tcldump.tar.gz">
73ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_linux/tcldump.tar.gz</A> (~65 K)
74<BR>
75<A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_linux/exptool.tar.gz">
76ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_linux/exptool.tar.gz</A> (~292 K)
77</LI><P>
78or
79<P>
80<LI>Silicon Graphics: <BR>
81<A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_sgi/tcldump.tar.gz">
82ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_sgi/tcldump.tar.gz</A> (~45 K)
83<BR>
84<A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_sgi/exptool.tar.gz">
85ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/exe_sgi/exptool.tar.gz</A> (~377 K)
86</UL>Transfer the files by shift-clicking on the appropriate links.
87<H2>
882. EXPGUI Installation</H2>
89A few short steps are needed to load EXPGUI on your computer.
90<H3>
912.1 Create a directory and restore the files</H3>
92The EXPGUI scripts are set up to be run from a <B>subdirectory in the main GSAS
93directory</B>, by convention I assume the directory name <tt>expgui</tt>, but this is
94not required. Thus, if you have located the GSAS package in
95<TT>/usr/local/gsas</TT> (so that there is a directory
96<TT>/usr/local/gsas/exe</TT>, <TT>/usr/local/gsas/data</TT>, ...)
97I assume you will put
98these files in <TT>/usr/local/gsas/expgui</TT> but any subdirectory,
99such as <TT>/usr/local/gsas/tcl</TT> will work fine.
100Change the subsequent commands if GSAS is located somewhere
101other than <TT>/usr/local/gsas</TT>.
102
103<PRE>
104            cd    /usr/local/gsas
105            mkdir expgui
106            cd    expgui
107            gunzip <  [/path/]expgui.tar.gz  | tar xvf -
108</PRE>
109<P>When restoring the GSAS files from the tar file,
110note that <TT>[/path/]</TT> in the example above indicates the location
111where you downloaded the tar file in section 2, above.
112
113<H3>
1142.2 Installing a shortcut to EXPGUI</H3>
115While it is possible to invoke EXPGUI by typing
116<PRE>
117                wish /usr/local/gsas/expgui/expgui
118</PRE>
119or
120<PRE>
121                /home/toby/mywish/wish /home/toby/mygsas/expgui/expgui
122</PRE>
123or whatever, you will likely want to create an easier command to type.
124Below are three ways to do this. Note that only one is needed. Do not use all
125three.
126
127<em>Also, note that in the commands below,
128</em><TT>^D</TT><em> means control-D.</em>
129
130
131<UL><H4>
1322.2a Installing a shortcut to EXPGUI in .cshrc</H4>
133<P>To use EXPGUI, you probably need to create an easy way to access it.
134One way to do this is to add an alias to your ~/.cshrc file:
135<PRE>
136                cat >> ~/.cshrc
137                alias expgui "wish /usr/local/gsas/expgui/expgui"
138                ^D
139</PRE>
140<H4>
1412.2b Installing EXPGUI in the path</H4>
142<P>
143Another way to simplify access to EXPGUI
144is to create a file which will execute the GUI script from
145a command in your system's path, for example <TT>/usr/bin</TT>.
146<PRE>
147                cat > /usr/bin/expgui
148                wish /usr/local/gsas/expgui/expgui
149                ^D
150                chmod +x /usr/bin/expgui
151</PRE>
152<I>Note that this step (2.2b) is incompatible with the one below (2.2c).</I>
153<H4>
1542.2c Linking EXPGUI in the path</H4>
155<P>
156Another way to simplify access to EXPGUI
157is to create a link in your system's path to the GUI script.
158Note that you may need to modify the first line of
159<TT>/usr/local/gsas/expgui/expgui</TT>, if wish is located somewhere
160other than <TT>/usr/local/bin/wish</TT>.
161
162<PRE>
163                chmod +x /usr/local/gsas/expgui/expgui
164                ln -s /usr/local/gsas/expgui/expgui /usr/bin/expgui
165</PRE>
166<I>Note that this step (2.2c) is incompatible with the one above (2.2b).</I>
167</UL>
168<H3>
1692.3 Installing TCLDUMP</H3>
170If not already present, the TCLDUMP program should be located with all of the GSAS executable files, for example in /usr/local/gsas/exe/.
171<PRE>
172            cd    /usr/local/gsas/exe
173            gunzip <  [/path/]tcldump.tar.gz  | tar xvf -
174</PRE>
175
176<H3>
1772.4 Installing EXPTOOL</H3>
178If not already present, the EXPTOOL program should be located with all of the GSAS executable files,
179for example in /usr/local/gsas/exe/.
180<PRE>
181            cd    /usr/local/gsas/exe
182            gunzip <  [/path/]exptool.tar.gz  | tar xvf -
183</PRE>
184
185<hr>
186<A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html">
187GSAS</A>
188is written by Allen C. Larson and <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://lansce.lanl.gov/lujan/staff12/vondreele.htm">
189Robert B. Von Dreele</A>, MS-H805,
190Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions
191or kudos concerning GSAS should be sent to Robert B. Von Dreele at
192<A HREF="MAILTO:vondreele@lanl.gov">vondreele@lanl.gov</A>
193<P>GSAS is Copyright, 1984-1997, The Regents of the University of California.
194The GSAS software was produced under a U.S. Government contract (W-7405-ENG-36)
195by the Los Alamos National Laboratory, which is operated by the University
196of California for the U.S. Department of Energy. The U.S. Government is
197licensed to use, reproduce, and distribute this software. Permission is
198granted to the public to copy and use this software without charge, provided
199that this notice and any statement of authorship are reproduced on all
200copies. Neither the Government nor the University makes any warranty, express
201or implied, or assumes any liability or responsibility for the use of this
202software.
203<P>EXPGUI is written by Brian H. Toby of the NIST Center for Neutron Research,
204<A HREF="MAILTO:Brian.Toby@NIST.GOV">Brian.Toby@NIST.GOV</A> 
205with help from Jonathan Wasserman.
206
207<P>EXPGUI is not subject to copyright. Have fun with it.
208
209<p>Neither the U.S. Government nor any author makes any warranty,
210expressed or implied, or assumes any liability or responsibility
211for the use of this information or the software described
212here. Brand names cited here are used for
213identification purposes and do not consitute an endorsement by NIST.
214
215<p><a href="http://www.ncnr.nist.gov/staff/toby/">Brian Toby</a> (<a href="mailto:brian.toby@nist.gov">Brian.Toby@NIST.GOV</a>)
216<br>
217$Revision: 258 $ $Date: 2009-12-04 23:03:03 +0000 (Fri, 04 Dec 2009) $
218</body>
219</html>
Note: See TracBrowser for help on using the repository browser.