Skip to content
Snippets Groups Projects
Unverified Commit ccde9bef authored by Bo-Chun Chen's avatar Bo-Chun Chen Committed by GitHub
Browse files

Add custom_env in form (#5)

parent 2448105d
No related branches found
No related tags found
No related merge requests found
---
cluster: "SLURM_CLUSTER"
attributes:
custom_environment:
widget: text_area
label: Environment Setup
value: |
# If you would like to load other modules
# or add other things in your environment please list below
#
# format:
# module load example_module/VERSION example_module2
# export PATH=....
bc_num_hours:
value: 1
......@@ -57,6 +68,7 @@ attributes:
cuda_toolkit: "cuda10.0/toolkit"
form:
- custom_environment
- version
- bc_num_hours
- bc_partition
......
......@@ -30,6 +30,8 @@ module load <%= context.cuda_toolkit %>
<%- end -%>
# Load the required environment
module load <%= context.version %>
<%= context.custom_environment %>
# Launch MATLAB
module list
set -x
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment