Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
Pages: 1
I was using the 2017 version, everything worked ok. After installed the 2018 version I tried to open the mesh module and the prob software crash. I tried to searched on the forums an this problem dates back to 2012. I have an intel gpu(integrated on the CPU). Can somebody help me?
Offline
Hello,
Are you using Linux inside a virtual machine?
TdS
Offline
Hello,
I had exactly the same problem on Mint 18.1, with an old computer without graphics card. I added a cheap graphics card and it's working perfectly now.
Salome Meca 2017 was running fine without graphics card.
Konyaro
失敗は成功のもと (L'échec est la base de la réussite)
Offline
Hi there,
I can confirm this. When using Intel integrated graphic card it leads to same problem in my laptop. Change to Nvidia graphic card solve the problem.
regards,
linctus
Offline
Hello,
Are you using Linux inside a virtual machine?
TdS
Yes, I'm facing this very same problem when attempting to run SalomeMeca within ubuntu 19.04 under Parallels. I guess it's related to the lack of support for OpenGL 3.3, but I wonder if it's possible to workaround this
Offline
Hi,
A workaround is available in latest version of Salome by using mesa3d to provide libGL.so with software rendering.
Download Salome from salome-platform.org/downloads/current-version
Choose the version specific to your OS (not the universal binary which does not contain mesa3d).
Launch salome with ./mesa_salome
If it works, you can use env_launch.sh with only llvm and mesa sections to append llvm and mesa to LD_LIBRARY_PATH before launching salome_meca.
Christophe
Offline
Launch salome with ./mesa_salome
If it works, you can use env_launch.sh with only llvm and mesa sections to append llvm and mesa to LD_LIBRARY_PATH before launching salome_meca.
Christophe
Christophe, can you elaborate on the solution you are suggesting?
I have SALOME-9.3.0-UB18.04-SRC running in my virtual machine using the mesa_salome start command. All the modules load and I can create geometry and meshes.
I do not understand how to use the BASH script env_launch.sh from the Salome install to modify the salome_meca V2018.0.1 installation. All I see in the salome_meca folder is python scripts. If this is documented somewhere and I missed it please point me to it!
Thank you very much!
Last edited by rmspring (2019-09-19 22:47:30)
Offline
You can create a file env_mesa.sh with these lines (adapt the first one to your path):
SALOME_BINARIES=/opt/salome/SALOME-9.3.0-DB08-SRC/BINARIES-DB08
export LD_LIBRARY_PATH=$SALOME_BINARIES/llvm/lib:$SALOME_BINARIES/mesa/lib:$LD_LIBRARY_PATH
export XLIB_SKIP_ARGB_VISUALS=1
Then:
source env_mesa.sh
And launch salome_meca (adapt to your path):
/opt/salome/appli_V2018.0.1_public/salome
Offline
You can create a file env_mesa.sh with these lines (adapt the first one to your path):
SALOME_BINARIES=/opt/salome/SALOME-9.3.0-DB08-SRC/BINARIES-DB08 export LD_LIBRARY_PATH=$SALOME_BINARIES/llvm/lib:$SALOME_BINARIES/mesa/lib:$LD_LIBRARY_PATH export XLIB_SKIP_ARGB_VISUALS=1
Then:
source env_mesa.sh
And launch salome_meca (adapt to your path):
/opt/salome/appli_V2018.0.1_public/salome
Christophe, Thank you so much! Salome_Meca is running!! I ran a test model with a beam element and all the modules seem to be running.
I still have a couple of warning messages, but I've seen those addressed on a forum elsewhere so I will try to resolve those.
Again Thank you!
Offline
Glad it helped! Thank you for the feedback.
Christophe
Offline
You can create a file env_mesa.sh with these lines (adapt the first one to your path):
SALOME_BINARIES=/opt/salome/SALOME-9.3.0-DB08-SRC/BINARIES-DB08 export LD_LIBRARY_PATH=$SALOME_BINARIES/llvm/lib:$SALOME_BINARIES/mesa/lib:$LD_LIBRARY_PATH export XLIB_SKIP_ARGB_VISUALS=1
Then:
source env_mesa.sh
And launch salome_meca (adapt to your path):
/opt/salome/appli_V2018.0.1_public/salome
Hi Christopher,
following your solution, mesh module has no problem on my ubuntu 18.04. However when I try to access AsterStudy module I receive the error "failed to activate asterstudy module".
Is there any way to solve this issue?
Thank you!
Last edited by abbas (2021-02-11 03:00:53)
Offline
Hi,
You can try to add in env_mesa.sh:
export MESA_GL_VERSION_OVERRIDE="4.5"
If it still does not work, download a more recent Salome version (9.5.0 or 9.6.0) with mesa 19 instead of mesa 13 in Salome 9.3.0.
Christophe
Offline
Hi,
Is it possible to edit the attached .sh file for Salome Meca 2020. I cannot get past the graphics card issue.
Regards
Offline
Pages: 1