Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand

There are many reasons this might be occurring, but a common problem with user-installed programs is that the syntax for module files has changed slightly between the old HPC and HPC 2.0. The error might look like this.

Code Block
  ERROR: Unable to locate a modulefile for 'pre-module'
  ERROR: Load of requirement 'pre-module' failed
  
  ERROR: Unable to locate a modulefile for 'post-module'
  ERROR: Load of requirement 'post-module' failed
  

If you’re getting this type error, it’s likely because the HPC used to have default modules called “pre-module” and “post-module” that had a bundle of basic programs used in most jobs. The solution is to delete the lines that look like these in the module file for your installed program.

Code Block
module load pre-module
module load post-module

If this doesn’t solve the problem, it module names and versions have changed slightly between the old HPC and HPC 2.0. It may be that the dependencies your program used to rely on are no longer available on HPC 2.0. For instance, the GCC compilers have been updated and some of the old ones are no longer available. In this case, the ideal situation would be to install your program again using the newer compilers---this is often a good idea anyway because newer compilers sometimes increase the performance and reduce the chance of bugs.

If there are extenuating circumstances that prevent you from using a program with new compilers, or are experiencing other module related problems, we invite you to submit a request for assistance by emailing hpc@uconn.edu. Then we can discuss options of how to set up a module that meets your needs.

How do I fix an error which says one module conflicts with other modules(s)?

...