Is your feature request related to a problem? Please describe.
Currently one cannot easily see the available variants for modules, doing module avail will only list the modules but not the available variants for the module.
$> module avail mpi/4.0.3
...
mpi/4.0.3
...
$> module show mpi/4.0.3
...
variant --default gcc/9.3.0 compiler gcc/8.4.0 gcc/9.3.0 gcc/10.1.0 intel/2019u5 intel/2020u1
variant --default i4 isize i4 i8
...
however, users that are not familiar with env-modules don't figure this out.
Describe the solution you'd like
I think there should be two scenarios covered:
module avail --variants which would forcefully show all variants for all modules (very verbose but some users might find it useful).
In this case it might be better to force all listed modules in a list-like format
mpi/4.0.3
compiler = [ 1, 2, 3, <line-break>
4, 5 ]
Just doing module avail should not do this!
- When asking for specific modules
module avail mpi it should default to show the variants. Since there may be many variants formatting might be problematic, but...
Is your feature request related to a problem? Please describe.
Currently one cannot easily see the available variants for modules, doing
module availwill only list the modules but not the available variants for the module.however, users that are not familiar with env-modules don't figure this out.
Describe the solution you'd like
I think there should be two scenarios covered:
module avail --variantswhich would forcefully show all variants for all modules (very verbose but some users might find it useful).In this case it might be better to force all listed modules in a list-like format
Just doing
module availshould not do this!module avail mpiit should default to show the variants. Since there may be many variants formatting might be problematic, but...