Fix listdeps
Fixing two issues
- It didn't work if only module name is passed to the script
- It was only searching for default versions, I updated the script so it searches for all versions
A sample of ./listdeps openmpi
output
abinit/8.8.3
amber/18-multi-gpus
amber/18-parallel
amber/18-parallel-pmemd.gem
chimera/1.14
cnvnator/0.4.1
cp2k/5.1.0
cp2k/6.1.0
cpmd/3.17.1
cpmd/4.3
dense3dcrf/20160527
exciting/nitrogen
gamess/16srs1
gamess/16srs1-v2
gamess/2018r3
geant4/10.6
gromacs/2016.3-openmpi-cuda8.0
gromacs/2016.4-openmpi-cuda8.0
gromacs/2016.5-openmpi-cuda8.0-plumed
gromacs/2018.4-openmpi-cuda8.0
gromacs/2018.7-openmpi-cpu-only
gromacs/2018.7-openmpi-cuda-plumed
gromacs/2018-openmpi-cuda8.0
gromacs/2018-openmpi-cuda8.0-NVML
gromacs/2019.4-openmpi-cuda10.0
gromacs/2020.1-openmpi-cuda10.1
gromacs/5.1.4
hypre/2.11.2
hypre/2.15.0
iqtree/1.6.2
lammps/20180510
lammps/20181212
lammps/20200303
lammps/20200303-python3
mpifileutils/20200701
namd/2.13-multicore-CUDA
....