Re: [Octave compilation on macOS 11.2.2 with MacPorts 2.6.4 and GCC 10.2.0]

Maxim Abalenkov <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
Dear all,

Please find the `config.log` file attached (Octave with Intel MKL @ the backend). My configure and build script is as follows:

#!/opt/local/bin/bash

export V=1

CC=gcc
CXX=g++
FC=gfortran
CFLAGS="-I/opt/local/include -m64 -I${MKLROOT}/include"
CXXFLAGS="-I/opt/local/include -m64 -I${MKLROOT}/include"
FFLAGS="-I/opt/local/include -m64 -I${MKLROOT}/include"
LDFLAGS="-L${MKLROOT}/lib -Wl,-rpath,${MKLROOT}/lib -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -ldl -L/opt/local/lib -liconv -L/opt/local/lib -lfl"

../configure --prefix=/opt/octave-6.2.0 --disable-readline --without-qt --without-x

make -j 4

—
Best wishes,
Maxim



Maxim Abalenkov \\ [email protected]
+44 7 486 486 505 \\ http://mabalenk.gitlab.io

> On 11 Mar 2021, at 12:32, Maxim Abalenkov <[email protected]> wrote:
> 
> Dear all,
> 
> Thank you for all you help and your suggestions. Now I see, why linking Octave against Intel’s MKL @ macOS was a theoretical debate. I’m failing here right at the configuration stage. Please find my `config.log` file attached. I would be happy to help here and try further if you can provide me with some guidance. I think MKL at the backend would make Octave only stronger.
> 
> Regarding of my original issue of compiling Octave from source @ macOS I think for now I will follow an easier route and try to link it against the “standard” OpenBLAS. I need to progress in my project and make my life a little bit easier. I will get back to you once I try the "OpenBLAS compilation”. Thank you for your help and have a good day ahead!
> 
> —
> Best wishes,
> Maxim
> 
> Maxim Abalenkov \\ [email protected] <mailto:[email protected]>
> +44 7 486 486 505 \\ http://mabalenk.gitlab.io <http://mabalenk.gitlab.io/>
> 
>> On 9 Mar 2021, at 17:21, Andrew Janke <[email protected] <mailto:[email protected]>> wrote:
>> 
>> 
>> 
>> On 3/9/21 9:36 AM, Maxim Abalenkov wrote:
>>> Dear all,
>>> 
>>> Thank you very much for your help and your replies. Please find below
>>> the contents of my configure and build bash script:
>>> 
>>> As you may see I’m trying to point Octave to Intel’s MKL BLAS and GNU
>>> iconv library located in /opt/local/lib. 
>> 
>> You are the only person I'm aware of who has *actually* tried to build
>> Octave against Intel MKL on Mac; up until now this has just been a
>> theoretical discussion as far as I'm aware.
>> 
>> Good luck!
>> 
>> Cheers,
>> Andrew
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.