Thursday, December 13, 2018

Environment Modules on Ubuntu 18.04

Download : http://modules.sourceforge.net/
https://modules.readthedocs.io/en/stable/INSTALL.html

http://www.admin-magazine.com/HPC/Articles/Environment-Modules

http://manpages.ubuntu.com/manpages/bionic/man1/module.1.html


1. Install:


sudo apt-get install tcl-dev


$ ./configure --prefix=/home/thang/local/modules-4.2.1
$ make install -j8

2. Configuration

Now users can use Environment Modules by just putting the following in their .bashrc :

source /home/thang/local/modules-4.2.1/init/bash


NOTE: Ubuntu use "bash" file not "sh"

3.Test:
type command: module
4. setting modulefiles
https://modules.readthedocs.io/en/stable/modulefile.html

No comments:

Post a Comment