Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Koch
dune-common
Commits
aefad81c
Commit
aefad81c
authored
18 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
link to the public AmiraMesh library. Beautifications of the UG installation procedure
[[Imported from SVN: r4838]]
parent
3c986d35
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/installation-notes.wml
+23
-35
23 additions, 35 deletions
doc/installation-notes.wml
with
23 additions
and
35 deletions
doc/installation-notes.wml
+
23
−
35
View file @
aefad81c
...
...
@@ -57,9 +57,7 @@ There are no mandatory packages for UGGrid.
</p>
<p>
You can (but you don't have to) create UGGrid objects from AmiraMesh files.
For this you'll need the
<a
href=
"http://www.amiravis.com"
>
AmiraMesh
</a>
library.
It should be free, however, it is not
available for download. You'll have to inquire via email.
For this you'll need the
<a
href=
"http://www.amiravis.com/resources/Ext411-01-libamiramesh/index.html"
>
AmiraMesh
</a>
library.
</p>
<h2>
Compilation and Installation of the External Grids
</h2>
...
...
@@ -186,49 +184,39 @@ available for download. You'll have to inquire via email.
<h3>
UGGrid
</h3>
<ol>
<li><p>
Get and Install AmiraMesh
</p>
<p>
Once you have the tarball type
</p><pre>
tar xvf libamiramesh.tar
cd libamiramesh/src
make
</pre>
to install it.
</li>
<li>
<p>
Get the UG library. You can obtain it at
Get the UG library. If you intend to use the release 1.0 of DUNE you can
download to appropriate UG library at
<a
href=
"http://sit.iwr.uni-heidelberg.de/~ug"
>
http://sit.iwr.uni-heidelberg.de/~ug
</a>
.
Unfortunately, the version of UG available for download there (3.8 at the
time of writing) is not new enough to be compatible with DUNE. Please
write to one of the contact addresses given on the page
and ask for a more recent version of UG.
For more recent versions of DUNE you will need a newer UG.
Please ask on the mailing list for details.
</p>
<li>
Unpack the tarball and move into the
ug
source tree.
<li>
Unpack the tarball and move into the
UG
source tree.
<pre>
tar zxvf UG-3.9.1.tar.gz
cd UG-3.9.1
</pre>
</li>
<li><p>
Build the UG
M
ake
S
ystem
</p>
<li><p>
Build the UG
m
ake
s
ystem
</p>
<kbd>
./configure --prefix=my_favourite_ug_installation_path \\
--enable-dune CXX=g++-3.4 CC=g++-3.4
./configure --prefix=my_favourite_ug_installation_path --enable-dune CC=g++
</kbd>
<p>
With --prefix the absolute path of the directory we install to has
to be given.
</p><p>
With --enable-dune we enable special features needed by Dune.
</p><p>
With the variable CC and CXX we tell configure the C and C++
compiler and linker to use. Don't forget that the compiler has to
be binary-compatible with the one you're using for Dune.
</p><p>
<b>
Note:
</b>
Even CC has to be set to the C++ and not
the C compiler !!!
</p></li>
<ul>
<li>
<tt>
--prefix
</tt>
determines the absolute path of the directory we install to.
</li>
<li>
<tt>
--enable-dune
</tt>
enables special features needed by Dune.
</li>
<li>
CC=g++ tells the build system to compile everything as C++,
even though it is technically C. This is necessary when
using UG through the DUNE interface. Don't forget that the
compiler has to be binary-compatible with the one you're using for Dune.
</li>
</ul>
</li>
<li>
<p>
Compile UG with
</p>
<kbd>
make
</kbd>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment