Little notes

Just a little note to myself, to start salome on a severly hacked and messed up workstation like mine:

paolo@rigel:~/salome_meca/appli_V2019.0.3_universal$ /home/paolo/salome_meca/appli_V2019.0.3_universal/salome 
runSalome running on rigel
Searching for a free port for naming service: 2815 - OK
Searching Naming Service  + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service  ++++libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/i386-linux-gnu/dri:/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/i386-linux-gnu/dri:/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/i386-linux-gnu/dri:/usr/lib/x86_64-linux-gnu/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.
+Traceback (most recent call last):
  File "/home/paolo/salome_meca/V2019.0.3_universal/modules/KERNEL_V9_3_0/bin/salome/orbmodule.py", line 172, in waitNSPID
    os.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/paolo/salome_meca/appli_V2019.0.3_universal/bin/salome/runSalome.py", line 633, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/home/paolo/salome_meca/appli_V2019.0.3_universal/bin/salome/runSalome.py", line 578, in startSalome
    session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
  File "/home/paolo/salome_meca/V2019.0.3_universal/modules/KERNEL_V9_3_0/bin/salome/orbmodule.py", line 174, in waitNSPID
    raise RuntimeError("Process %d for %s not found" % (thePID,theName))
RuntimeError: Process 460617 for /Kernel/Session not found


--- Error during Salome launch ---

I can’t recall where I found the solution, bit it is as simple as:

alias salome='LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28 /home/paolo/salome_meca/appli_V2019.0.3_universal/salome'

I found it on https://code-aster.org/forum2/viewtopic.php?id=23552

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.