Run an OnDemand application with Slurm and Enroot

Hi,

I would like to enable jupyter and run a container version. I have Slurm with enroot installed but the application launch doesn’t seem to be passing the --container-image=jupyter/scipy-notebook flag. Here is my submit.yml.erb - bc_osc_jupyter/submit.yml.erb at master · edwardsp/bc_osc_jupyter · GitHub. Can anyone see what I’m doing wrong here?

Thanks,
Paul

I found the issue - Open OnDemand is adding --export NONE as arguments for sbatch and this seems to stop it from working. By appending --export ALL in my submit.yml.erb resolves the issue.