Documenting GEOS-5 Gridded Components: Difference between revisions

Pchakrab (talk | contribs)
No edit summary
Pchakrab (talk | contribs)
Line 27: Line 27:
This is a temporary method of compiling the resulting tex file.
This is a temporary method of compiling the resulting tex file.


Copy the two files GEOS_preamble.tex and make_doc from /discover/swdev/pchakrab/sandbox/AGCM/G20U_doc/GEOSagcm/Linux/doc into your Linux/doc.
Copy the two files GEOS_Preamble.tex and make_doc over into Linux/doc.


  $ cd $ESMADIR/Linux/doc
  $ cd $ESMADIR/Linux/doc
  $ cp /discover/swdev/pchakrab/sandbox/AGCM/G20U_doc/GEOSagcm/Linux/doc/GEOS_preamble.tex .
  $ cp /discover/swdev/pchakrab/scratch/doc/GEOS_preamble.tex .
  $ cp /discover/swdev/pchakrab/sandbox/AGCM/G20U_doc/GEOSagcm/Linux/doc/make_doc .
  $ cp /discover/swdev/pchakrab/scratch/doc/make_doc.csh .


Edit file make_doc to reflect the correct GridComp name (set TEXFILE = FVdycore_GridComp.tex) and compile
Edit file make_doc.csh to reflect the correct GridComp name (set TEXFILE = FVdycore_GridComp.tex) and compile


  $ ./make_doc
  $ ./make_doc.csh


This creates the file 'tmp.pdf'. '''On discover''', xpdf is located at /usr/local/other/SLES11/xpdf/3.03-gcc-4.3.2/bin/xpdf.
This creates the file 'tmp.pdf'. '''On discover''', xpdf is located at /usr/local/other/SLES11/xpdf/3.03-gcc-4.3.2/bin/xpdf.