Personal tools
You are here: Home Forum Install & build Salome on Ubuntu 20.04

Salome on Ubuntu 20.04

Up to Install & build

Salome on Ubuntu 20.04

Posted by Thiago Parente Lima at August 11. 2020

Hi everybody,

I decided to initiate this thread because I havne't seem any about how or when it would be possible to install Salome on Ubuntu 20.04.

By now if you download the Universal Linux Binary, unpack and try to run it, it gives lots of error message. If someone had a different result or maybe could give some comment about the installing of Salome 9.5 on Ubuntu 20.04 I would appreciate.

Regards.

Re: Salome on Ubuntu 20.04

Posted by Nabil Ghodbane at August 11. 2020

Hi Thiago, can you share the error messages you report about with the universal linux binary ?

Thanks

Re: Salome on Ubuntu 20.04

Posted by Nabil Ghodbane at August 12. 2020

In case the experienced issues are about graphics libraries, you can use the embedded libraries which are shipped with the universal binary archives.

To link against these libraries, you need to uncomment this line in salome script file:
    context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/system_dep/gl")

HTH

Re: Salome on Ubuntu 20.04

Posted by Thiago Parente Lima at August 12. 2020

Hi Nabil,

Sorry not posting the error message. I did what you suggested and now Salome 9.5 (Universal Linux Binary) its running nicely on my Ubuntu 20.04.1 LTS. Thank you.
I post bellow the errors messages I found and the solutions in the case of others find the same problems.

First error trying to run:

runSalome running on thiago-Inspiron-5557
Error when trying to access active network connections.
Traceback (most recent call last): ...

SOLUTION: install net-tools - don't know why, just found in Google...

Second error trying to run:

runSalome running on thiago-Inspiron-5557
Searching for a free port for naming service: 2811 - OK
Searching Naming Service  + found in 0.1 seconds 

SALOME_Session_Server: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/thiago/SALOME-9.5.0/BINARIES-CO7/KERNEL/bin/salome/orbmodule.py", line 181, in waitNSPIDos.kill(thePID,0)
ProcessLookupError: [Errno 3] No such process
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/thiago/SALOME-9.5.0/BINARIES-CO7/KERNEL/bin/salome/runSalome.py", line 680, in useSalome
clt = startSalome(args, modules_list, modules_root_dir)  File "/home/thiago/SALOME-9.5.0/BINARIES-CO7/KERNEL/bin/salome/runSalome.py", line 625, in startSalome  session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
  File "/home/thiago/SALOME-9.5.0/BINARIES-CO7/KERNEL/bin/salome/orbmodule.py", line 183, in waitNSPID raise RuntimeError("Process %d for %s not found" % (thePID,theName))
RuntimeError: Process 9354 for /Kernel/Session not found
Searching /Kernel/Session in Naming Service  
--- Error during Salome launch ---

SOLUTION: uncomment the line context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/system_dep/gl") in file ./SALOME-9.5.0/salome - don't know why, ask Nabil :)
 

Re: Salome on Ubuntu 20.04

Posted by Nabil Ghodbane at September 02. 2020
To complete this thread, users can experience GUI  issues with SALOME universal distribution with Gnome Display Manager 3 (gdm3) desktop manager on Ubuntu 20.
In case, the issue occurs, consider switching to lightdm display manager which solves the GUI issue. See this link to see how to switch from gdm3 to lightdm display manager: https://linuxconfig.org/ubuntu-20-04-unity-desktop
 
Thanks to Pablo for reporting about the issue and for his solution.
Powered by Ploneboard
Document Actions