I am seeing a few issues with Lmod modules generation that I am not sure where they are coming from.
The first is the function of the blacklisting and whitelisting. In our modules.yaml, I have:
blacklist_implicits: true
whitelist:
- intel-mpi
...
But, when I explicitly build a package, it's still saying that it's blacklisted as implicit. Why would Spack think the package (e.g lammps below) that is explicitly installed is implicit?
$ spack -d install lammps +user-colvars+user-plumed+replica target=nehalem
...
==> [2021-05-05-10:11:57.311734] BLACKLISTED_AS_IMPLICIT : lammps@20210310%g...@8.3.0 ... arch=linux-centos7-nehalem/epn4b2a
==> [2021-05-05-10:11:57.312301] NOT WRITING: lammps@20210310%g...@8.3.0 ... arch=linux-centos7-nehalem/epn4b2a [BLACKLISTED]
Secondly, for whatever reason, Spack is putting the module file to its directory, $SPACK/share/spack/modules. I am not sure how it figures that out since in our config.yaml we only have:
and e.g. for the lammps Spack does do:
Any thoughts on this would be appreciated.