I would like to start using jupyterhub in my new job. I am an end-user. The problem I am facing is that it does not seem to be possible to define modules that should be loaded when jupyterhub starts. Specifically, I develop a code generation python framework that generates Cuda code, then looks for an nvcc compiler and compiles the code. Thus CUDA needs to be loaded so that nvcc is in the path. I have an env.sh file in my home which I usually source and then everything works fine for me.
Is there a way to define env variables or execute simple bash commands like module load when jupyterhub starts? I have read about a jupyterhub_config.py file but I am not sure if it helps if modify something there because I do not launch jupyterhub. I just start my server on an already configured jupyerthub
Thank you very much in advance for any help