Re: [Yade-users] [Question #698654]: libopenblas problem after updating to Ubuntu 20

2021-09-07 Thread Anton Gladky
Question #698654 on Yade changed:
https://answers.launchpad.net/yade/+question/698654

Status: Needs information => Answered

Anton Gladky proposed the following answer:
It is very strange. Could you please check, whether maybe
LD_LIBRARY_PATH is set in your environment?

echo $LD_LIBRARY_PATH

And please check, how libyade is linked:

ldd /usr/lib/x86_64-linux-gnu/yade/libyade.so | grep -i openblas

>>> libopenblas.so.0 => /lib/x86_64-linux-gnu/libopenblas.so.0
(0x7f409ddb)

I have just installed yade in Ubuntu 20.04 docker-container and it works
as it should. Please also show all your environmental variables:

env

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #698654]: libopenblas problem after updating to Ubuntu 20

2021-09-07 Thread Manfred Hampl
Question #698654 on Yade changed:
https://answers.launchpad.net/yade/+question/698654

Manfred Hampl posted a new comment:
There should also be a 
/usr/lib/x86_64-linux-gnu/libopenblas.so.0

Try
sudo apt install --reinstall libopenblas0-pthread

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #698654]: libopenblas problem after updating to Ubuntu 20

2021-09-07 Thread Manfred Hampl
Question #698654 on Yade changed:
https://answers.launchpad.net/yade/+question/698654

Status: Open => Needs information

Manfred Hampl requested more information:
What is the output of

ls -l /usr/lib/x86_64-linux-gnu/libopenblas.so
ldd /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so.0

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #698654]: libopenblas problem after updating to Ubuntu 20

2021-09-07 Thread Jérôme Duriez
Question #698654 on Yade changed:
https://answers.launchpad.net/yade/+question/698654

Status: Needs information => Open

Jérôme Duriez gave more information on the question:
jerome.duriez@XX:~$ ls -l /usr/lib/x86_64-linux-gnu/openblas*/libopenblas.*
lrwxrwxrwx 1 root root 21 juin   2  2020 
/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.a -> 
libopenblasp-r0.3.8.a
lrwxrwxrwx 1 root root 22 juin   2  2020 
/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so -> 
libopenblasp-r0.3.8.so
lrwxrwxrwx 1 root root 22 juin   2  2020 
/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so.0 -> 
libopenblasp-r0.3.8.so

jerome.duriez@XX:~$ dpkg -l | grep openblas
ii  libopenblas-dev:amd64 0.3.8+ds-1ubuntu0.20.04.1 
  amd64Optimized BLAS (linear algebra) library 
(dev, meta)
ii  libopenblas-pthread-dev:amd64 0.3.8+ds-1ubuntu0.20.04.1 
  amd64Optimized BLAS (linear algebra) library 
(dev, pthread)
ii  libopenblas0:amd640.3.8+ds-1ubuntu0.20.04.1 
  amd64Optimized BLAS (linear algebra) library 
(meta)
ii  libopenblas0-pthread:amd640.3.8+ds-1ubuntu0.20.04.1 
  amd64Optimized BLAS (linear algebra) library 
(shared lib, pthread)

Note also a plain /usr/lib/x86_64-linux-gnu/libopenblas.so:

jerome.duriez@XX:~$ locate *openblas* | grep libopenblas.so
/etc/alternatives/libopenblas.so-x86_64-linux-gnu
/etc/alternatives/libopenblas.so.0-x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libopenblas.so
/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so
/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so.0
/var/lib/dpkg/alternatives/libopenblas.so-x86_64-linux-gnu
/var/lib/dpkg/alternatives/libopenblas.so.0-x86_64-linux-gnu

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #698654]: libopenblas problem after updating to Ubuntu 20

2021-09-07 Thread Manfred Hampl
Question #698654 on Yade changed:
https://answers.launchpad.net/yade/+question/698654

Status: Open => Needs information

Manfred Hampl requested more information:
For verification, what is the output of the commands

ls -l /usr/lib/x86_64-linux-gnu/openblas*/libopenblas.*
dpkg -l | grep openblas

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #698654]: libopenblas problem after updating to Ubuntu 20

2021-09-07 Thread Jérôme Duriez
Question #698654 on Yade changed:
https://answers.launchpad.net/yade/+question/698654

Status: Needs information => Open

Jérôme Duriez gave more information on the question:
It looks like yes (and, if not, there would be something missing in the
packaging procedure, no ?)

jerome.duriez@XX:~$ apt policy libopenblas-dev libsuitesparse-dev
libopenblas-dev:
  Installed: 0.3.8+ds-1ubuntu0.20.04.1
  Candidate: 0.3.8+ds-1ubuntu0.20.04.1
  Version table:
 *** 0.3.8+ds-1ubuntu0.20.04.1 500
500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 
Packages
100 /var/lib/dpkg/status
 0.3.8+ds-1 500
500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
libsuitesparse-dev:
  Installed: 1:5.7.1+dfsg-2
  Candidate: 1:5.7.1+dfsg-2
  Version table:
 *** 1:5.7.1+dfsg-2 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #698654]: libopenblas problem after updating to Ubuntu 20

2021-09-07 Thread Robert Caulk
Question #698654 on Yade changed:
https://answers.launchpad.net/yade/+question/698654

Status: Open => Needs information

Robert Caulk requested more information:
Hey Jérôme,

Can you verify that you installed libopenblas-dev and libsuitesparse-dev
with apt-get?

Cheers,

Robert

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #698654]: libopenblas problem after updating to Ubuntu 20

2021-09-07 Thread Jérôme Duriez
New question #698654 on Yade:
https://answers.launchpad.net/yade/+question/698654

Hi,

After updating from Ubuntu 18 to Ubuntu 20, I'm facing the following error at 
YADE (packaged versions) startup:

jerome.duriez@XXX:~$ yade
Welcome to Yade 2020.01a 
Using python version: 3.8.10 (default, Jun  2 2021, 10:49:15) 
[GCC 9.4.0]
Traceback (most recent call last):
  File "/usr/bin/yade", line 144, in 
import yade
  File "/usr/lib/x86_64-linux-gnu/yade/py/yade/__init__.py", line 75, in 

from yade import boot
ImportError: libopenblas.so.0: cannot open shared object file: No such file or 
directory


Same with yadedaily:

Welcome to Yade 20210903-5886~505649f~focal1 
[...]
ImportError: libopenblas.so.0: cannot open shared object file: No such file or 
directory

Apt update-upgrade give me:

jerome.duriez@XXX:~$ sudo apt update && sudo apt upgrade yade yadedaily
Hit:1 http://www.yade-dem.org/packages focal InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
 
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease  
 
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease  
 
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]   
 
Hit:6 http://archive.canonical.com/ubuntu focal InRelease   

Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Fetched 214 kB in 1s (285 kB/s)
Reading package lists... Done
Building dependency tree   
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as 
repository 'http://www.yade-dem.org/packages focal InRelease' doesn't support 
architecture 'i386'
Reading package lists... Done
Building dependency tree   
Reading state information... Done
yade is already the newest version (2020.01a-6build2).
yadedaily is already the newest version (20210903-5886~505649f~focal1-1).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Would you know how to solve this problem ? Thanks

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp