octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45659] version function: options and return v


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #45659] version function: options and return values supported by Matlab
Date: Sun, 4 Feb 2018 14:11:28 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #41, bug #45659 (project octave):

Thanks Marco. I think your code can come in very useful.

@all: With the recent changes, it is easier to check for functions in loaded
or linked-in libraries. With the attached file, I see the following on Ubuntu
17.10 with installed reference BLAS, OpenBLAS and ATLAS:

>> mkoctfile check_blas_ver.cc
>> check_blas_ver
ans = OpenBLAS (config: NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Nehalem)
ATLAS


So it looks like (at least) both OpenBLAS and ATLAS are linked in or loaded
into my self-compiled Octave 4.3.0+. Why is this the case? Can it be
determined which library is actually used by Octave? Or are some functions
used from the ATLAS library and others from OpenBLAS?

FWIW, this is the output of "ATL_buildinfo":

ATLAS version 3.10.3 built by buildd on Tue Sep 19 15:17:33 UTC 2017:
   UNAME    : Linux lcy01-26 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12
14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
   INSTFLG  : -1 0 -a 1 -l 1
   ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_x86SSE2 -DATL_CPUMHZ=2600 -DATL_SSE2
-DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664
   F2CDEFS  : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
   CACHEEDGE: 1048576
   F77      : /usr/bin/gfortran, version GNU Fortran (Ubuntu 7.2.0-5ubuntu1)
7.2.0
   F77FLAGS : -g -O2 -fdebug-prefix-map=/build/atlas-jedIp7/atlas-3.10.3=.
-fstack-protector-strong -m64 -fPIC
   SMC      : /usr/bin/gcc, version gcc (Ubuntu 7.2.0-5ubuntu1) 7.2.0
   SMCFLAGS : -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/build/atlas-jedIp7/atlas-3.10.3=. -fstack-protector-strong
-m64 -fPIC
   SKC      : /usr/bin/gcc, version gcc (Ubuntu 7.2.0-5ubuntu1) 7.2.0
   SKCFLAGS : -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/build/atlas-jedIp7/atlas-3.10.3=. -fstack-protector-strong
-m64 -fPIC



(file #43171)
    _______________________________________________________

Additional Item Attachment:

File name: check_blas_ver.cc              Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45659>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]