Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated visualization with ParaView scripting #146

Open
johanjan opened this issue Sep 19, 2018 · 1 comment
Open

Automated visualization with ParaView scripting #146

johanjan opened this issue Sep 19, 2018 · 1 comment
Assignees

Comments

@johanjan
Copy link

A basic way to provide automated visualization is to provide ParaView scripts that are automatically run when the remote desktop is started. Is it possible to provide commands that are run when the remote desktop is started?

@emepetres emepetres assigned emepetres and victorsndvg and unassigned emepetres Oct 2, 2018
@victorsndvg
Copy link
Member

victorsndvg commented Oct 8, 2018

Dear @johanjan,

it's possible to launch Paraview (or any other app) when launching a new remote desktops.

CESGA desktops always check the existence of a CESGArdesktop.startup file in the user home directory when launching a new desktop. If this exists the file is executed.

Summing up, you should place an executable $HOME/CESGArdesktop.startup file (with execution permissions) in the home directory of the users.

This is an example startup file to load Paraview:

#!/bin/bash
echo "Launching Desktop: " $date >> $HOME/CESGArdesktop.log
module load ParaView/5.2.0 &>> $HOME/CESGArdesktop.log
vglrun paraview &>> $HOME/CESGArdesktop.log

The current alternative to do that is to create and assign the right permissions to this file during bootstrap or revert process of your blueprint.

@emepetres , is would be possible to deploy and undeploy this file when launching a desktop from the Portal? this could be like a bootstrap/revert script of the remote visualization.

I think it could be interesting for end-users. A "resources provider" could provide several applications or profiles (per remote desktop infrastructure) to be loaded when launching a new desktop. And then the users could choose one of the provided "desktop profiles" to load a pre-post processor when launching.

I'm also taking a look to the other alternative we were discussing, to create a desktop icon per experiment to directly visualize its results, but no new till the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants