Giter Club home page Giter Club logo

lmod-config's Introduction

Lmod config for VUB-HPC

This repo contains the files for tweaking Lmod for VUB-HPC.

  • Some extra strings for the language file used in our SitePackage.lua
  • Our SitePackage.lua, see below what it all does
  • Script to generate the Lmod cache on our systems
  • admin.list file to give nag message on some modules

All of these get installed in /etc/lmod where recent versions of Lmod will pick them up.

SitePackage

The SitePackage.lua contains a couple of hooks:

  • logmsg: A general function for logging
  • module_age: calculates the 'age' of a module using the toolchain version
  • load_hook: logging of loaded modules (and loaded by user or as dependency). It will also give warnings for 'old' modules.
  • startup_hook: logs how Lmod was called and the used arguments
  • msg_hook: adds a custom message to avail/list/spider
  • errwarnmsg_hook: add as general disclaimer to all warnings and errors. It also tweaks the message on specific errors.
  • visible_hook: hides some modules by name pattern or age
  • get_avail_memory: returns the (cgroup) memory limit inside the current environment. This is added to the module sandbox to set memory limits depending on the allocated resources.

lmod-config's People

Contributors

wpoely86 avatar smoors avatar lexming avatar

Stargazers

Adam Huffman avatar

Watchers

 avatar  avatar

Forkers

smoors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.