singularity-hpc: ERROR: Resolution loop on 'bids/freesurfer/latest' detected, RHEL 9

The modules do not appear with Lmod via module available. Testing freesurfer, using TCL the module appears as: bids/freesurfer/latest/module.tcl

ml bids/freesurfer/latest/module.tcl results in: ERROR: Resolution loop on 'bids/freesurfer/latest' detected

Iโ€™ve switched between TCL and Lmod. We use the Bright Computing provisioning management system but I donโ€™t think that is related.

To Reproduce Steps to reproduce the behavior:

git clone https://github.com/singularityhub/singularity-hpc
cd singularity-hpc
pip install -e .[all]
 /usr/local/bin/shpc install bids/freesurfer:latest
INFO:    Using cached SIF image
Module bids/freesurfer:latest was created.
module use ./modules

This was installed within echo $MODULEPATH

Expected behavior The module should appear.

apptainer version 1.3.0-1.el9
/usr/local/bin/shpc --version
0.1.28
rpm -qa|grep -i lmod
Lmod-8.7.32-1.el9.x86_64
rpm -qa|grep -i tcl
tcl-8.6.10-7.el9.x86_64
tcl-devel-8.6.10-7.el9.x86_64

Anything else? If this is a question more than a bug, feel free to move it.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 34 (18 by maintainers)

Most upvoted comments

@marcodelapierre ๐Ÿ™Œ ๐Ÿ™Œ !

Oh great! Looks like the EnvModules vs Lmod clash was indeed causing your issues.

Let us know if you need anything else, or if we can close this one.