need to share a specifical module withe users

15 views
Skip to first unread message

zakaria lahbi

unread,
Sep 19, 2022, 6:24:00 PM9/19/22
to Spack
am new spack user , 
i installed spack and some modules , its work 

but when i login with other user than  root , i cant find the installed module , so please any helps!

Todd Gamblin

unread,
Sep 19, 2022, 6:48:47 PM9/19/22
to zakaria lahbi, Spack
It sounds like you need to make sure the permissions on your modules (and package installations) are open to all users on the system.

The docs on package permissions may help some, but you also probably need to make sure that your install tree and module location are readable by users other than root:

--
You received this message because you are subscribed to the Google Groups "Spack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spack+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spack/f349f24a-3a99-4ccb-8ae6-668fba9a374an%40googlegroups.com.

zakaria lahbi

unread,
Sep 20, 2022, 10:25:27 AM9/20/22
to Spack
hi 
it work finaly , 
but the normal user can't  access to some compilers like (mkl), any idea plz
tnks

zakaria lahbi

unread,
Sep 20, 2022, 11:34:23 AM9/20/22
to Spack
hey
First of all, the package installs entirely under
/opt/ohpc/admin, which makes sense in that you may not want
users to have installation privileges. However, it also results
in *all* of the spack software ending up under /opt/ohpc/admin
as well, which is then inaccessible to users (obviously bad if
you want to use it to manage domain science software on a cluster).

any solution please let me know

You received this message because you are subscribed to a topic in the Google Groups "Spack" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spack/ky8KS0s_-Uo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spack+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spack/5d214d53-a7e2-40fa-8524-2f89dc948a39n%40googlegroups.com.


--
______________________________________________________
 
Tant que l'être humain reste la proie de l'autorité de son propre ego , sa quête en boucles névrotiques du bonheur le conduira inévitablement au malheur. (Serge Pastor)

Zakaria LAHBI
PhD student
Laboratoire de Transmission 
et de Traitement de l'Information.
Route d'Imouzzer, BP. 2427, 30 000 Fès Maroc. 
GSM: (+212) (-0) 660 48 51 61

Todd Gamblin

unread,
Sep 20, 2022, 11:47:14 PM9/20/22
to zakaria lahbi, Spack
It sounds like you’re using the OpenHPC version of Spack, which the OpenHPC folks decide where to install.

You can always clone Spack from https://github.com/spack/spack (or download a release there), install it to another location on your cluster, and adjust permissions. You could also ask on the OpenHPC mailing list if they have recommendations for how to deal with this.

Reply all
Reply to author
Forward
0 new messages