<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#CCFFFF">
<font size="+1">I did "removepkg cblas" and then "python" and
">> import numpy" and there were no complaints. So I did
sbopkg -i cblas to reinstall it. Now I think I should remove
numpy and reinstall it to get the blas routines referenced.<br>
<br>
Kevin<br>
</font><br>
<div class="moz-cite-prefix">On 08/11/2018 04:51 PM, Benjamin
Trigona-Harany wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7EDC5A11-C15E-4820-98FE-14D21937F5C3@jaxartes.net">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
I admit that I also do not fully understand all the nuances of the
blas/cblas/OpenBLAS/atlas options (not to mention lapack). My
guess is that if numpy was built against cblas and then cblas
wasn't available when OTB was compiled, it could cause such an
error. <br>
<br>
If cblas is uninstalled, can you import numpy in the Python REPL?<br>
<br>
<div class="gmail_quote">On August 11, 2018 8:47:54 PM UTC, Kevin
McCormick <a class="moz-txt-link-rfc2396E" href="mailto:kev4321@fastmail.fm"><kev4321@fastmail.fm></a> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> <font size="+1">I don't think cblas was
previously installed. However, my sbopkg-pkg-log does have
references to cblas in numpy, pygsl, and other places. I
suppose it is possible that something unique to my computer
triggered the need for cblas. OTB was part of a long sbopkg
queuefile and OpenBLAS was higher up on the list.</font><font
size="+1"> The "blas" packages are confusing to me, but I
guess the alternate blas routines can be used even though
the generic blas is installed.</font><font size="+1"> I was
trying to get qgis and dependencies/options installed, which
did work out pretty well except for libaspacialite not
linking to postgis</font><font size="+1">. <br>
<br>
Thanks<br>
</font><br>
<div class="moz-cite-prefix">On 08/11/2018 01:44 PM, Benjamin
Trigona-Harany wrote:<br>
</div>
<blockquote type="cite"
cite="mid:4333588.YfmZzQa9pV@wintermute.sprawl.net">
<pre wrap="">On Thursday, 9 August 2018 10:43:25 PDT Kevin McCormick wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Build failed for OTB:
OTB 6.6.0 undefined reference to `cblas_dgemm'
After installing "cblas" (in addition to the other requirements) the
build was successful. The requirements list "blas" but not "cblas."
I did not set the MONTEVERDI=ON switch.
Thanks
</pre>
</blockquote>
<pre wrap="">I have not been able to recreate this issue. OTB builds fine on Slackware 64
14.2 with blas and not cblas installed. Is it possible you are linking against
another of OTB's dependencies that were previously built when cblas was
installed?
</pre>
</blockquote>
<br>
</blockquote>
</div>
<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my
brevity.
</blockquote>
<br>
</body>
</html>