|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
|
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
|
<html >
|
|
|
|
|
<head><title>Prerequisites</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. 30--><div class="crosslinks"><p class="noindent"><span
|
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
|
href="userhtmlsu2.html" ><span
|
|
|
|
|
class="cmr-12">next</span></a><span
|
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
|
href="#tailuserhtmlsu1.html"><span
|
|
|
|
|
class="cmr-12">tail</span></a><span
|
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
|
href="userhtmlse3.html#userhtmlsu1.html" ><span
|
|
|
|
|
class="cmr-12">up</span></a><span
|
|
|
|
|
class="cmr-12">] </span></p></div>
|
|
|
|
|
<h4 class="subsectionHead"><span class="titlemark"><span
|
|
|
|
|
class="cmr-12">3.1 </span></span> <a
|
|
|
|
|
id="x8-70003.1"></a><span
|
|
|
|
|
class="cmr-12">Prerequisites</span></h4>
|
|
|
|
|
<!--l. 32--><p class="noindent" ><span
|
|
|
|
|
class="cmr-12">The following base libraries are needed:</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dl class="description"><dt class="description">
|
|
|
|
|
<span
|
|
|
|
|
class="cmbx-12">BLAS</span> </dt><dd
|
|
|
|
|
class="description"><span class="cite"><span
|
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
|
href="userhtmlli4.html#Xblas3"><span
|
|
|
|
|
class="cmr-12">15</span></a><span
|
|
|
|
|
class="cmr-12">,</span><span
|
|
|
|
|
class="cmr-12"> </span><a
|
|
|
|
|
href="userhtmlli4.html#Xblas2"><span
|
|
|
|
|
class="cmr-12">16</span></a><span
|
|
|
|
|
class="cmr-12">,</span><span
|
|
|
|
|
class="cmr-12"> </span><a
|
|
|
|
|
href="userhtmlli4.html#Xblas1"><span
|
|
|
|
|
class="cmr-12">22</span></a><span
|
|
|
|
|
class="cmr-12">]</span></span> <span
|
|
|
|
|
class="cmr-12">Many vendors provide optimized versions of BLAS; if no</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">vendor version is available for a given platform, the ATLAS software</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">(</span><a
|
|
|
|
|
href="http://math-atlas.sourceforge.net" ><span
|
|
|
|
|
class="cmr-12">math-atlas.sourceforge .net</span></a><span
|
|
|
|
|
class="cmr-12">) may be employed. The reference BLAS from</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">Netlib (</span><a
|
|
|
|
|
href="http://www.netlib.org/blas" ><span
|
|
|
|
|
class="cmr-12">www.netlib.org/blas</span></a><span
|
|
|
|
|
class="cmr-12">) are meant to define the standard behaviour of</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">the BLAS interface, so they are not optimized for any particular platform,</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">and should only be used as a last resort. Note that BLAS computations</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">form a relatively small part of <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> HEAD the AMG4PSBLAS/PSBLAS;</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">however they are critical when using preconditioners based on the MUMPS,</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">UMFPACK or SuperLU third party libraries. UMFPACK requires a</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">full LAPACK library; our experience is that configuring ATLAS for</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">building full LAPACK does not always work in the expected way. Our</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">advice is first to download the LAPACK tarfile from ======= the</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">AMG4PSBLAS/PSBLAS computations; they are however critical when</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">using preconditioners based on MUMPS, UMFPACK or SuperLU third</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">party libraries. Note that UMFPACK requires a full LAPACK library;</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">our experience is that configuring ATLAS for building full LAPACK</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">does not work in the correct way. Our advice is first to download the</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">LAPACK tarfile from <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ea6411c730befe4e0e4091caa6f03379ad3712cc</span>
|
|
|
|
|
<a
|
|
|
|
|
href="http://www.netlib.org/lapack" ><span
|
|
|
|
|
class="cmr-12">www.netlib.org/lapack</span></a> <span
|
|
|
|
|
class="cmr-12">and install it independently of ATLAS. In this case,</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">you need to modify the OPTS and NOOPT definitions for including -fPIC</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">compilation option in the make.inc file of the LAPACK library.</span>
|
|
|
|
|
</dd><dt class="description">
|
|
|
|
|
<span
|
|
|
|
|
class="cmbx-12">MPI</span> </dt><dd
|
|
|
|
|
class="description"><span class="cite"><span
|
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
|
href="userhtmlli4.html#XMPI2"><span
|
|
|
|
|
class="cmr-12">21</span></a><span
|
|
|
|
|
class="cmr-12">,</span><span
|
|
|
|
|
class="cmr-12"> </span><a
|
|
|
|
|
href="userhtmlli4.html#XMPI1"><span
|
|
|
|
|
class="cmr-12">27</span></a><span
|
|
|
|
|
class="cmr-12">]</span></span> <span
|
|
|
|
|
class="cmr-12">A version of MPI is available on most high-performance computing</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">systems.</span>
|
|
|
|
|
</dd><dt class="description">
|
|
|
|
|
<span
|
|
|
|
|
class="cmbx-12">PSBLAS</span> </dt><dd
|
|
|
|
|
class="description"><span class="cite"><span
|
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
|
href="userhtmlli4.html#XPSBLASGUIDE"><span
|
|
|
|
|
class="cmr-12">17</span></a><span
|
|
|
|
|
class="cmr-12">,</span><span
|
|
|
|
|
class="cmr-12"> </span><a
|
|
|
|
|
href="userhtmlli4.html#Xpsblas_00"><span
|
|
|
|
|
class="cmr-12">19</span></a><span
|
|
|
|
|
class="cmr-12">]</span></span> <span
|
|
|
|
|
class="cmr-12">Parallel Sparse BLAS (PSBLAS) is available from</span>
|
|
|
|
|
<a
|
|
|
|
|
href="https://psctoolkit.github.io/products/psblas/" ><span
|
|
|
|
|
class="cmr-12">psctoolkit.github.io/ products/psblas/</span></a><span
|
|
|
|
|
class="cmr-12">; version 3.7.0 (or later) is required.</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">Indeed, all the prerequisites listed so far are also prerequisites of PSBLAS.</span></dd></dl>
|
|
|
|
|
<!--l. 68--><p class="noindent" ><span
|
|
|
|
|
class="cmr-12">Please note that the four previous libraries must have Fortran interfaces compatible with</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">AMG4PSBLAS; usually this means that they should all be built with the same</span>
|
|
|
|
|
<span
|
|
|
|
|
class="cmr-12">compiler being used for AMG4PSBLAS.</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--l. 72--><div class="crosslinks"><p class="noindent"><span
|
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
|
href="userhtmlsu2.html" ><span
|
|
|
|
|
class="cmr-12">next</span></a><span
|
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
|
href="userhtmlsu1.html" ><span
|
|
|
|
|
class="cmr-12">front</span></a><span
|
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
|
href="userhtmlse3.html#userhtmlsu1.html" ><span
|
|
|
|
|
class="cmr-12">up</span></a><span
|
|
|
|
|
class="cmr-12">] </span></p></div>
|
|
|
|
|
<!--l. 72--><p class="indent" > <a
|
|
|
|
|
id="tailuserhtmlsu1.html"></a>
|
|
|
|
|
</body></html>
|