ucsf-wynton / wynton-website-hpc

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

NOTES: 'make build' gives "Error in parse_module(modules[ii, ]) : INTERNAL ERROR: Should not happen; the module does not have versions" #130

Closed HenrikBengtsson closed 3 months ago

HenrikBengtsson commented 1 year ago

This is just a note to self: If you get:

[dev1]$ cd docs/hpc/software
[dev1]$ make clean
[dev1]$ make build
...
  ..$ description       : chr "SQLite is a relational database management system (RDBMS) contained in a C library. In contrast to many other d"| __truncated__
  ..$ defaultVersionName: chr "3.43.2"
  ..$ package           : chr "sqlite"
  ..$ url               : chr "https://sqlite.org/, https://sqlite.org/docs.html (docs), https://github.com/sqlite/sqlite/tags (changelog), ht"| __truncated__
  ..$ help              : chr "sqlite: SQLite Database Engine & Library"
  ..$ version           : Named chr [1:6] "3.32.3" "3.41.1" "3.41.2" "3.42.0" "3.43.0" "3.43.1"
  .. ..- attr(*, "names")= chr [1:6] "" "" "" "" "" ""
  ..$ example           : chr "`sqlite3 --version`."
Error in parse_module(modules[ii, ]) : 
  INTERNAL ERROR: Should not happen; the module does not have versions
Calls: <Anonymous> ... withVisible -> eval -> eval -> table_of_modules -> parse_module
Troubleshooting information dumped to files: last.dump_20231010-153058_RtmpPESRpL.{out,rda}
Execution halted

Then it's most likely because it picks up a default version for a module from Rocky 8, despite running on CentOS 7, and that default version is not installed on CentOS 7. Clear as mud? Either way, the fix is to make sure to install that version also on CentOS 7, or vice versa. In this case it's sqlite/3.43.2 that was only installed on Rocky 8.

HenrikBengtsson commented 3 months ago

I think I fixed this one