[cig-commits] r13472 - in doc/snac: . figures

echoi at geodynamics.org echoi at geodynamics.org
Mon Dec 8 05:31:14 PST 2008


Author: echoi
Date: 2008-12-08 05:31:14 -0800 (Mon, 08 Dec 2008)
New Revision: 13472

Added:
   doc/snac/figures/EP_hierarchy_StG.pdf
Modified:
   doc/snac/snac.lyx
Log:
1. Added a new figure to Sec. 1.2.3.
2. Some work on Ch. 2 and Sec. 3.1.



Added: doc/snac/figures/EP_hierarchy_StG.pdf
===================================================================
--- doc/snac/figures/EP_hierarchy_StG.pdf	                        (rev 0)
+++ doc/snac/figures/EP_hierarchy_StG.pdf	2008-12-08 13:31:14 UTC (rev 13472)
@@ -0,0 +1,98 @@
+%PDF-1.4
+%Ç쏢
+5 0 obj
+<</Length 6 0 R/Filter /FlateDecode>>
+stream
+xœ½˜KoÛFÇïü{lÝîÌìóX»A‘C€&Ö©—ÀU”G!ٍ-÷ñíûJ\J¶HŠBPØ€´äììë7ÿ™ÕWã,§ûÏå¦ùñ]2Ÿ›d“D)æï†Ì›¦µ1ï~iÈÙ⃟ƒØ"†$’d|	–¸˜‡Usƒú÷ð©Il³„ëìmN†X’Íl¼ˆeÉjýqo
+ßgXß4?º‚ÖË/0g+.G(e‹ObmÎêʦL»G\`g¸¸é÷c÷#ÅÖ´ß÷ˍ¹Z4?8ë\bï™Ìb‰½…‡Uºbºò¶ƒ)6:‹	L6ød›æ»Ÿ~Ü>Ü.·×÷wÛÕ?Û÷¯~}õôeýáûÅÍ«Eó¶QÏTJ.­Êу±)QÉ^âÈ„g„LpÉF:&ôaõñöi½}³zü|<ªlLî‘Ï<6°O (âÈ‹ØXb;ðÍÝíòÙÒ»;b$;ÂáôÄœ¤‘ÄÛÄ	ÖÂøbÓ±ÎÐx†õt¯4Ödüº,´0N{8ŸEðKÆÿÈþS°©HÂxÑŠð‰¯¯¿†.åÂ2‚cŸwl½KÏ9|}ý8›Bì§#ÛƒÀ¶p8øl}¦ÊàᢻÁbw>V9ÜôOdOj;€Çڐä-ØZÖãS±$è
+ûúòÀø"³nbô6&®6ktY¿Ï„S@´qò sœ?åð¯V¥8egä™0ÌPôLOAوÌC€ƒè¬{ôÃYÁ3éaVðÕ®Ñà!€<Ô“ tƒ2þîéî[D;$è±à	H¢‘ƒáQ-|<—h·s^8ËÈ€œ¬ ³XYŽ½x/¾lV7ÛÕŸ¿­î‡C¨Óð_‰XBê£F|B&}[˜Áéé(ê^¸C¶)DCgsEóúi!§e±j*ÛÝå 	ELxžƒÝ#.2>û¤ÂÈwºuÏRФñtŠMÄ€óm¹¦ù§6+Mº˜F"Ž'r8BÞuªN~(Š~¾bN1”±
+„
+šÉ[
+ì >¯/†º)z mˆ”$!Ô'¤IÄqßöЖÚ>B·{‰
+Úy‡ÖÞzÝôý“VS-¹uہëYåž² ¸Pùg·Cäâ@ƒ)G…¹ÖÅ;_;e<M.Â	ÇϱæU\Shñ›CyÕSò!¦QrµRÄ*ÆqƒÕ“jáÿ’YØc/4÷–”Nf€º~&ûªŽmú'ª{¸óÕ¶÷ (õmŽþaf­ŸQšw/Ü!é•qÝ°Cqà¥Ú(Í—õSœ¹·ÂÔáŒlm±êÓ8#Z+¡ˆmŸÄyÚx
+gH^Ñâ£gq§å3p>ÃÅ,œ½/zÁÉç¥àÎQ¦p¾º¾ w*Iês¸öMöþÞö*x¢ç¤7AtÒ­Ð$­@C}ªÛb°oëõNjû˜ÝúÒ£hCaÏVg¾®6¸K'åµe÷¢~-»I¯xƒû®i$Y—ÑE„¢+Ze­8pùbÚx]\Ã0arEÐøI˜SˆO{˜WA°gò£àz+ºé$ƒ:|¿þkuY)\\˜¸¹
+¡ÄR*_Gïñ˜uÑ<¤ºOÅ›þID÷ŠÂ¾ òASBKÊ¿x&ígÿòÀâBGXã	¸ðÕDñ½¨ÛŽ^tTEÚÿ8	¸¸âÛÒ€ÉÅÅJþSÆÓø¢x†~h2ŒÔÝDi¿“.æ’…ÆŠPíÃ'BU¯ËC ÿ{·¼D{St1þþ'Œí¦è…*Zé=ð¼{ñê±I©<Ç
+k(YŽèšI”Ðá$»ÝËޛĨ÷ªÊ`gqˆîœ^JîÛæ?!3ÀÍendstream
+endobj
+6 0 obj
+1396
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 424 536]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF /Text]
+/ExtGState 9 0 R
+/Font 10 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 11 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+9 0 obj
+<</R7
+7 0 R>>
+endobj
+10 0 obj
+<</R8
+8 0 R>>
+endobj
+8 0 obj
+<</BaseFont/Times-Roman/Type/Font
+/Subtype/Type1>>
+endobj
+11 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1287>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='7654c5db-fcf4-11e8-0000-6f8de54877bf' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 8.61'/>
+<rdf:Description rdf:about='7654c5db-fcf4-11e8-0000-6f8de54877bf' xmlns:xap='http://ns.adobe.com/xap/1.0/' xap:ModifyDate='2008-12-07T22:25:51-05:00' xap:CreateDate='2008-12-07T22:25:51-05:00'><xap:CreatorTool>UnknownApplication</xap:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='7654c5db-fcf4-11e8-0000-6f8de54877bf' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='7654c5db-fcf4-11e8-0000-6f8de54877bf'/>
+<rdf:Description rdf:about='7654c5db-fcf4-11e8-0000-6f8de54877bf' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+                                                                        
+                                                                        
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 8.61)
+/CreationDate(D:20081207222551-05'00')
+/ModDate(D:20081207222551-05'00')>>endobj
+xref
+0 12
+0000000000 65535 f 
+0000001710 00000 n 
+0000003305 00000 n 
+0000001651 00000 n 
+0000001501 00000 n 
+0000000015 00000 n 
+0000001481 00000 n 
+0000001775 00000 n 
+0000001875 00000 n 
+0000001816 00000 n 
+0000001845 00000 n 
+0000001941 00000 n 
+trailer
+<< /Size 12 /Root 1 0 R /Info 2 0 R
+/ID [<BF68FB251DB11D64265D31B4257BD83A><BF68FB251DB11D64265D31B4257BD83A>]
+>>
+startxref
+3428
+%%EOF

