-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi,
first a big thank you! This kernel made so many things a lot easier!
Do you have an idea how it could be facilitated to create different SLURM kernels for different environments?
A straight forward approach would be to add a shell script to the kernel-cmd.
so instead of
--kernel-cmd="python -m ipykernel_launcher -f {connection_file}"
use
--kernel-cmd="my_kernel_env_starter.sh my_env -m ipykernel_launcher -f {connection_file}"
and then load all the environment modules and activate the environment.
The question is, would a more elegant solution also be possible, where this could be an additional parameter of the Slurm kernel implementation?
All the best,
Alexander
Metadata
Metadata
Assignees
Labels
No labels