Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2020-04-24 20:59:20

ing.nicola
Member
Registered: 2017-12-11
Posts: 51

[SOLVED] Salome meca Xubuntu 20.04 Crashes to open modules

I'm trying to open salome_meca with   . /salome .
It opens but when i select a module it crash :

 

runSalome running on cae
Error when trying to access active network connections.
Traceback (most recent call last):
  File "/home/cae/salome_meca/appli_V2019.0.3_universal/bin/salome/PortManager.py", line 111, in __isNetworkConnectionActiveOnPort
    p = Popen(cmd, stdout=PIPE, stderr=STDOUT)
  File "/home/cae/salome_meca/V2019.0.3_universal/prerequisites/Python-365/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/home/cae/salome_meca/V2019.0.3_universal/prerequisites/Python-365/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'netstat': 'netstat'
Searching for a free port for naming service: 2810 - OK
Searching Naming Service  + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service  ++libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
Warning: this type (Study,objref) already exists, it will be ignored.
Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.
 found in 1.0 seconds 
Start SALOME, elapsed time :   1.1 seconds
****************************************************************
     Warning: module NETGENPLUGIN is improperly configured!
     Module NETGENPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HYBRIDPLUGIN is improperly configured!
     Module HYBRIDPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HexoticPLUGIN is improperly configured!
     Module HexoticPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GHS3DPLUGIN is improperly configured!
     Module GHS3DPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module BLSURFPLUGIN is improperly configured!
     Module BLSURFPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GMSHPLUGIN is improperly configured!
     Module GMSHPLUGIN will not be available in GUI mode!
****************************************************************
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast

The gui show the message attached in the next post

Last edited by ing.nicola (2020-04-26 10:45:53)

Offline

#2 2020-04-24 21:01:08

ing.nicola
Member
Registered: 2017-12-11
Posts: 51

Re: [SOLVED] Salome meca Xubuntu 20.04 Crashes to open modules

The message attached

I have python 3.8 .... is it necessary python 3.6 ?

Last edited by ing.nicola (2020-04-24 21:21:17)


Attachments:
err.png, Size: 12.18 KiB, Downloads: 57

Offline

#3 2020-04-26 01:07:13

sb1966
Member
Registered: 2015-03-16
Posts: 179

Re: [SOLVED] Salome meca Xubuntu 20.04 Crashes to open modules

Hi,
I  have not tried it. But it seems it is a mesa utilities problem. You may try the following. Please let us know if it works.

 sudo apt install mesa-utils

Then run

 glxgears

For more information and all available GL extensions execute:

 glxgears -info

Hope this helps.

Sukumar

Online

#4 2020-04-26 10:45:27

ing.nicola
Member
Registered: 2017-12-11
Posts: 51

Re: [SOLVED] Salome meca Xubuntu 20.04 Crashes to open modules

I renamed libstdc++.so files in     ....salome_meca/V2019.0.3_universal/prerequisites/debianForSalome/lib.
Now works

Offline

#5 2020-09-03 14:45:58

rodrigofarias
Member
Registered: 2020-09-03
Posts: 4

Re: [SOLVED] Salome meca Xubuntu 20.04 Crashes to open modules

ing.nicola wrote:

I renamed libstdc++.so files in     ....salome_meca/V2019.0.3_universal/prerequisites/debianForSalome/lib.
Now works

ing.nicola, i have the same problem. You renamed the file to what exactly? You renamed just this file?

Thanks.

Offline

#6 2020-09-03 16:34:54

sb1966
Member
Registered: 2015-03-16
Posts: 179

Re: [SOLVED] Salome meca Xubuntu 20.04 Crashes to open modules

Hi,
Do the following in ....salome_meca/V2019.0.3_universal/prerequisites/debianForSalome/lib.

mv libstdc++.so _libstdc++.so
mv libstdc++.so.6 _libstdc++.so.6
mv libstdc++.so.6.0 _libstdc++.so.6.0
mv libstdc++.so.6.0.22 _libstdc++.so.6.0.22 

Sukumar

Online