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

You are not logged in.

#1 2018-07-14 12:53:06

BrianP
Member
From: Dennark
Registered: 2018-07-14
Posts: 3

How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hi

I having trouble to launch SalomeMeca 2018 in Ubuntu 16.04, the program do not open.

How can i launch it or remove it ? (I have installed Salome-Meca-2017 on other machine, and it works)

Best regards
BrianP

Last edited by BrianP (2018-07-14 15:40:34)

Offline

#2 2018-07-17 19:56:41

Paul CARRICO
Member
From: France
Registered: 2007-12-26
Posts: 294

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hi

I had the same issue with an ubuntu 16.04 LTS on my PC; finally I found a way to start Salomé-méca:
- I went to the "$HOME/salome_meca/V2018/prerequisites/debianForSalome/lib" directory
- I've commented the 3 files "libstdc++" by adding an underscore at the name end
- now it opens

hope it works for another users

Paul

launching by hand Salomé, the message was:
runSalome running on Dell-Maison
Searching for a free port for naming service: 2812 - OK
Searching Naming Service + found in 0.1 seconds
Searching /Kernel/Session in Naming Service ++++++libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
+libGL error: unable to load driver: swrast_dri.so
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 4.0 seconds
Start SALOME, elapsed time :   4.2 seconds

Last edited by Paul CARRICO (2018-07-17 20:57:53)

Offline

#3 2018-07-23 16:50:07

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Thank Paul for confirming that, we'll look into it for the subsequent packaging.

TdS

Offline

#4 2018-07-23 21:23:56

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 272

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hello Paul,
I had exactly the same problem and your trick solved it!

Thank you


