Skip to content
Snippets Groups Projects
Commit af7001e9 authored by Markus Blatt's avatar Markus Blatt
Browse files

Improved the alugrid configuration part

[[Imported from SVN: r4701]]
parent 6d3bc955
Branches
Tags
No related merge requests found
......@@ -155,16 +155,19 @@ available for download. You'll have to inquire via email.
</p>
<p>
Using mpi-config one can pass the approriate CPPFLAGS and LDFLAGS
to configure.
to configure. We suppose that dune-common/bin is in your path
(for bash you can do this with: export PATH=$PATH:/path/to/dune/modules/dune-common/bin.
</p>
<p>
E. g. for the MPI compiler <i>/opt/foo-mpi/bin/mpicc</i>:
E. g. for the MPI compiler <i>/opt/foo-mpi/bin/mpicc</i> (for the
default MPI compiler just skip the --mpicc=/opt/foo-mpi/bin/mpicc
options):
</p>
<kbd>
./configure --prefix=/directory/to/install/ALUGrid/to \\
CXX=g++-3.4 CC=gcc-3.4 \\
CPPFLAGS="mpi-config --cflags --disable-cxx --mpicc=/opt/foo-mpi/bin/mpicc" \\
LDFLAGS="mpi-config --libs --disable-cxx --mpicc=/opt/foo-mpi/bin/mpicc"
CPPFLAGS="`mpi-config --cflags --disable-cxx --mpicc=/opt/foo-mpi/bin/mpicc`" \\
LDFLAGS="`mpi-config --libs --disable-cxx --mpicc=/opt/foo-mpi/bin/mpicc`"
</kbd>
<p>
For further information and additional options see
......@@ -281,10 +284,8 @@ the build system and how to create new modules/projects your own.
</li>
</ol>
<h2>Creating your own DUNE project module</h2>
<ol>
<p>
You can create your own dune project module by using the duneproject script available in dune-common/bin directory.
Running the script will create a directory with supporting files (configure.ac ,Makefile.am etc.) and a sample .cc file.
After creating the module you can build this as explained above under "Building a specific DUNE module".
</p>
</ol>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment