Clemens has created kernels configuration that clears LD_LIBRARY_PATH and sets SIT_DATA, which depends on the specific conda environment (i.e, it is different for ana-1.1.0 and ana-1.0.7), as well as SIT_ROOT for ana-1.1.0.
Next I need to automate the generation of this when new environments are built.
All jupyterhub config will go at
/reg/g/psdm/sw/conda/jhub_config
there, for each conda installation we'll have a subdirectory, in particular
that is a directory called kernels. That name is dictated by the jupyter stuff. In there, we'll have subdirs for each environment for which we define this kernel config, i.e
Clemens has created kernels configuration that clears
LD_LIBRARY_PATH
and setsSIT_DATA
, which depends on the specific conda environment (i.e, it is different for ana-1.1.0 and ana-1.0.7), as well asSIT_ROOT
for ana-1.1.0.Next I need to automate the generation of this when new environments are built.
All jupyterhub config will go at
/reg/g/psdm/sw/conda/jhub_config
there, for each conda installation we'll have a subdirectory, in particular
/reg/g/psdm/sw/conda/jhub_config/prod-rhel7
in that directory we'll have
/reg/g/psdm/sw/conda/jhub_config/prod-rhel7/kernels
that is a directory called kernels. That name is dictated by the jupyter stuff. In there, we'll have subdirs for each environment for which we define this kernel config, i.e
Each of these subdirs will have a file called
kernels.json
, here is the ana-1.1.0 one:The python 3 one only varies with the display name, and we don't need to set SIT_ROOT or SIT_DATA, but I guess it can't hurt.