Module Command

基本使用

命令 作用
module avail 或 module av 查看系统中可用的软件
module add 或 module load 加载模块
module rm 或 unload 卸载模块
module list 或 module li 显示已加载模块
module purge 卸载所有模块
module show 显示模块配置文件
module swap 或 module switch 将模块1 替换为 模块2
module help 查看具体软件的信息
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
source /public1/soft/modules/module.sh 
source /public1/soft/modules/init/zsh

$ cat module.sh
#!/bin/sh
source /public1/soft/modules/init/bash
export MODULEPATH=/public1/soft/modulefiles

$ module list
No Modulefiles Currently Loaded.

$ module show intel/2022.1
-------------------------------------------------------------------
/public1/soft/modulefiles/intel/2022.1:

module-whatis loads the environment of intel oneAPI 2022.1
unsetenv MKLROOT
setenv MKLROOT /public1/soft/oneAPI/2022.1/mkl/latest
prepend-path MANPATH /public1/soft/oneAPI/2022.1/inspector/latest/man
unsetenv INTEL_LICENSE_FILE
prepend-path LIBRARY_PATH /public1/soft/oneAPI/2022.1/ipp/latest/lib
prepend-path LD_LIBRARY_PATH /public1/soft/oneAPI/2022.1/ipp/latest/lib
prepend-path CPATH /public1/soft/oneAPI/2022.1/ipp/latest/include
prepend-path NLSPATH /public1/soft/oneAPI/2022.1/mkl/latest/lib/intel64/locale
prepend-path PATH /public1/soft/oneAPI/2022.1/compiler/latest/linux/bin
setenv TBBROOT /public1/soft/oneAPI/2022.1/tbb/latest
setenv DAALROOT /public1/soft/oneAPI/2022.1/dal/latest

需要进一步的研究学习

暂无

遇到的问题

暂无

开题缘由、总结、反思、吐槽~~

参考文献

Author

Shaojie Tan

Posted on

2022-07-31

Updated on

2025-01-30

Licensed under