Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
When running scripts (e.g. on a cluster) there is usually no screen associated with the environment. Therefore, to produce figures/images with an automated script one needs to use 'off screen rendering'.
Paraview (i.e. the kitware version) has the option to use EGL or OSMesa to run in a headless mode. Does anyone know if/how Paravis can be run headlessly?
Thanks for any advice.
Last edited by llionevans (2023-02-14 13:21:56)
Offline
Hello,
I am using SM2021 (containerised version) on a headless system via ssh -X on a regular basis. Screen rendering is done via VNC. I have to use the --soft option, so no rendering via GPU is working until now (I have a Quadro 400 installed, though).
The installation of VNC is described in thread id=26341, which I cannot access for some reason. This was new for me back then.
Mario.
Offline
Hi Mario,
Thanks for the reply. From what I understand, you are using this interactively. i.e. you connect via VNC and can see the visualisation on your screen?
This won't work for jobs in a batch queue (e.g. slurm). What we need is to have the script run non-interactively. That is, we submit a job to a queue, then the script will run and create the desired figures and save them to file, with no rendering to the screen.
An example where we might use this, is if we run a parameter sweep and want to generate >1000 images without manually loading and opening each set of results.
Maybe I misunderstood what you meant?
Thanks,
Llion
Offline
Hello,
Yes, but I log on via ssh -X MACHINE.ADDRESS. The screen is generated via VNC (it is not necessary but it is snappier) on the server. It is passed on to ssh and displayed on my local machine.
Well, I know ABOUT Slurm, but I do not use it (not necessary in my case).
So what you want might be entirely different, that is my guess,
Mario.
Offline
Thanks again for the input, but yes I think what we're trying to achieve is different to what you're doing. Maybe someone else has tried it?
Offline