<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CPPLapack: How to install ATLAS and LAPACK on Cygwin</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">CPPLapack
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">How to install ATLAS and LAPACK on Cygwin </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock">[Install ATLAS]
(In case of atlas-3.2.1)
<ul>
<li>exec "mkdir ~/local", "mkdir ~/local/lib", "cd ~/local/lib"</li>
<li>get atlas3.2.1.tar.bz2 at http://sourceforge.net/projects/math-atlas/</li>
<li>exec "tar xjf atlas3.2.1.tar.bz2"</li>
<li>exec "cd ATLAS"</li>
<li>exec "make config"</li>
<li>answer several questions properly</li>
<li>exec "make install arch=[your architecture]"</li>
<li>wait till the compilation is finished</li>
<li>exec "ln -s lib/[your architecture]/libf77blas.a", "ln -s lib/[your architecture]/libatlas.a"</li>
</ul>

[Install LAPACK]
<ul>
<li>exec "cd ~/local/lib"</li>
<li>get lapack.tgz at http://www.netlib.org/lapack/</li>
<li>exec "tar xzf lapack.tgz"</li>
<li>exec "cd LAPACK"</li>
<li>edit the file 'make.inc' properly</li>
<li>exec "make libs"</li>
<li>wait till the compilation is finished</li>
<li>exec "ln -s lapack_WinNT.a liblapack.a"</li>
</ul>

[Verification of CPPLapack]
<ul>
<li>exec "cd ~/local/lib"</li>
<li>get cpplapack-XXXX_XX_XX.tar.gz at http://sourceforge.net/projects/cpplapack/</li>
<li>exec "tar xzf cpplapack-XXXX_XX_XX.tar.gz"</li>
<li>exec "ln -s cpplapack-XXXX_XX_XX cpplapack"</li>
<li>exec "cd cpplapack/test"</li>
<li>edit the file 'do' (Makefile.icc -> Makefile.cygwin)</li>
<li>exec "./do"</li>
<li>wait till all test programs are run</li>
</ul>
 </div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
