I’m trying to customize the form fields to our cluster and simplify it. All the extra node_type
and cores_lookup
make it a bit difficult to know what can be removed.
The Git page has several more options vs the tutorial page.
I can’t get the versions of MATLAB to appear in the dropdown.
EDIT: I did update form.yml
:
form:
- version
and at the bottom:
version:
widget: select
label: "MATLAB version"
help: "This defines the version of MATLAB you want to load."
options:
- [ "R2022a", "matlab/r2022a" ]
- [ "R2021a", "matlab/r2021a" ]
- [ "R2019b", "matlab/r2019b" ]
- [ "R2018b", "matlab/r2018b" ]
- [ "R2018a", "matlab/r2018a" ]
I do see in template/script.sh.erb
this section where I had to hard code the latest version.
# Launch MATLAB
<%- if gpu -%>
#module load intel/16.0.3 virtualgl
#module load matlab/2022a
module list
Look for json files in the
/etc/reporting/modules
directory.
module_file_dir: "/etc/reporting/modules"
That directory does not exist. I created it and the file.
I kind of like Utah’s simplified form but ran into several errors such as:
ERROR "ERROR: NoMethodError - undefined method
’ for nil:NilClass"`
I’m not following this section:
to any ERB files in
~/ondemand/dev/bc_my_center_matlab/template/*
and~/ondemand/dev/bc_my_center_matlab/submit.yml.erb
.version
allows the user to select what version of MATLAB they want to run, and the second value corresponds to OSC’s module names. Those MATLAB versions are not in the Git page just in the tutorial.
Also, I see these warnings after a restart where is it looking for these files?
App 403997 output: [2024-10-28 15:28:40 -0400 ] WARN "File /axon.json is unreadable."
App 403997 output: [2024-10-28 15:28:40 -0400 ] WARN "File /slurmdev.json is unreadable."
And lastly this warning:
WARN "Error opening MOTD at \nException: bad URI(is not URI?): nil
@jeff.ohrstrom I’ve attached the .json file is there something off with this?
slurmdev.json (22.1 KB)