<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 7/5/2010 10:54 AM, James C. Sutherland wrote:
<blockquote
 cite="mid:AANLkTin_RX4Fy85LdVrbgYFe4E-fRTqIulr560_rb60V@mail.gmail.com"
 type="cite"><font face="verdana,sans-serif"><br>
  </font><br>
  <div class="gmail_quote">On Mon, Jul 5, 2010 at 10:44 AM, John R.
Cary <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:cary@txcorp.com">cary@txcorp.com</a>&gt;</span> wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">
On 7/5/2010 9:37 AM, James C. Sutherland wrote:
    <blockquote type="cite"><font face="verdana,sans-serif"><br>
      </font><br>
      <div class="gmail_quote">On Mon, Jul 5, 2010 at 9:34 AM, John
Cary <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:cary@txcorp.com" target="_blank">cary@txcorp.com</a>&gt;</span>
wrote:<br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I
have
simply:<br>
        <br>
&nbsp; &nbsp;FIND_PACKAGE(BLAS)<br>
&nbsp; &nbsp;FIND_PACKAGE(LAPACK)<br>
        <br>
but cmake gives<br>
        <br>
-- Looking for BLAS... - NOT found (Fortran not enabled)<br>
-- Looking for LAPACK... - NOT found (Fortran not enabled)<br>
        <br>
Is this more complicated somehow?<br>
        <br>
      </blockquote>
      </div>
      <br>
Be sure to include <br>
      <div style="margin-left: 40px;">enable_language( Fortran )<br>
      </div>
in your project. <br>
      <br>
James<br>
    </blockquote>
    <tt><br>
    <br>
Thanks much.&nbsp; That worked.<br>
    <br>
On another OS, I need to use clapack.&nbsp; Is there a way<br>
to find that instead?<br>
    <br>
Thx...John Cary<br>
    </tt>
    </div>
  </blockquote>
  </div>
  <br>
Look back in the mail list archives.&nbsp; There was a discussion on this a
while back.&nbsp; If you search for CLAPACK in the archives it should come
up.<br>
</blockquote>
<br>
Thanks very much.&nbsp; In thinking about this, I realize that what<br>
I really need is to build with whatever lapack, blas was found <br>
by Trilinos, when I built it.&nbsp; Is there a standard way of doing<br>
this?<br>
<br>
I see that Trilinos puts some information in the installation<br>
directory<br>
<br>
iter.cary$ grep -i lapack TrilinosConfig.cmake <br>
SET(Trilinos_TPL_LIBRARIES
"/usr/lib64/liblapack.so;/usr/lib64/libblas.so")<br>
SET(Trilinos_TPL_LIST "LAPACK;BLAS")<br>
<br>
<br>
Thanks...John Cary<br>
</body>
</html>