Dear Jakob,

On 20/11/2018 13:57, Jakob Schiøtz wrote:
Hi,

I very often have problems with the lmod cache, as if it suddenly stop updating 
and new modules are no longer listed.  In the end, I have been setting  
LMOD_IGNORE_CACHE=1 in the .bashrc

This is a bit off-topic for the EasyBuild mailing list, but: how do you have this set up exactly? Do you have a cron job responsible for updating the Lmod cache?

That has been working great for us, I honestly can't remember the last time we have problems with our setup.

Maybe our run_lmod_cache.py script can be helpful to you?
It's available from https://github.com/hpcugent/Lmod-UGent .


It gives a one second delay or so when running modules avail, but rather that 
than getting incorrect results.

1 second is definitely acceptable, but almost instant answers from 'module avail' is easy to get used to as well. ;-)


regards,

Kenneth


Jakob

On 19 Nov 2018, at 16:04, Alan O'Cais <[email protected]> wrote:

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]


--
Dr. Alan O'Cais
E-CAM Software Manager
Juelich Supercomputing Centre
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone: +49 2461 61 5213
Fax: +49 2461 61 6656
E-mail: [email protected]
WWW:    http://www.fz-juelich.de/ias/jsc/EN


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


--
Jakob Schiøtz, professor, Ph.D.
Department of Physics
Technical University of Denmark
DK-2800 Kongens Lyngby, Denmark
http://www.fysik.dtu.dk/~schiotz/



Reply via email to