|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
|
|
|
|
|
|
<!--Converted with LaTeX2HTML 2012 (1.2)
|
|
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
|
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
|
|
|
* with significant contributions from:
|
|
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
|
|
<TITLE>Configuring and Building MLD2P4</TITLE>
|
|
|
|
<META NAME="description" CONTENT="Configuring and Building MLD2P4">
|
|
|
|
<META NAME="keywords" CONTENT="userhtml">
|
|
|
|
<META NAME="resource-type" CONTENT="document">
|
|
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2012">
|
|
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
|
|
|
|
<LINK REL="STYLESHEET" HREF="userhtml.css">
|
|
|
|
|
|
|
|
<LINK REL="next" HREF="node11.html">
|
|
|
|
<LINK REL="previous" HREF="node4.html">
|
|
|
|
<LINK REL="up" HREF="userhtml.html">
|
|
|
|
<LINK REL="next" HREF="node6.html">
|
|
|
|
</HEAD>
|
|
|
|
|
|
|
|
<BODY >
|
|
|
|
<!--Navigation Panel-->
|
|
|
|
<A NAME="tex2html132"
|
|
|
|
HREF="node6.html">
|
|
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
|
|
<A NAME="tex2html128"
|
|
|
|
HREF="userhtml.html">
|
|
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
|
|
<A NAME="tex2html122"
|
|
|
|
HREF="node4.html">
|
|
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
|
|
<A NAME="tex2html130"
|
|
|
|
HREF="node2.html">
|
|
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
|
|
|
<BR>
|
|
|
|
<B> Next:</B> <A NAME="tex2html133"
|
|
|
|
HREF="node6.html">Prerequisites</A>
|
|
|
|
<B> Up:</B> <A NAME="tex2html129"
|
|
|
|
HREF="userhtml.html">userhtml</A>
|
|
|
|
<B> Previous:</B> <A NAME="tex2html123"
|
|
|
|
HREF="node4.html">Code Distribution</A>
|
|
|
|
<B> <A NAME="tex2html131"
|
|
|
|
HREF="node2.html">Contents</A></B>
|
|
|
|
<BR>
|
|
|
|
<BR>
|
|
|
|
<!--End of Navigation Panel-->
|
|
|
|
|
|
|
|
<H1><A NAME="SECTION00050000000000000000"></A><A NAME="sec:building"></A>
|
|
|
|
<BR>
|
|
|
|
Configuring and Building MLD2P4
|
|
|
|
</H1>
|
|
|
|
|
|
|
|
In order to build MLD2P4 it is necessary to set up a Makefile with appropriate
|
|
|
|
system-dependent variables; this is done by means of the <code>configure</code>
|
|
|
|
script. The distribution also includes the autoconf and automake
|
|
|
|
sources employed to generate the script, but usually this is not needed
|
|
|
|
to build the software.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
MLD2P4 is implemented almost entirely in Fortran 2003, with some
|
|
|
|
interfaces to external libraries in C; the Fortran compiler
|
|
|
|
must support the Fortran 2003 standard plus the extension <code>MOLD=</code>
|
|
|
|
feature, which enhances the usability of <code>ALLOCATE</code>.
|
|
|
|
Many compilers do this; in particular, this is
|
|
|
|
supported by the GNU Fortran compiler, for which we
|
|
|
|
recommend to use at least version 4.8.
|
|
|
|
The software defines data types and interfaces for
|
|
|
|
real and complex data, in both single and double precision.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
Building MLD2P4 requires some base libraries (see Section <A HREF="node6.html#sec:prerequisites">3.1</A>);
|
|
|
|
interfaces to optional third-party libraries, which extend the functionalities of MLD2P4
|
|
|
|
(see Section <A HREF="node7.html#sec:third-party">3.2</A>), are also available. Many Linux distributions
|
|
|
|
(e.g., Ubuntu, Fedora, CentOS) provide precompiled packages for the prerequisite and
|
|
|
|
optional software. In many cases these packages are split between a runtime part and a
|
|
|
|
``developer'' part; in order to build MLD2P4 you need both. A description of the base and
|
|
|
|
optional software used by MLD2P4 is given in the next sections.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
<BR><HR>
|
|
|
|
<!--Table of Child-Links-->
|
|
|
|
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
|
|
|
|
|
|
|
|
<UL>
|
|
|
|
<LI><A NAME="tex2html134"
|
|
|
|
HREF="node6.html">Prerequisites</A>
|
|
|
|
<LI><A NAME="tex2html135"
|
|
|
|
HREF="node7.html">Optional third party libraries</A>
|
|
|
|
<LI><A NAME="tex2html136"
|
|
|
|
HREF="node8.html">Configuration options</A>
|
|
|
|
<LI><A NAME="tex2html137"
|
|
|
|
HREF="node9.html">Bug reporting</A>
|
|
|
|
<LI><A NAME="tex2html138"
|
|
|
|
HREF="node10.html">Example and test programs</A>
|
|
|
|
</UL>
|
|
|
|
<!--End of Table of Child-Links-->
|
|
|
|
<HR>
|
|
|
|
<!--Navigation Panel-->
|
|
|
|
<A NAME="tex2html132"
|
|
|
|
HREF="node6.html">
|
|
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
|
|
<A NAME="tex2html128"
|
|
|
|
HREF="userhtml.html">
|
|
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
|
|
<A NAME="tex2html122"
|
|
|
|
HREF="node4.html">
|
|
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
|
|
<A NAME="tex2html130"
|
|
|
|
HREF="node2.html">
|
|
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
|
|
|
<BR>
|
|
|
|
<B> Next:</B> <A NAME="tex2html133"
|
|
|
|
HREF="node6.html">Prerequisites</A>
|
|
|
|
<B> Up:</B> <A NAME="tex2html129"
|
|
|
|
HREF="userhtml.html">userhtml</A>
|
|
|
|
<B> Previous:</B> <A NAME="tex2html123"
|
|
|
|
HREF="node4.html">Code Distribution</A>
|
|
|
|
<B> <A NAME="tex2html131"
|
|
|
|
HREF="node2.html">Contents</A></B>
|
|
|
|
<!--End of Navigation Panel-->
|
|
|
|
|
|
|
|
</BODY>
|
|
|
|
</HTML>
|