playbooks/roles/ood-applications/files/bc_ansys_workbench/form.yml.erb (47 lines of code) (raw):
---
cluster:
- "ondemand"
form:
- bc_num_hours
- target
- bucket
- version
- ansys_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. <br>
step: 1
ansys_home:
label: "Ansys Home Directory"
help: |
Specify the Ansys Home Directory to be used when starting Ansys Workbench
value: "/anfhome/apps/ansys"
target:
widget: "select"
label: "Session target"
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"
help: |
Select how much of the node you want to use <br>
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: "ANSYS Workbench version"
help: "This defines the version of ANSYS you want to load."
options:
- [ "2021 R2", "v212" ]