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

--- cluster: - "ondemand" form: - bc_num_hours - target - bucket - container_image - dataset attributes: bc_num_hours: widget: "number_field" label: "Maximum duration in hours of your session" value: 1 min: 1 max: 8 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"] container_image: id: "container_image" label: "Container Image" widget: "text_field" value: "utkarshayachit/vizer:${gl}-main" required: true help: | Container image to use for the application server. Use `${gl}` as a placeholder for the OpenGL implementation. It will be replced with `egl` or `osmesa` based on the selected node type. dataset: id: "dataset" label: "Dataset filename" data-filepicker: true data-target-file-type: files value: "/anfhome/apps/vizer/datasets/headsq.vti" required: true help: | Dataset filename to be used by the application.