whatprovides a tool to know the module wich provides a given program.
you want to use program 'xyz' but... Which is the module to load that provides the 'xyz' tool ??
whatprovides also know as wp will gives you some insights
wp synopsis.#
bic:~ > wp -h
usage: wp [options]
example use case.#
you want to find the module(s) providing a tools which contains the string blast2 in it's name.
bic:~ > wp blast2 blast2sam.pl is found in module(s): samtools/0.1.19 samtools/0.1.18 samtools/1.1 samtools/1.0 blast2seqids is found in module(s): blast2seqids/1.3 blast2seqids/1.4 blast2taxonomy is found in module(s): blast2taxonomy/2.1 wblast2_cs.REAL is found in module(s): ncbitools/20090809 ncbitools/20122006 blast2usa is found in module(s): blast2usa/1.2 blast2taxoclass is found in module(s): blastTaxoAnalysis/1.0 wblast2.REAL is found in module(s): ncbitools/20090809 ncbitools/20122006 blast2genoclass is found in module(s): blastTaxoAnalysis/1.0
now you just have to find the wanted program and select the module it pertains and load it accordingly to use your tool.