Hi guys,
I’m new here and hoping to revive this topic and get a little help as I’m relatively new to all this. I’d appreciate any help. My lab’s server is a centos distribution of linux and we use tmux along with singularity containers. After I shell into my singularity image in tmux, how do i get a jupyter notebook to open on my browser? jupyter is installed in the container btw. So the succession of commands is:
- ssh …
- tmux
- srun -p gpu -N1 --cpus-per-task=6 --gres=gpu:1 --mem=20000 --time=4-0:00:00 --pty bash
- singularity shell -nv --writable …sif
what do i do here now? The basic: jupyter notebook --no-browser --port=7800 gives back this error:
Traceback (most recent call last): File “/opt/conda/bin/jupyter-notebook”, line 11, in sys.exit(main()) File “/opt/conda/lib/python3.6/site-packages/jupyter_core/application.py”, line 266, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) File “/opt/conda/lib/python3.6/site-packages/traitlets/config/application.py”, line 657, in launch_instance app.initialize(argv) File “”, line 2, in initialize File “/opt/conda/lib/python3.6/site-packages/traitlets/config/application.py”, line 87, in catch_config_error return method(app, *args, **kwargs) File “/opt/conda/lib/python3.6/site-packages/notebook/notebookapp.py”, line 1628, in initialize self.init_configurables() File “/opt/conda/lib/python3.6/site-packages/notebook/notebookapp.py”, line 1319, in init_configurables connection_dir=self.runtime_dir, File “/opt/conda/lib/python3.6/site-packages/traitlets/traitlets.py”, line 556, in get return self.get(obj, cls) File “/opt/conda/lib/python3.6/site-packages/traitlets/traitlets.py”, line 535, in get value = self._validate(obj, dynamic_default()) File “/opt/conda/lib/python3.6/site-packages/jupyter_core/application.py”, line 99, in _runtime_dir_default ensure_dir_exists(rd, mode=0o700) File “/opt/conda/lib/python3.6/site-packages/jupyter_core/utils/ init .py”, line 13, in ensure_dir_exists os.makedirs(path, mode=mode) File “/opt/conda/lib/python3.6/os.py”, line 210, in makedirs makedirs(head, mode, exist_ok) File “/opt/conda/lib/python3.6/os.py”, line 220, in makedirs mkdir(name, mode) OSError: [Errno 30] Read-only file system: ‘/run/user/19241’
Thank you and sorry if this sounds easy.