OpenBLAS-DEV issue on OpenSUSE

Post in this forum any question related to the installation on any of the supported platforms (Linux, Mac OS X, Windows)
Post Reply
rastoku
Posts: 2
Joined: Fri May 19, 2023 5:27 am

OpenBLAS-DEV issue on OpenSUSE

Post by rastoku »

Hi,

I am trying to compile Geopsy 3.4.2 on OpenSUSE. I am getting the known error related to OpenBLAS during compilation, please see below.

geopsypack-src-3.4.2/QGpCoreTools/src/Global.cpp:76:5: error: ‘openblas_set_num_threads’ was not declared in this scope

openblas dev package has been installed but the issue is still there, please see attached screenshots and txt files for more details.

I've tested the compilation on Debian (the same pc) and it has finished successfully with openblas-dev installed.

Could you please help to resolve it on OpenSUSE. it is very stable and recently updated (secure) European OS.

Thank you in advance,
Attachments
configure.txt
(3.18 KiB) Downloaded 444 times
make_error.png
(322.32 KiB) Not downloaded yet
uname.png
(24.92 KiB) Not downloaded yet
alternatives.png
(94.96 KiB) Not downloaded yet
openblas_installed.png
(356.3 KiB) Not downloaded yet
admin
Site Admin
Posts: 803
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: OpenBLAS-DEV issue on OpenSUSE

Post by admin »

Hi,

I guess that it is linked to a bad define related to the link to OpenBlas.
Can you edit the file "QGpCoreTools/configure-3.4"?
At line 645, you should find:

Code: Select all

INCLUDE_DEFINE=$(echo $OPEN_BLAS_INCLUDE | awk '{print toupper($0)}' | sed "s/-\\//_/g")
Replace it by

Code: Select all

INCLUDE_DEFINE=$(echo $OPEN_BLAS_INCLUDE | awk '{print toupper($0)}' | sed "s/[-\\/]/_/g")
Two square brackets must be added in the sed command.

Restart the configure script. You can run "configure.cache" to keep the same arguments.
Does it get better? I'm waiting for your confirmation before introducing this modification for the next releases.

Marc
rastoku
Posts: 2
Joined: Fri May 19, 2023 5:27 am

Re: OpenBLAS-DEV issue on OpenSUSE

Post by rastoku »

Hi Marc,

it works, the compilation has finished successfully. Thank you!

VBR
Post Reply