|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<html >
|
|
|
|
<head><title>Configuring and Building AMG4PSBLAS</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
|
<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)">
|
|
|
|
<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)">
|
|
|
|
<!-- html,3 -->
|
|
|
|
<meta name="src" content="userhtml.tex">
|
|
|
|
<link rel="stylesheet" type="text/css" href="userhtml.css">
|
|
|
|
</head><body
|
|
|
|
>
|
|
|
|
<!--l. 1--><div class="crosslinks"><p class="noindent"><span
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
href="userhtmlse4.html" ><span
|
|
|
|
class="cmr-12">next</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlse2.html" ><span
|
|
|
|
class="cmr-12">prev</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlse2.html#tailuserhtmlse2.html" ><span
|
|
|
|
class="cmr-12">prev-tail</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="#tailuserhtmlse3.html"><span
|
|
|
|
class="cmr-12">tail</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtml.html#userhtmlse3.html" ><span
|
|
|
|
class="cmr-12">up</span></a><span
|
|
|
|
class="cmr-12">] </span></p></div>
|
|
|
|
<h3 class="sectionHead"><span class="titlemark"><span
|
|
|
|
class="cmr-12">3 </span></span> <a
|
|
|
|
id="x7-60003"></a><span
|
|
|
|
class="cmr-12">Configuring and Building AMG4PSBLAS</span></h3>
|
|
|
|
<!--l. 4--><p class="noindent" ><span
|
|
|
|
class="cmr-12">In order to build AMG4PSBLAS it is necessary to set up a Makefile with appropriate</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">system-dependent variables; this is done by means of the </span><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">configure</span></span></span> <span
|
|
|
|
class="cmr-12">script. The</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">distribution also includes the autoconf and automake sources employed to generate the</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">script, but usually this is not needed to build the software.</span>
|
|
|
|
<!--l. 10--><p class="indent" > <span
|
|
|
|
class="cmr-12">AMG4PSBLAS is implemented almost entirely in Fortran</span><span
|
|
|
|
class="cmr-12"> 2003, with some</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">interfaces to external libraries in C; the Fortran compiler must support the</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">Fortran</span><span
|
|
|
|
class="cmr-12"> 2003 standard plus the extension </span><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">MOLD=</span></span></span> <span
|
|
|
|
class="cmr-12">feature, which enhances the usability</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">of </span><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">ALLOCATE</span></span></span><span
|
|
|
|
class="cmr-12">. Many compilers do this; in particular, this is supported by the GNU</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">Fortran compiler, for which we recommend to use at least version 4.8. The software</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">defines data types and interfaces for real and complex data, in both single and double</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">precision.</span>
|
|
|
|
<!--l. 20--><p class="indent" > <span
|
|
|
|
class="cmr-12">Building AMG4PSBLAS requires some base libraries (see Section</span><span
|
|
|
|
class="cmr-12"> </span><a
|
|
|
|
href="userhtmlsu1.html#x8-70003.1"><span
|
|
|
|
class="cmr-12">3.1</span><!--tex4ht:ref: sec:prerequisites --></a><span
|
|
|
|
class="cmr-12">); interfaces to</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">optional third-party libraries, which extend the functionalities of AMG4PSBLAS</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">(see Section</span><span
|
|
|
|
class="cmr-12"> </span><a
|
|
|
|
href="userhtmlsu2.html#x9-80003.2"><span
|
|
|
|
class="cmr-12">3.2</span><!--tex4ht:ref: sec:third-party --></a><span
|
|
|
|
class="cmr-12">), are also available. Many Linux distributions (e.g., Ubuntu,</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">Fedora, CentOS) provide precompiled packages for the prerequisite and optional</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">software. In many cases these packages are split between a runtime part and a</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">“developer” part; in order to build AMG4PSBLAS you need both. A description of</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">the base and optional software used by AMG4PSBLAS is given in the next</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">sections.</span>
|
|
|
|
<!--l. 28--><p class="noindent" >
|
|
|
|
<div class="subsectionTOCS">
|
|
|
|
<span
|
|
|
|
class="cmr-12"> </span><span class="subsectionToc" ><span
|
|
|
|
class="cmr-12">3.1 </span><a
|
|
|
|
href="userhtmlsu1.html#x8-70003.1"><span
|
|
|
|
class="cmr-12">Prerequisites</span></a></span>
|
|
|
|
<br /> <span
|
|
|
|
class="cmr-12"> </span><span class="subsectionToc" ><span
|
|
|
|
class="cmr-12">3.2 </span><a
|
|
|
|
href="userhtmlsu2.html#x9-80003.2"><span
|
|
|
|
class="cmr-12">Optional third party libraries</span></a></span>
|
|
|
|
<br /> <span
|
|
|
|
class="cmr-12"> </span><span class="subsectionToc" ><span
|
|
|
|
class="cmr-12">3.3 </span><a
|
|
|
|
href="userhtmlsu3.html#x10-90003.3"><span
|
|
|
|
class="cmr-12">Configuration options</span></a></span>
|
|
|
|
<br /> <span
|
|
|
|
class="cmr-12"> </span><span class="subsectionToc" ><span
|
|
|
|
class="cmr-12">3.4 </span><a
|
|
|
|
href="userhtmlsu4.html#x11-100003.4"><span
|
|
|
|
class="cmr-12">Bug reporting</span></a></span>
|
|
|
|
<br /> <span
|
|
|
|
class="cmr-12"> </span><span class="subsectionToc" ><span
|
|
|
|
class="cmr-12">3.5 </span><a
|
|
|
|
href="userhtmlsu5.html#x12-110003.5"><span
|
|
|
|
class="cmr-12">Example and test programs</span></a></span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--l. 1--><div class="crosslinks"><p class="noindent"><span
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
href="userhtmlse4.html" ><span
|
|
|
|
class="cmr-12">next</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlse2.html" ><span
|
|
|
|
class="cmr-12">prev</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlse2.html#tailuserhtmlse2.html" ><span
|
|
|
|
class="cmr-12">prev-tail</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlse3.html" ><span
|
|
|
|
class="cmr-12">front</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtml.html#userhtmlse3.html" ><span
|
|
|
|
class="cmr-12">up</span></a><span
|
|
|
|
class="cmr-12">] </span></p></div>
|
|
|
|
<!--l. 1--><p class="indent" > <a
|
|
|
|
id="tailuserhtmlse3.html"></a>
|
|
|
|
</body></html>
|