LinuxPersonEC

Results 80 comments of LinuxPersonEC

> To correctly use modules, you need to run `module use` with the modules subdirectory of the SHPC installation. > > I would like to see the outcome of `ml...

> It would be good to be able to disable either Lmod or Env modules setup in the shell environment, to test in a more robust environment. Can you suggest...

> Please start from this comment of mine above: > > > It would be good to be able to disable either Lmod or Env modules setup in the shell...

OK I'm getting closer. I'm assuming I want to disable Environment Modules. I see we have: ``` /etc/alternatives/modules.sh /etc/profile.d/modules.sh ``` There is also the `.csh `versions which I'll ignore for...

> * get rid of `/etc/alternatives/modules.sh` and `/etc/profile.d/modules.sh` > * check whether Lmod `ml` is still available - where is this setup? .bashrc/.bash_profile/.profile ? some other .sh file in /etc/profile.d/...

> To customise grouping of modules within the directory structure, please have a look at the [Views functionality](https://singularity-hpc.readthedocs.io/en/latest/getting_started/user-guide.html#views) in the documentation, see if it can be helpful in your case....

> Both issues come to the fact that the directory `/cluster/shared/apps/singularity-hpc` is in the `MODULEPATH` variable, which should NOT be the case. because that is a location of the SHPC...

> Using this one should fix the incorrect `ml avail` output, let me know :) Ah now that looks much better: ``` module use /cluster/shared/apps/singularity-hpc/modules ml av ------------------- /cluster/shared/apps/singularity-hpc/modules --------------------...

Well I uninstalled Lmod and module use` /cluster/shared/apps/singularity-hpc/modules` runs but does not make freesurfer available. And thus, creating a symbol link to ` /usr/share/lmod/lmod/init/profile` won't work as Lmod is uninstalled....

So on another cluster I get this error: ``` ml tensorflow/tensorflow/2.18.0rc0/module.tcl Lmod has detected the following error: /share/apps/Miniforge/lib/python3.12/site-packages/modules/tensorflow/tensorflow/2.18.0rc0/module.tcl: (tensorflow/tensorflow/2.18.0rc0/module.tcl): expected boolean value but got "bash" While processing the following module(s):...