ucsf-wynton / wynton-website-hpc

The Official Wynton HPC User Website
https://wynton.ucsf.edu/hpc/
2 stars 14 forks source link

JHub: Should everyone use python = "/wynton/group/jhadmin/base-clone/bin/python"? #87

Closed HenrikBengtsson closed 2 years ago

HenrikBengtsson commented 2 years ago

On https://wynton.ucsf.edu/hpc/howto/jupyterhub.html, the example shows:

                     # Python for Dask worker to use, visible to the grid nodes
                     python = "/wynton/group/jhadmin/base-clone/bin/python",

Is that just an example, or are all users supposed to use that specify Python executable?

HenrikBengtsson commented 2 years ago

Also,

dev1$ whoami
hb-test

dev1$ ls -l /wynton/group/jhadmin/base-clone/bin/python
ls: cannot access /wynton/group/jhadmin/base-clone/bin/python: Permission denied

dev1$ ls -l /wynton/group/jhadmin/
ls: cannot open directory /wynton/group/jhadmin/: Permission denied

dev1$ stat /wynton/group/jhadmin/
  File: ‘/wynton/group/jhadmin/’
  Size: 1           Blocks: 1          IO Block: 524288 directory
Device: 66h/102d    Inode: 3502709098354610855  Links: 3
Access: (2770/drwxrws---)  Uid: (    0/    root)   Gid: (60348/ jhadmin)
Context: system_u:object_r:tmp_t:s0
Access: 2022-04-11 00:54:57.000000000 -0700
Modify: 2022-04-11 00:58:23.000000000 -0700
Change: 2022-04-11 00:58:23.000000000 -0700
 Birth: -

So, is the above example actually working for regular users?

sakethkoduru commented 2 years ago

Issue should be fixed. Let me know if you still see an error.

HenrikBengtsson commented 2 years ago

Confirmed, using:

{jhub}$ hostname
jhub.wynton.ucsf.edu

{jhub}$ date
Mon Nov 21 15:34:30 PST 2022

{jhub}$ stat /wynton/group/jhadmin/base-clone/bin/python
  File: ‘/wynton/group/jhadmin/base-clone/bin/python’ -> ‘python3.9’
  Size: 9           Blocks: 1          IO Block: 524288 symbolic link
Device: 29h/41d Inode: 14821174505905829991  Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (61773/ jhadmin)   Gid: (60348/ jhadmin)
Context: system_u:object_r:tmp_t:s0
Access: 2022-04-11 00:59:50.000000000 -0700
Modify: 2022-04-11 00:59:50.000000000 -0700
Change: 2022-04-11 00:59:50.000000000 -0700
 Birth: -