-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle duplicate modules #132
Comments
This problem occurs, when the module system can access 2 different installations of the same module but with the same module name. |
this issue is hard to fix in a way that works everywhere. |
And could we give a meaningful error to the user if multiple tests are run with the same ID? |
no clue if/how we can do that. but this shouldn't happen if there are no duplicate modules, right? |
Nope does not happen than but how where do we tell the users than don't have duplicate modules? |
in the |
|
When running the test-suite on the local software stack and the EESSI software stack at the same time it is possible to come across duplicate modules.
For example on the Doduo cluster at the UGent we have the module
TensorFlow/2.13.0-foss-2023a
which is also available in the EESSI software stack.When running the test-suite ReFrame will generate two tests with the same rfm_hash:
Because of this the test-case is run twice and the results are added to the same output and error files.
This causes the sanity check to fail with
sanity error: 2 != 1
The tests will also use the same module twice (The module that is first in the MODULEPATH) and not testing first the local one and than the EESSI one or the other way around.
A possible solution is to deduplicate identical module name in
find_modules
and give a warning to the user that this is done and specify which module on their respectiveMODULEPATH
will get tested.The text was updated successfully, but these errors were encountered: