Taking the following modulefiles as example:
$ cat /path/to/modulefiles/ta
#%Module
$ cat /path/to/modulefiles/tb
#%Module
prereq ta
module unload ta
tb load leads to the load then the unload of ta. Unload of ta fails but the error message is confusing as it suggest unload should be tried whereas unload has been tried.
$ module load --auto tb
Unloading ta
ERROR: ta cannot be unloaded due to a prereq.
HINT: Might try "module unload tb" first.
Loading tb
ERROR: tb cannot be loaded due to a conflict.
HINT: Might try "module unload ta" first.
Taking the following modulefiles as example:
tbload leads to the load then the unload ofta. Unload oftafails but the error message is confusing as it suggest unload should be tried whereas unload has been tried.