失敗は成功のもと (L'échec est la base de la réussite)

Offline

#5 2018-09-15 02:33:41

benico
Member
Registered: 2016-09-20
Posts: 8

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Worked for me also - thanks !

Offline

#6 2018-10-11 23:09:04

k_zurawski
Member
From: Gdansk
Registered: 2010-03-13
Posts: 207

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hey Paul, how did you come to this solution?


regards,
Krzysztof

Offline

#7 2018-12-02 13:58:43

maccer
Member
Registered: 2018-12-02
Posts: 1

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

This is a typical issue with outdated libraries. Other apps like Matlab have the same problem. The solution is to use the libraries present on the system instead of loading new ones. You can make this work on any ubuntu distro executing the command 

LD_PRELOAD='/usr/$LIB/libstdc++.so.6' ./salome 

This command preloads that library from the system and executes Salome. However I still get some warnings:

****************************************************************
     Warning: module HYBRIDPLUGIN is improperly configured!
     Module HYBRIDPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module NETGENPLUGIN is improperly configured!
     Module NETGENPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GMSHPLUGIN is improperly configured!
     Module GMSHPLUGIN will not be available in GUI mode!
****************************************************************

Matlab solves this kind of problems with libraries installing a package called matlab-support which is available on the Ubuntu Universe repository. Maybe the devs of Salome should consider a similar solution.

There are other ways to avoid packaging errors on linux distros. Like using appimages, snaps or flaptak files. Those 3 options are distro-agnostic and probably require less support on the long run. It would be great if you could create a package with any of them smile

Offline

#8 2018-12-03 10:22:00

BrianP
Member
From: Dennark
Registered: 2018-07-14
Posts: 3

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hi all, thanks for answers. My problem was totally different then i could imagine, it was my SolidStateDrive that not work proporly, it have cost me to much time, but new SSD then it works.

BrianP wrote:

Hi

I having trouble to launch SalomeMeca 2018 in Ubuntu 16.04, the program do not open.

How can i launch it or remove it ? (I have installed Salome-Meca-2017 on other machine, and it works)

Best regards
BrianP

Offline

#9 2019-02-19 00:13:21

jdbcoles
Member
Registered: 2019-02-18
Posts: 1

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hi all,

I'm experiencing a similar install issue. Tried with Ubuntu 18.10, thought that may be the problem so I installed 18.04. Performed updates and ensured all prerequisites were properly installed.

runSalome running on jdblinux-OptiPlex-3020
Searching for a free port for naming service: 2817 - OK
Searching Naming Service + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service ++/home/jdblinux/.themes/Macterial/gtk-2.0/gtkrc:24: Unable to find include file: "xfce-notify.rc"
+libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.
+Traceback (most recent call last):
  File "/opt/Salome-Meca-2018/appli_V2018.0.1_public/bin/salome/runSalome.py", line 633, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/opt/Salome-Meca-2018/appli_V2018.0.1_public/bin/salome/runSalome.py", line 578, in startSalome
    session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
  File "/opt/Salome-Meca-2018/V2018.0.1_public/modules/KERNEL_V8_5_0/bin/salome/orbmodule.py", line 174, in waitNSPID
    raise RuntimeError, "Process %d for %s not found" % (thePID,theName)
RuntimeError: Process 2252 for /Kernel/Session not found


--- Error during Salome launch ---

I'm not experienced with linux but it seems to me with the reading Ive done that the drivers are out of date [salome is looking for a different name I think]. I guess this is the reason this line works

 LD_PRELOAD='/usr/$LIB/libstdc++.so.6' ./salome

Question for Maccer would be, why does this work? And do you think there's a way we can maybe create a more permanent solution. This is only capable of being launched through terminal and has to be done every time.

Maybe a symbolic link may solve the problem. So when Salome looks for the "library/driver" it gets directed to library we had to preload.

Like i said im not experienced so that suggestion might be complete garbage. I'm going to continue looking into this but any support will be appreciated.

Offline

#10 2019-06-20 08:18:08

Nick90
Member
Registered: 2019-06-17
Posts: 2

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hi all,

I had the same problem after installing the Salome-Meca package on Ubuntu 18.04.2 LTS, I have followed some advice on this forum but still cannot fully solve. I run through terminal with some errors that I don't know how to fix, please can anybody help? (I would be so grateful!).

I have a warning that (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists and will be ignored - is this a problem and if so how do I fix it?  The modules shown below are improperly configured, does anyone know how to fix these?

Thanks,
Nick


nick@nick-MacBookAir://home/nick/salome_meca/appli_V2018.0.1_public$ ./salome
runSalome running on nick-MacBookAir
Searching for a free port for naming service: 2816 - OK
Searching Naming Service + found in 0.1 seconds
Searching /Kernel/Session in Naming Service ++++Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.
+****************************************************************
     Warning: module HYBRIDPLUGIN is improperly configured!
     Module HYBRIDPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************

     Warning: module NETGENPLUGIN is improperly configured!
     Module NETGENPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GMSHPLUGIN is improperly configured!
     Module GMSHPLUGIN will not be available in GUI mode!
****************************************************************
found in 2.5 seconds
Start SALOME, elapsed time :   2.6 seconds

Offline

#11 2020-03-16 19:35:28

lskrinjar
Member
Registered: 2015-10-16
Posts: 47

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Thanks. Had the same issue with Ubuntu 18.04.4 LTS and salome_meca 2018.0.

Offline

#12 2020-03-22 23:39:46

hberro
Member
From: Palaiseau, France
Registered: 2011-07-05
Posts: 148

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Dear jdbcoles,

A more neat solution is to delete or rename libstdc++.so.6 in the salome meca installation directory.

That should be in V2019.0.3_universal/prerequisites/debianForSalome/libs

That way salome would naturally use the c++ libraries from your system.

Good luck!

jdbcoles wrote:
 LD_PRELOAD='/usr/$LIB/libstdc++.so.6' ./salome

Question for Maccer would be, why does this work? And do you think there's a way we can maybe create a more permanent solution. This is only capable of being launched through terminal and has to be done every time.

Maybe a symbolic link may solve the problem. So when Salome looks for the "library/driver" it gets directed to library we had to preload.

Like i said im not experienced so that suggestion might be complete garbage. I'm going to continue looking into this but any support will be appreciated.

Offline

#13 2021-02-19 11:40:25

bpaillard
Member
Registered: 2015-10-16
Posts: 28

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hi all, that is still needed in salome_meca 9.4.0, on ubuntu 20.04

Offline