Open silgon opened 4 years ago
I'd recommend just using ParaView.
I don't understand how using ParaView
can help. Could you be more specific @prj- ? Thanks
You can output your results using the .vtu
format. Then, transfer between the container and the host. And open your transferred files with ParaView?
Oops.... sorry my question sounded so naive. I wanted to know if that's the only way. I actually thought that the output would be an image that I'm unable to zoom in. I suppose that vtu
is a kind of mesh file with the information of the analysis. I'll give it a try either tomorrow or the beginning of next week. I was really looking forward to have the visualization in the same docker container, but if that is the way you people who develop the software use, that should be good enough =).
Thanks for the reply @prj- and I'll either close the issue once I tested or I'll come back with more questions. =D
We don't really use the Docker image to be perfectly honest. Why don't you compile FreeFEM or use a prebuilt image? But ParaView is really nice, much much better than ffglut, so you are not missing out on anything!
I use a lot docker because you don't have to compile anything and it's really convenient for a lot of repeatability task (I use it in my every day personal and professional projects). However, I gave it a shot to the FreeFEM installation, I got some dependency problems that I tried to solve for probably an hour and I wasn't willing to spend a lot of time seeing why, since I'm using FreeFEM
out of curiosity and it's not a requirement for anything I'm doing. =)
... I was really looking forward to have the visualization in the same docker container, ...
If you really do not want to install anything on your computer, you could also try to install paraview in the same docker image. Or you could use the docker image of FreeFEM and the one of paraview, and share a volume between those two.
But just sharing a folder between the host and the docker container to recover the output of freefem (vtu
files), and then call paraview on your computer may be the easiest way.
X11 can be used within docker with the options
-e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix
within thedocker run
command and enabling it withxhost +local:root
. However, in this docker image I'm not able to display the first tutorial code:I know that X11 is working because I test it with the command
xeyes
(after installingx11-apps
in the container), however the plot of the previous code is not being displayed.One hint that I have is when I type
FreeFem++
alone, there is a line after the help that sayswithout default ffglut: ffglut
. However I do not know how to install it or what flag to activate to be able to install it.Any ideas?