目次

Environment Modules

公式サイト

インストール

必須ライブラリ

$ wget https://sourceforge.net/projects/modules/files/Modules/modules-4.6.1/modules-4.6.1.tar.gz
$ tar xvf modules-4.6.1.tar.gz
$ cd modules-4.6.1/
$ ./configure \
--prefix=/opt/environment_modules/4.6.1 \
--with-tclsh=/opt/tcl/8.6.10/bin/tclsh8.6 \
--with-tcl=/opt/tcl/8.6.10/lib/ \
PATH=/opt/autoconf/2.69/bin/:/opt/dejagnu/1.6.2/bin:${PATH}
$ make
$ make test \
PATH=/opt/tcl/8.6.10/bin/:/opt/autoconf/2.69/bin/:/opt/dejagnu/1.6.2/bin:${PATH}
...
		=== modules Summary ===

# of expected passes		12933
$ make install

設定読み込み

各々の環境に応じて設定を読み込む.

例:bash

$ source /opt/environment_modules/4.6.1/init/bash