Hi Loris,

On 19/11/2018 16:39, Loris Bennett wrote:
Hi Alan,

Yes, you're right, I can load the module even though 'module av' doesn't
show it.  Using --ignore_cache works but is very slow as is

   LMOD_RC=/home/loris/shared/apps/lmod/lmod/libexec/../init/lmodrc.lua module 
av

But I haven't really understood Lmod's caching mechanism yet and whether
there's any point using it if I only have one tree of module files, so
I'll have to read up on that.

If you say that using --ignore_cache works but is very slow, then you'll likely benefit from using the Lmod spider cache.

See https://lmod.readthedocs.io/en/latest/130_spider_cache.html for more information.


regards,

Kenneth


Cheers,

Loris

Alan O'Cais <[email protected]> writes:

Hi Loris,

Probably your lmod cache is just out of date. Have you tried to actually load 
the module?

Try
module --ignore_cache avail

On Mon, 19 Nov 2018 at 15:47, Loris Bennett <[email protected]> wrote:

  Hi,

  This maybe more of an Lmod problem. I have built two toolchains:

  [loris@admin ~]$ ll ~/shared/modules/toolchain/foss/
  total 0
  lrwxrwxrwx 1 loris loris 53 Nov 15 11:44 2018a.lua -> 
/home/loris/shared/modules/all/foss/2018a.lua
  lrwxrwxrwx 1 loris loris 53 Nov 19 12:40 2018b.lua -> 
/home/loris/shared/modules/all/foss/2018b.lua

  but Lmod only shows one:

  [loris@admin ~]$ module av foss/

  --------------------- /home/loris/shared/modules/all ---------------------
  foss/2018a

  Use "module spider" to find all possible modules.
  Use "module keyword key1 key2 ..." to search for all possible modules matching
  any of the "keys".

  The foss-2018b has been installed as dependency for
  R-3.5.1-foss-2018b.eb, but the installation of R itself is failing due
  to a checksum problem. Is there some EasyBuild mechanism which prevents
  the dependencies from being displayed if the installation of the
  top-level packages has not been completed?

  Cheers,

  Loris

  --
  Dr. Loris Bennett (Mr.)
  ZEDAT, Freie Universität Berlin Email [email protected]

Reply via email to