source: trunk/doc/expgui_Unix_readme.html @ 84

Last change on this file since 84 was 69, checked in by toby, 14 years ago

# on 1999/03/19 16:58:39, toby did:
shift to *.ncnr.nist.gov, new liveplot

  • Property rcs:author set to toby
  • Property rcs:date set to 1999/03/19 16:58:39
  • Property rcs:lines set to +32 -14
  • Property rcs:rev set to 1.4
  • Property rcs:state set to Exp
  • Property svn:keywords set to Author Date Revision Id
File size: 6.1 KB
Line 
1<HTML>
2<HEAD>
3   <TITLE>Installation notes for EXPGUI in Unix</TITLE>
4</HEAD>
5<BODY>
6<H1>
7<FONT SIZE=+2>Installation notes for GSAS with the EXPGUI GUI for UNIX</FONT></H1>
8Note that root access is not required to load GSAS, Tcl/Tk and
9EXPGUI.
10
11<H2>0. Prerequisites</H2>
12
13I will assume that you already have the Tcl/Tk package loaded on your computer. If this
14is not true, please see
15<A HREF="http://www.ncnr.nist.gov/~toby/tclpkgs.html">
16http://www.ncnr.nist.gov/~toby/tclpkgs.html
17</A> for installation instructions.
18Likewise, I will assume you have also loaded the appropriate GSAS release, if not see
19<A HREF="http://www.ncnr.nist.gov/~toby/unixgsas.html">
20http://www.ncnr.nist.gov/~toby/unixgsas.html
21</A> for installation instructions.
22
23<P>More information about EXPGUI, including information on how it
24can be customized, can be found on web pages <A HREF="http://www.ncnr.nist.gov/~toby/expgui/expgui.html">expgui.html</A>
25and <A HREF="http://www.ncnr.nist.gov/~toby/expgui/expgui_cfg.html">expgui_cfg.html</A>, found in the gsas/expgui/doc directory.
26
27<H2>
281. EXPGUI Downloading</H2>
29download file
30<A HREF="ftp://ftp.ncnr.nist.gov/bt1/gsas/expgui.tar.gz">
31ftp://ftp.ncnr.nist.gov/bt1/gsas/expgui.tar.gz</A> (~300 K)
32by shift-clicking on the previous link.
33<P>
34If you want to try the latest release (which may not have gotten
35a lot of testing, but probably has new bug fixes and capabilities) shift-click
36on <A HREF="ftp://ftp.ncnr.nist.gov/bt1/gsas/expgui_ALPHA.tar.gz">
37ftp://ftp.ncnr.nist.gov/bt1/gsas/expgui_ALPHA.tar.gz</A>
38<P>
39Optionally download the TCLDUMP program to speed and enhance liveplot,
40<UL>
41<LI>LINUX: <A HREF="ftp://ftp.ncnr.nist.gov/bt1/gsas/exe_linux/tcldump.tar.gz">
42ftp://ftp.ncnr.nist.gov/bt1/gsas/exe_linux/tcldump.tar.gz</A> (~65 K) or
43<LI>Silicon Graphics: <A HREF="ftp://ftp.ncnr.nist.gov/bt1/gsas/exe_sgi/tcldump.tar.gz">
44ftp://ftp.ncnr.nist.gov/bt1/gsas/exe_sgi/tcldump.tar.gz</A> (~45 K)
45</UL>by shift-clicking on the appropriate link.
46<H2>
472. EXPGUI Installation</H2>
48A few short steps are needed to load EXPGUI on your computer.
49<H4>
502.1 Create a directory and restore the files</H4>
51The EXPGUI scripts are set up to be run from a <B>subdirectory in the main GSAS
52directory</B>, by convention I assume the directory name <tt>expgui</tt>, but this is
53not required. Thus, if you have located the GSAS package in
54<TT>/usr/local/gsas</TT> (so that there is a directory
55<TT>/usr/local/gsas/exe</TT>, <TT>/usr/local/gsas/data</TT>, ...)
56I assume you will put
57these files in <TT>/usr/local/gsas/expgui</TT> but any subdirectory,
58such as <TT>/usr/local/gsas/tcl</TT> will work fine.
59Change the subsequent commands if GSAS is located somewhere
60other than <TT>/usr/local/gsas</TT>.
61
62<PRE>
63            cd    /usr/local/gsas
64            mkdir expgui
65            cd    expgui
66            gunzip <  [/path/]expgui.tar.gz  | tar xvf -
67</PRE>
68<P>When restoring the GSAS files from the tar file,
69note that <TT>[/path/]</TT> in the example above indicates the location
70where you downloaded the tar file in section 2, above.
71
72<H4>
732.2a Installing a shortcut to EXPGUI in .cshrc</H4>
74<P>To use EXPGUI, you probably need to create an easy way to access it.
75One way to do this is to add an alias to your ~/.cshrc file:
76<PRE>
77                cat >> ~/.cshrc
78                alias expgui "wish /usr/local/gsas/expgui/expgui"
79                ^D
80</PRE>
81<H4>
822.2b Installing EXPGUI in the path</H4>
83<P>
84Another way to simplify access to EXPGUI
85is to create a file which will execute the GUI script from
86a command in your system's path, for example <TT>/usr/bin</TT>.
87<PRE>
88                cat > /usr/bin/expgui
89                wish /usr/local/gsas/expgui/expgui
90                ^D
91                chmod +x /usr/bin/expgui
92</PRE>
93<H4>
942.2c Linking EXPGUI in the path</H4>
95<P>
96Another way to simplify access to EXPGUI
97is to create a link in your system's path to the GUI script.
98Note that you may need to modify the first line of
99<TT>/usr/local/gsas/expgui/expgui</TT>, if wish is located somewhere
100other than <TT>/usr/local/bin/wish</TT>.
101
102<PRE>
103                chmod +x /usr/local/gsas/expgui/expgui
104                ln -s /usr/local/gsas/expgui/expgui /usr/bin/expgui
105</PRE>
106
107<em>Note that in the above commands </em><TT>^D</TT><em> means control-D.</em>
108
109<H4>
1102.3 Installing TCLDUMP</H4>
111The TCLDUMP program should be located with all of the GSAS executable files, for example in /usr/local/gsas/exe/.
112<PRE>
113            cd    /usr/local/gsas/exe
114            gunzip <  [/path/]tcldump.tar.gz  | tar xvf -
115</PRE>
116
117<hr>
118GSAS is written by Allen C. Larson and <A HREF="http://lansce.lanl.gov/lujan/staff12/vondreele.htm">
119Robert B. Von Dreele</A>, MS-H805,
120Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions
121or kudos concerning GSAS should be sent to Robert B. Von Dreele at
122<A HREF="MAILTO:vondreele@lanl.gov">vondreele@lanl.gov</A>
123<P>GSAS is Copyright, 1984-1997, The Regents of the University of California.
124The GSAS software was produced under a U.S. Government contract (W-7405-ENG-36)
125by the Los Alamos National Laboratory, which is operated by the University
126of California for the U.S. Department of Energy. The U.S. Government is
127licensed to use, reproduce, and distribute this software. Permission is
128granted to the public to copy and use this software without charge, provided
129that this notice and any statement of authorship are reproduced on all
130copies. Neither the Government nor the University makes any warranty, express
131or implied, or assumes any liability or responsibility for the use of this
132software.
133<P>EXPGUI is written by Brian H. Toby of the NIST Center for Neutron Research,
134<A HREF="MAILTO:Brian.Toby@NIST.GOV">Brian.Toby@NIST.GOV</A> 
135with help from Jonathan Wasserman.
136
137<P>EXPGUI is not subject to copyright. Have fun with it.
138
139<p>Neither the U.S. Government nor any author makes any warranty,
140expressed or implied, or assumes any liability or responsibility
141for the use of this information or the software described
142here. Brand names cited here are used for
143identification purposes and do not consitute an endorsement by NIST.
144
145<p><a href="http://www.ncnr.nist.gov/~toby/">Brian Toby</a> (<a href="mailto:brian.toby@nist.gov">Brian.Toby@NIST.GOV</a>)
146<br>
147$Revision: 69 $ $Date: 2009-12-04 22:59:53 +0000 (Fri, 04 Dec 2009) $
148</body>
149</html>
Note: See TracBrowser for help on using the repository browser.