64 |
\end{itemize} |
\end{itemize} |
65 |
\item netpbm (\url{http://netpbm.sourceforge.com}) \\- |
\item netpbm (\url{http://netpbm.sourceforge.com}) \\- |
66 |
Tools for producing movies from images |
Tools for producing movies from images |
|
\item mpich2-1.0.7 (\url{http://www.mcs.anl.gov/research/projects/mpich2}) \\- |
|
|
Parallelization with \mpi |
|
67 |
\item parmetis-3.1 (\url{http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview}) \\- |
\item parmetis-3.1 (\url{http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview}) \\- |
68 |
Optimization of the stiffness matrix |
Optimization of the stiffness matrix |
69 |
\item MKL \\(\url{http://www.intel.com/cd/software/products/asmo-na/eng/307757.htm}) \\- |
\item MKL \\(\url{http://www.intel.com/cd/software/products/asmo-na/eng/307757.htm}) \\- |
70 |
Intel's Math Kernel Library for use with their C compiler. |
Intel's Math Kernel Library for use with their C compiler. |
71 |
|
\item Lapack - Available in various versions from various places. \\ |
72 |
|
Currently only used to invert dense square matrices larger than 3x3. |
73 |
\end{itemize} |
\end{itemize} |
74 |
|
|
75 |
The following packages might be useful for mesh generation: |
The following packages might be useful for mesh generation: |
104 |
For example the options file for \texttt{bob-desktop} would be named \filename{bob_desktop_options.py}. |
For example the options file for \texttt{bob-desktop} would be named \filename{bob_desktop_options.py}. |
105 |
|
|
106 |
From now on all paths will be relative to the top level of the source. |
From now on all paths will be relative to the top level of the source. |
107 |
As a starting point copy the contents one of the following files : |
As a starting point copy the contents one of the following files into your options file: |
108 |
\begin{itemize} |
\begin{itemize} |
109 |
\item \filename{scons/linux_options_example.py} (\linux desktop) |
\item \filename{scons/linux_options_example.py} (\linux desktop) |
110 |
\item \filename{scons/mac_options_example.py} (\macosx desktop) |
\item \filename{scons/mac_options_example.py} (\macosx desktop) |
112 |
\item \filename{scons/winxp_options_example.py} (\winxp) |
\item \filename{scons/winxp_options_example.py} (\winxp) |
113 |
\end{itemize} |
\end{itemize} |
114 |
|
|
115 |
|
Check through the file and ensure that the relevant paths and names are correct for your system. |
116 |
|
For optional features, you will need to set their use variable as well. |
117 |
|
For example, to use netcdf, you will need to find the |
118 |
|
usevtk line and make sure it reads |
119 |
|
\begin{shellCode} |
120 |
|
usevtk = 'yes' |
121 |
|
\end{shellCode} |
122 |
|
(and is not commented out - ie it does not begin with \#) |
123 |
|
|
124 |
|
If a line is commented out and you do not require those features, then it can be ignored. |
125 |
|
|
126 |
To actually compile (if you have $n$ processors, then you can use \texttt{scons -j$n$} instead): |
To actually compile (if you have $n$ processors, then you can use \texttt{scons -j$n$} instead): |
127 |
|
|
128 |
\begin{shellCode} |
\begin{shellCode} |