Re: Octave can't find BLAS or LAPACK
"Dmitri A. Sergatskov" <[email protected]> Sun, 10 Apr 2022 16:56:22 -0400
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CAO+XyQJwkvSM5c=RktzAgCGoAB928kUVE-4V4fwzg32JkNjk3w@mail.gmail.com> |
Please reply to the list. You need to provide flags for C, C++, and Fortran compilers. For gcc/clang the flag is "-m32" Try some kind of "Hello world" program first to make sure you got them right. Dmitri. -- On Sun, Apr 10, 2022 at 4:47 PM John Ferreira <[email protected]> wrote: > I tried passing CFLAG=“-mcpu=i686” > I also tried CFLAG=“-march =i686” > > But I still got the same BLAS and LAPACK error. > > Thanks, > John > > On Apr 10, 2022, at 4:34 PM, Dmitri A. Sergatskov <[email protected]> > wrote: > > > On Sun, Apr 10, 2022 at 4:26 PM John Ferreira <[email protected]> > wrote: > >> Hello, >> >> I am attempting to build a recent version of octave as a 32--bit i686 >> package for RHEL 7. I have installed the BLAS and LAPACK packages but >> ./configure does not detect the libraries. I have the 32 bit packages >> including the -devel packages installed as seen below: >> [image: image.png] >> >> I have also tried passing the library paths in ./configure option as: >> ./configure --prefix=/home/jferreira/builds/octaveCompile >> --with-blas=/usr/lib/libblas.so --with-lapack=/usr/lib/liblapack.so >> >> I still get: configure: error: BLAS and LAPACK libraries are required. >> >> Any help would be appreciated. >> > > Did you tell your compiler to build i686 binary? > > > >> >> Thank you, >> John Ferreira >> >> > Dmitri. > -- > > ---------- We are transitioning to a web based forum for community help discussions at https://octave.discourse.group/c/help
image.png
(image/png, 72 KB) - not displayed