I’ve removed:
accounting_id: "<%= %>"
Does all this stay the same?
batch_connect:
template: vnc
script:
native:
<%- slurm_args.each do |arg| %>
- "<%= arg %>"
<%- end %>
I see in the latest user_defined_context.json
the correct project, which you previously mentioned is equivalent to Slurm’s -A
or --account
option:
"version": "matlab/2020b",
"project": "rcs",
Slightly different error:
sbatch: error: Account must be specified.
sbatch: error: Batch job submission failed: Unspecified error
App 286549 output: [2024-03-29 13:54:25 -0400 ] INFO "execve = [\"git\", \"describe\", \"--always\", \"--tags\"]"
App 286549 output: [2024-03-29 13:54:25 -0400 ] INFO "method=POST path=/pun/sys/dashboard/batch_connect/dev/bc_my_center_matlab/session_context
s format=html controller=BatchConnect::SessionContextsController action=create status=200 duration=160.61 view=13.69"
[ N 2024-03-29 13:59:24.9441 255682/T3 age/Cor/CoreMain.cpp:1147 ]: Checking whether to disconnect long-running connections for process 286549,
application /var/www/ood/apps/sys/dashboard (production)
App 288147 output: [2024-03-29 13:59:50 -0400 ] INFO "execve = [{\"SLURM_CONF\"=>\"/cm/shared/apps/slurm/var/etc/slurm.conf\"}, \"/cm/shared/ap
ps/slurm/current/bin/sbatch\", \"-D\", \"/moto/home/rk3199/ondemand/data/sys/dashboard/batch_connect/dev/bc_my_center_matlab/output/8230f9d3-451
4-4140-a6f7-32d60a416bd5\", \"-J\", \"sys/dashboard/dev/bc_my_center_matlab\", \"-o\", \"/moto/home/rk3199/ondemand/data/sys/dashboard/batch_con
nect/dev/bc_my_center_matlab/output/8230f9d3-4514-4140-a6f7-32d60a416bd5/output.log\", \"-t\", \"01:00:00\", \"--export\", \"NONE\", \"--nodes\"
, \"1\", \"--ntasks-per-node\", \"1\", \"--parsable\", \"-M\", \"terremoto\"]"
App 288147 output: [2024-03-29 13:59:50 -0400 ] ERROR "ERROR: OodCore::JobAdapterError - sbatch: error: Account must be specified.\nsbatch: erro
r: Batch job submission failed: Unspecified error"
App 288147 output: [2024-03-29 13:59:50 -0400 ] INFO "execve = [\"git\", \"describe\", \"--always\", \"--tags\"]"
App 288147 output: [2024-03-29 13:59:50 -0400 ] INFO "method=POST path=/pun/sys/dashboard/batch_connect/dev/bc_my_center_matlab/session_context
s format=html controller=BatchConnect::SessionContextsController action=create status=200 duration=324.14 view=125.05"
I also noticed in script.sh
:
module load xalt/latest **matlab**/2022b
Not sure what this xalt
is?