Modified: doc/snac/snac.lyx
===================================================================
--- doc/snac/snac.lyx	2008-12-08 12:22:56 UTC (rev 13471)
+++ doc/snac/snac.lyx	2008-12-08 13:31:14 UTC (rev 13472)
@@ -1649,10 +1649,17 @@
 \end_layout
 
 \begin_layout Standard
-The two diagrams below outline the entry points set up in SNAC.
+The diagram below (Fig.
+ 
+\begin_inset LatexCommand ref
+reference "fig:EP_hierarchy"
+
+\end_inset
+
+) outlines the entry points set up in SNAC.
  It is represented as a tree-like hierarchy: if a ``hook'' calls other entry
  points, either in its own function or other normal functions it calls,
- the called entry points are below and offset to the right of that hook.
+ the called entry points are offset to the right of that hook.
  
 \end_layout
 
@@ -1666,12 +1673,24 @@
 
 \begin_layout Standard
 \begin_inset Graphics
-	filename figures/EntryPointHierarchyinStGermain.png
+	filename figures/EP_hierarchy_StG.pdf
 	lyxscale 40
 
 \end_inset
 
 
+\begin_inset Caption
+
+\begin_layout Standard
+\begin_inset LatexCommand label
+name "fig:EP_hierarchy"
+
+\end_inset
+
+A tree-like diagram showing the hierarchy of entry points set up in SNAC
+ together with hooked-up functions in each entry point.
+ The functions defined by StGermain are marked in blue while those defined
+ in SNAC are in red.
 \end_layout
 
 \end_inset
@@ -1679,6 +1698,11 @@
 
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Section
 \begin_inset LatexCommand label
 name "sec:StGermain"
@@ -1758,7 +1782,7 @@
 \end_inset
 
 .
- First, you will need to have MPI available on your machine.
+ First, you will need to have MPI and Python available on your machine.
  
 \end_layout
 
