Not finding Jupyter lab

Added another node to the ondemand cluster and it is not able to find jupyter lab.

output.log file

Script starting…
Waiting for Jupyter Notebook server to open port 10235…
TIMING - Starting wait at: Tue Jun 30 15:47:55 CDT 2020
TIMING - Starting main script at: Tue Jun 30 15:47:55 CDT 2020
TIMING - Starting jupyter at: Tue Jun 30 15:47:55 CDT 2020
Timed out waiting for Jupyter Notebook server to open port 10235!
TIMING - Wait ended at: Tue Jun 30 15:53:05 CDT 2020
Cleaning up…

scheduler file

jupyter lab --config=/home/thomasbr/ondemand/data/sys/dashboard/batch_connect/sys/jupyter/output/b4f3c7d2-1585-461d-8696-85fafcddafda/config.py
/home/thomasbr/ondemand/data/sys/dashboard/batch_connect/sys/jupyter/output/b4f3c7d2-1585-461d-8696-85fafcddafda/script.sh: line 25: jupyter: command not found

Executed the same command on the node and it seems to be fine with it.

It’s likely a module issue. We typically module purge then module load X Y Z to ensure the environment’s state. Maybe in the script you’re purging the module you need? You can try a module list to debug or even echoing $PATH.

You can close the ticket. Thanks.