I get an error loading environment modules (4.2.4) I do not understand. With three modules A, B and C where B depends on A and C and C depends only on A:
A
#%Module1.0
B
#%Module1.0
module load A C
C
#%Module1.0
module load A
it is not possible to load the modules in the following manner:
module load A B
The error that is printed to stdout is:
Error: B cannot be loaded due to missing prereq.
HINT: the following modules must be loaded first: C
A module load A C B
is working.
Is this a bug of the module environment or am I missing something?