@@ -1775,8 +1799,7 @@
 \end_layout
 
 \begin_layout Standard
-SNAC has been tested on [TODO -- is this an accurate list?] Linux and Mac
- OS X platforms.
+SNAC has been tested on Linux and Mac OS X platforms.
  
 \end_layout
 
@@ -1803,19 +1826,84 @@
 
 \begin_layout Standard
 This is done by setting following environment variables so the VMake build
- system knows where to find MPICH: 
+ system knows where to find MPICH.
 \end_layout
 
+\begin_layout Standard
+In bash,
+\end_layout
+
 \begin_layout LyX-Code
-In bash: export MPI_DIR="/usr/local/mpich" 
+export CXX=g++ 
 \end_layout
 
 \begin_layout LyX-Code
-In tcsh: setenv MPI_DIR /usr/local/mpich 
+export MPI_DIR=${HOME}/opt/mpich-1.2.7p1 
 \end_layout
 
+\begin_layout LyX-Code
+export MPI_BINDIR=${MPI_DIR}/bin 
+\end_layout
+
+\begin_layout LyX-Code
+export MPI_LIBDIR=${MPI_DIR}/lib 
+\end_layout
+
+\begin_layout LyX-Code
+export MPI_INCDIR=${MPI_DIR}/include 
+\end_layout
+
+\begin_layout LyX-Code
+export MPI_RUN=${MPI_BINDIR}/mpirun 
+\end_layout
+
+\begin_layout LyX-Code
+export PATH=${MPI_BINDIR}:${PATH} 
+\end_layout
+
+\begin_layout LyX-Code
+export LD_LIBRATY_PATH=${MPI_LIBDIR}:${LD_LIBRATY_PATH}
+\end_layout
+
 \begin_layout Standard
-Again, where /usr/local/mpich is the path where mpich was installed.
+In tcsh,
+\end_layout
+
+\begin_layout LyX-Code
+setenv CXX g++ 
+\end_layout
+
+\begin_layout LyX-Code
+setenv MPI_DIR ${HOME}/opt/mpich-1.2.7p1 
+\end_layout
+
+\begin_layout LyX-Code
+setenv MPI_BINDIR ${MPI_DIR}/bin 
+\end_layout
+
+\begin_layout LyX-Code
+setenv MPI_LIBDIR ${MPI_DIR}/lib 
+\end_layout
+
+\begin_layout LyX-Code
+setenv MPI_INCDIR ${MPI_DIR}/include 
+\end_layout
+
+\begin_layout LyX-Code
+setenv MPI_RUN ${MPI_BINDIR}/mpirun 
+\end_layout
+
+\begin_layout LyX-Code
+setenv PATH ${MPI_BINDIR}:${PATH} 
+\end_layout
+
+\begin_layout LyX-Code
+setenv LD_LIBRATY_PATH ${MPI_LIBDIR}:${LD_LIBRATY_PATH}
+\end_layout
+
+\begin_layout Standard
+${HOME}/opt/mpich-1.2.7p1 should be appropriately replaced with the actual
+ path where mpich is installed.
  
 \end_layout
 
@@ -1839,7 +1927,14 @@
 \end_layout
 
 \begin_layout Enumerate
-Tell the build system where libraries are 
+Tell the build system where libraries are.
+ See the suggested environmental variables below (Box 
+\begin_inset LatexCommand ref
+reference "box:VMakeEnvVars"
+
+\end_inset
+
+).
 \end_layout
 
 \begin_layout Enumerate
@@ -1909,10 +2004,19 @@
 Using SNAC
 \end_layout
 
+\begin_layout LyX-Code
+Snac input.xml
+\end_layout
+
 \begin_layout Standard
-[TODO -- note: Nothing was under this section head.]
+Running SNAC in parallel depends on the system configuration, but here is
+ an example
 \end_layout
 
+\begin_layout LyX-Code
+mpirun `which Snac` ./input.xml > log.stdout
+\end_layout
+
 \begin_layout Section
 Changing Parameters 
 \end_layout
@@ -3445,8 +3549,12 @@
 \end_layout
 
 \begin_layout Standard
-To visualize your results, it is recommended that you use the open source
- Open Visualization Data Explorer, better known as OpenDX.
+SNAC writes binary output files and it is necessary to convert them to a
+ VTK file format to visualize them.
+ Two such converting programs are provided.
+ One is for the open source Open Visualization Data Explorer, better known
+ as OpenDX.
+ The other is used to generate VTK files.
  Both the software and tutorials are available from the 
 \begin_inset LatexCommand htmlurl
 name "OpenDX website"



More information about the CIG-COMMITS mailing list