Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
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
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
Thank Paul for confirming that, we'll look into it for the subsequent packaging.
TdS
Offline
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
Worked for me also - thanks !
Offline
Hey Paul, how did you come to this solution?
regards,
Krzysztof
Offline
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
Offline
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.
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
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
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
Thanks. Had the same issue with Ubuntu 18.04.4 LTS and salome_meca 2018.0.
Offline
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!
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
Hi all, that is still needed in salome_meca 9.4.0, on ubuntu 20.04
Offline