playbooks/roles/ood-applications/files/bc_paraview/form.yml.erb (56 lines of code) (raw):

--- cluster: - "ondemand" form: - bc_num_hours - target - bucket - version - paraview_home attributes: bc_num_hours: widget: "number_field" label: "Maximum duration in hours of your session" value: 1 help: | This is the maximum duration in hours of your session once started. step: 1 target: widget: "select" label: "Node type" help: | Select the resource target for the remote desktop session <br> options: <%- File.readlines("/etc/ood/config/apps/bc_desktop/config/viz_nodes.yml").each do |line| %> <%= line.to_s %> <%- end %> bucket: widget: "select" label: "Node bucket" value: 1 help: | Select how much of the node you want to use. This affects to total number of MPI ranks ParaView will use for distributed processing / rendering. options: - [" 1/8 of the node", "8"] - [" 1/4 of the node", "4"] - [" 1/2 of the node", "2"] - [" the full node", "1"] version: widget: select label: "ParaView version" help: "This defines the version of ParaView you want to load." options: - [ "ParaView 5.11.0", "5.11.0" ] paraview_home: label: "ParaView Home Directory" help: | Specify the ParaView Home Directory to be used when starting ParaView. ParaView binaries should be located under this root directory. The launch script uses the following path to locate the ParaView executables: `$PARAVIEW_HOME/$PARAVIEW_VERSION/(glx|egl|osmesa)/bin/${executable}`. `glx` is used for launching the ParaView Qt client. `egl` and `osmesa` are used for launching the ParaView server based on whether GPU support is enabled or not respectively. widget: text_field value: "/anfhome/apps/paraview"