<div dir="ltr"><div>Hi Erich,</div><div><br></div><div>Enabling superlu (or/and mumps) is required to build getfem. I chose superlu because it is already in the SBo repo.<br></div><div>I
don't want to add OpenBLAS as a dependency to getfem. But I can add a
variable to allow users to pass openblas as an argument to the build
script, with blas as the default option.</div><div>Probably something like this:</div><div>BLAS=${BLAS:-blas}</div><div>...</div><div></div><div>--with-blas=$BLAS \</div><div>...</div><div><br></div><div>Then you can just build getfem with:<br></div><div>BLAS=openblas sh getfem.SlackBuild</div><div>Does it work for you?<br></div><div>If you or someone else have a better way to implement this, please let me know.</div><div><br></div><div>Regards,</div><div>Fellype</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 3, 2025 at 2:09 PM Erich Ritz <<a href="mailto:erich.public@protonmail.com" target="_blank">erich.public@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello all,<br>
<br>
getfem recently added superlu as a dependency, which itself needs a blas library. I prefer to always use OpenBLAS (and superlue suggests it as well), but initially building getfem failed (it failed to find a blas library).<br>
<br>
I was able to get the build to succeed by adding:<br>
<br>
--with-blas=openblas \<br>
<br>
to the configure line in getfem.SlackBuild. (I also verified in getfem's build log that it found and used both OpenBLAS and superlu.)<br>
<br>
What is the best way to support using OpenBLAS with getfem? I prefer not to carry my own patch.<br>
<br>
Erich<br>
<br>
</blockquote></div>