code_aster_on_docker icon indicating copy to clipboard operation
code_aster_on_docker copied to clipboard

salome GUI via X11 forwarding

Open tianyikillua opened this issue 7 years ago • 1 comments

Initially the salome_meca image is only intended to run the embedded official Intel compiler-built code_aster (you can run your code_aster calculations using the as_run command of this image and all testcases should pass, try as_run --test forma02a).

Of course it would be nicer if we could also use the GUI (salome interface for modeling) via X11 forwarding (with vcXsrc under Windows for example): see the message of Frederic.renou.

Please at least install the following packages inside a salome_meca container

sudo apt-get update 
sudo apt-get install libglu1-mesa libxmu6

and follow instructions similar to those given in https://dev.to/darksmile92/run-gui-app-in-linux-docker-container-on-windows-host-4kde, then

docker run -ti --rm -e DISPLAY=[YOUR IP]:0 quay.io/tianyikillua/salome_meca

With my AMD card it still doesn't work quite well (libGL error: unable to load driver: swrast_dri.so). Feel free to report back if it works (or not) for you.

tianyikillua avatar Nov 26 '18 09:11 tianyikillua

The previous mentioned error (libGL error: unable to load driver: swrast_dri.so) can be solved by the comment of Paul CARRICO.

cd /home/aster/salome_meca/V2018/prerequisites/debianForSalome/lib
mv libstdc++.so _libstdc++.so
mv libstdc++.so.6 _libstdc++.so.6
mv libstdc++.so.6.0.20 _libstdc++.so.6.0.20

2018-11-26 14_17_42-

With MobaXterm, I'm able to launch salome_meca. But apparently my graphical card is not well supported and I can virtually do nothing.

tianyikillua avatar Nov 26 '18 13:11 tianyikillua