module使用指南
从登录节点的轻量工具到 Slurm 计算环境,查看完整模块清单并练习查找、加载、切换和保存版本。
技术支持
登录集群、提交作业或使用软件时遇到问题,可用微信扫描任一二维码,联系技术支持。
阅读本篇目录
在登录节点,先用 module 加载工具环境。 VASPKIT 的结构转换、Phonopy 的输入准备等短时操作可以直接在登录节点运行。VASP 的结构优化、自洽计算等长时间或多核任务,要在 Slurm 脚本中加载对应版本,用 sbatch 提交到计算节点。Phonopy 等工具遇到耗时的大体系任务,同样应提交作业。
1. 列出可用的软件和版本#
登录集群或打开门户 Web Shell,在终端输入:
module av
av 是 avail 的简写。下面是 2026 年 11 月 30 日普通用户在登录节点、新终端中看到的完整输出。清单按工具链、应用和大型软件分组,每行会随页面宽度排列多个版本。每个条目都是可加载的模块名;斜线后是版本或构建。(D) 表示只写软件名时会选中的默认版本。模块更新和终端宽度会影响名单和分栏。
Development tools
apptainer/1.5.5
cc-switch/v5.10.4
cc-switch/v5.11.0 (D)
codex/v0.156.1
codex/v0.159.1
codex/v0.162.0
codex/v0.162.1
codex/v0.163.0
codex/v0.169.1
codex/v0.172.0 (D)
cuda/12.8
cuda/12.9 (D)
hpcx/25.0
miniconda3/current
nvhpc/25.3/nvhpc-nompi
nvhpc/25.3/nvhpc (D)
nvhpc/26.9
oneapi/2023.2
oneapi/2024.2 (D)
openmpi/4.1.8-cuda12.8
openmpi/4.1.8-orca
openmpi/5.0.10-cpu
openmpi/5.0.10-cuda12.8 (D)
proxy/mihomo
singularity/1.5.5
Applications
abacus/3.10.1-v100
abacus/3.10.1-p100
abacus/3.10.1-8173m (D)
alamode/1.5.0
amset/0.5.1
ase/3.29.0
atat/3.52-8173m
atomkit/0.9.0
atomsk/0.13.1
bader/1.05
boltztrap2/26.3.1
calorine/4.0
crest/3.0.2
critic2/1.4
dpgen/0.13.3
dpgen/0.14.0 (D)
fourphonon/1.3-fix20260924-v100
fourphonon/1.3-fix20260924-p100
fourphonon/1.3-fix20260924-8173m (D)
fourthorder/0.1-fix20260618
gibbs2/1.0.68
gpaw/26.7.0-8173m
gpumd/5.8.1-v100
gpumd/5.8.1-p100
gpumd/5.9.1-v100
gpumd/5.9.1-p100 (D)
gpumdkit/1.5.8
hefei-namd/dev-2023.03.29
hefei-namd/2024.05.21 (D)
herdr/v0.9.1
herdr/v0.9.3 (D)
hiphive/1.5
lobster/4.1.0
lobster/5.1.1 (D)
lobster/6.0.0
mace/0.3.16
materials-studio/2024
molclus/1.15
moltemplate/2.22.5
multiwfn_nogui/2026.10.1
multiwfn_nogui/2026.10.18 (D)
orca/6.1.1
ovito/3.16.1
packmol/21.2.3
pfd-kit/0.10.13
phono3py/4.8.2
phonopy-spectroscopy/2024.03.08-g316fbf4
phonopy/2.43.6
phonopy/4.7.2 (D)
phonopy/4.8.3
py4vasp/0.11.3
pymatgen/2026.9.24
qe/7.6-v100
qe/7.6-p100
qe/7.6-8173m (D)
qvasp/2.26 (D)
qvasp/3.01
rest/2026.1.1.6
shengbte/1.5.1-8173m
shengbte/2.1.0-8173m (D)
siesta/5.4.2-8173m-mpi-omp
siesta/5.4.2-8173m-mpi (D)
sisl/0.16.4
spparks/08Oct25-appfix-8173m
spparks/08Oct25-8173m (D)
tdep/25.03-cgal-8173m
tdep/25.03-8173m (D)
thirdorder/1.1.4
uspex/10.6
vaspberry/1.6.3 (D)
vaspberry/1.6.3-8173m
vaspkit/1.3.5 (D)
vaspkit/1.5.1
vasptool/1.5.2
vtstscripts/1040
wannier90/2.1.0-8173m
wannier90/3.1.0-8173m (D)
wannier90/4.0.3-mpi
wannier90/4.0.3-serial
wanniertools/2.7.0-8173m
xtb/6.7.1
VASP
vasp/5.4.4-8173m-beef
vasp/5.4.4-8173m-optcell
vasp/5.4.4-8173m-sol
vasp/5.4.4-8173m-vtst-sol++
vasp/5.4.4-8173m-vtst
vasp/5.4.4-8173m-wannier90
vasp/5.4.4-8173m
vasp/6.3.2-v100-hdf5
vasp/6.3.2-v100-optcell
vasp/6.3.2-v100-sol
vasp/6.3.2-v100-vtst
vasp/6.3.2-v100-wannier90
vasp/6.3.2-v100
vasp/6.3.2-p100-hdf5
vasp/6.3.2-p100-optcell
vasp/6.3.2-p100-sol
vasp/6.3.2-p100-vtst
vasp/6.3.2-p100-wannier90
vasp/6.3.2-p100
vasp/6.3.2-8173m-cpvasp
vasp/6.3.2-8173m-hdf5
vasp/6.3.2-8173m-libxc
vasp/6.3.2-8173m-optcell
vasp/6.3.2-8173m-sol
vasp/6.3.2-8173m-vtst-sol++
vasp/6.3.2-8173m-vtst
vasp/6.3.2-8173m-wannier90
vasp/6.3.2-8173m
vasp/6.4.2-v100-hdf5
vasp/6.4.2-v100-optcell
vasp/6.4.2-v100-sol
vasp/6.4.2-v100-vtst
vasp/6.4.2-v100-wannier90
vasp/6.4.2-v100
vasp/6.4.2-p100-hdf5
vasp/6.4.2-p100-optcell
vasp/6.4.2-p100-sol
vasp/6.4.2-p100-vtst
vasp/6.4.2-p100-wannier90
vasp/6.4.2-p100
vasp/6.4.2-8173m-cpvasp
vasp/6.4.2-8173m-hdf5
vasp/6.4.2-8173m-libxc
vasp/6.4.2-8173m-optcell
vasp/6.4.2-8173m-sol
vasp/6.4.2-8173m-vtst
vasp/6.4.2-8173m-wannier90
vasp/6.4.2-8173m
vasp/6.4.3-v100-hdf5
vasp/6.4.3-v100-optcell
vasp/6.4.3-v100-sol
vasp/6.4.3-v100-vtst
vasp/6.4.3-v100-wannier90
vasp/6.4.3-v100
vasp/6.4.3-p100-hdf5
vasp/6.4.3-p100-optcell
vasp/6.4.3-p100-sol
vasp/6.4.3-p100-vtst
vasp/6.4.3-p100-wannier90
vasp/6.4.3-p100
vasp/6.4.3-8173m-hdf5
vasp/6.4.3-8173m-libxc
vasp/6.4.3-8173m-optcell
vasp/6.4.3-8173m-sol
vasp/6.4.3-8173m-vtst
vasp/6.4.3-8173m-wannier90
vasp/6.4.3-8173m
vasp/6.5.1-v100-hdf5
vasp/6.5.1-v100-optcell
vasp/6.5.1-v100-sol
vasp/6.5.1-v100-vtst
vasp/6.5.1-v100-wannier90
vasp/6.5.1-v100
vasp/6.5.1-p100-hdf5
vasp/6.5.1-p100-optcell
vasp/6.5.1-p100-sol
vasp/6.5.1-p100-vtst
vasp/6.5.1-p100-wannier90
vasp/6.5.1-p100
vasp/6.5.1-8173m-hdf5
vasp/6.5.1-8173m-libxc
vasp/6.5.1-8173m-optcell
vasp/6.5.1-8173m-sol
vasp/6.5.1-8173m-vtst
vasp/6.5.1-8173m-wannier90
vasp/6.5.1-8173m
vasp/6.6.1-v100-hdf5
vasp/6.6.1-v100-optcell
vasp/6.6.1-v100-sol
vasp/6.6.1-v100-vtst
vasp/6.6.1-v100-wannier90
vasp/6.6.1-v100
vasp/6.6.1-p100-hdf5
vasp/6.6.1-p100-optcell
vasp/6.6.1-p100-sol
vasp/6.6.1-p100-vtst
vasp/6.6.1-p100-wannier90
vasp/6.6.1-p100
vasp/6.6.1-8173m-hdf5
vasp/6.6.1-8173m-libxc
vasp/6.6.1-8173m-optcell
vasp/6.6.1-8173m-sol
vasp/6.6.1-8173m-vtst-mlfix
vasp/6.6.1-8173m-vtst
vasp/6.6.1-8173m-wannier90
vasp/6.6.1-8173m (D)
LAMMPS
lammps/2Aug2023_update4-deepmd-2.2.11-source-v100-gpu
lammps/2Aug2023_update4-deepmd-2.2.11-source-v100-kokkos
lammps/2Aug2023_update4-deepmd-2.2.11-source-p100-gpu
lammps/2Aug2023_update4-deepmd-2.2.11-source-p100-kokkos
lammps/22Jul2025_update6-deepmd-3.1.3-source-v100-gpu
lammps/22Jul2025_update6-deepmd-3.1.3-source-v100-kokkos
lammps/22Jul2025_update6-deepmd-3.1.3-source-p100-gpu
lammps/22Jul2025_update6-deepmd-3.1.3-source-p100-kokkos
lammps/22Jul2025_update6-deepmd-3.2.0-plumed-2.9.4-v100-gpu
lammps/22Jul2025_update6-deepmd-3.2.0-plumed-2.9.4-v100-kokkos
lammps/22Jul2025_update6-deepmd-3.2.0-plumed-2.9.4-p100-gpu
lammps/22Jul2025_update6-deepmd-3.2.0-plumed-2.9.4-p100-kokkos
lammps/22Jul2025_update6-deepmd-3.2.0-source-v100-gpu
lammps/22Jul2025_update6-deepmd-3.2.0-source-v100-kokkos
lammps/22Jul2025_update6-deepmd-3.2.0-source-p100-gpu
lammps/22Jul2025_update6-deepmd-3.2.0-source-p100-kokkos
lammps/22Jul2025_update6-v100-gpu
lammps/22Jul2025_update6-v100-kokkos
lammps/22Jul2025_update6-p100-gpu
lammps/22Jul2025_update6-p100-kokkos
lammps/22Jul2025_update6-8173m (D)
lammps/27May2021-conp2-8173m
lammps/29Aug2024_update4-deepmd-3.0.0rc0-source-v100-gpu
lammps/29Aug2024_update4-deepmd-3.0.0rc0-source-v100-kokkos
lammps/29Aug2024_update4-deepmd-3.0.0rc0-source-p100-gpu
lammps/29Aug2024_update4-deepmd-3.0.0rc0-source-p100-kokkos
lammps/29Aug2024_update4-deepmd-3.0.1-source-v100-gpu
lammps/29Aug2024_update4-deepmd-3.0.1-source-v100-kokkos
lammps/29Aug2024_update4-deepmd-3.0.1-source-p100-gpu
lammps/29Aug2024_update4-deepmd-3.0.1-source-p100-kokkos
lammps/29Aug2024_update4-v100-gpu
lammps/29Aug2024_update4-v100-kokkos
lammps/29Aug2024_update4-p100-gpu
lammps/29Aug2024_update4-p100-kokkos
lammps/29Aug2024_update4-8173m
lammps/30Sep2026-v100-gpu
lammps/30Sep2026-v100-kokkos
lammps/30Sep2026-p100-gpu
lammps/30Sep2026-p100-kokkos
lammps/30Sep2026-8173m
DeePMD-kit
deepmd-kit/2.2.11
deepmd-kit/3.0.0rc0
deepmd-kit/3.0.1
deepmd-kit/3.1.3
deepmd-kit/3.2.0-offline
deepmd-kit/3.2.0 (D)
GROMACS
gromacs/2025.5-v100-mpi-plumed
gromacs/2025.5-v100-threadmpi
gromacs/2025.5-p100-mpi-plumed
gromacs/2025.5-p100-threadmpi
gromacs/2025.5-8173m-mpi-plumed
gromacs/2025.5-8173m-threadmpi
gromacs/2026.3-v100-mpi-plumed
gromacs/2026.3-v100-threadmpi
gromacs/2026.3-p100-mpi-plumed
gromacs/2026.3-p100-threadmpi
gromacs/2026.3-8173m-mpi-plumed
gromacs/2026.3-8173m-threadmpi (D)
gromacs/2026.4-cpu-double
gromacs/2026.4-v100-mpi-plumed
gromacs/2026.4-v100-threadmpi
gromacs/2026.4-p100-mpi-plumed
gromacs/2026.4-p100-threadmpi
gromacs/2026.4-8173m-mpi-plumed
gromacs/2026.4-8173m-threadmpi
CP2K
cp2k/2025.2-v100
cp2k/2025.2-p100
cp2k/2025.2-8173m
cp2k/2026.2-v100
cp2k/2026.2-p100
cp2k/2026.2-8173m (D)
PLUMED
plumed/2.9.4-gcc-openmpi5.0.10
plumed/2.9.4-oneapi2024.2 (D)
plumed/2.9.5-deepmd-2.2.11
plumed/2.9.5-deepmd-3.0.0rc0
plumed/2.9.5-deepmd-3.0.1
plumed/2.9.5-deepmd-3.1.3
plumed/2.9.5-deepmd-3.2.0
Where:
D: Default Module
If the avail list is too long consider trying:
"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.
Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching
any of the "keys".
以 VASPKIT 为例,找出 vaspkit/1.3.5 (D) 和 vaspkit/1.5.1。单独输入 module load vaspkit 会选默认版。若按 1.5.1 的教程操作,请写全版本。
2. 按名字搜索,查看某个版本做了什么#
| 想查什么 | 命令 | 看哪里 |
|---|---|---|
| 当前可用的 VASPKIT | module av vaspkit |
只看名字匹配的模块及默认版本 |
| 每个软件有哪些版本可被发现 | module spider vaspkit |
版本列表;加上完整版本名可查加载条件 |
| 模块的一句话介绍 | module whatis vaspkit/1.5.1 |
名称、版本、用途 |
| 软件维护者写的用法 | module help vaspkit/1.5.1 |
启动方法、配置说明 |
| 加载时具体修改哪些变量 | module show vaspkit/1.5.1 |
PATH、软件根目录、依赖或冲突规则 |
| 统计一个软件有多少版本 | module overview phonopy |
软件名与版本数 |
| 只列默认模块或逐行列出版本 | module --default avail、module -t avail phonopy |
前者用于浏览,后者适合脚本 |
| 按描述或正则搜索 | module keyword phonon、module -r spider '^vasp' |
关键词也能匹配描述,正则可限定名字开头 |
分别运行下面的命令,可以看到同一软件从“找版本”到“看环境”的区别。
module av vaspkit
--------------------------------- Applications ---------------------------------
vaspkit/1.3.5 (D) vaspkit/1.5.1
Where:
D: Default Module
If the avail list is too long consider trying:
"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.
Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching
any of the "keys".
module spider vaspkit
----------------------------------------------------------------------------
vaspkit:
----------------------------------------------------------------------------
Description:
VASP pre-processing and post-processing tools
Versions:
vaspkit/1.3.5
vaspkit/1.5.1
----------------------------------------------------------------------------
For detailed information about a specific "vaspkit" package (including how to load the modules) use the module's full name.
Note that names that have a trailing (E) are extensions provided by other modules.
For example:
$ module spider vaspkit/1.5.1
----------------------------------------------------------------------------
module whatis vaspkit/1.5.1
vaspkit/1.5.1 : Name: VASPKIT
vaspkit/1.5.1 : Version: 1.5.1
vaspkit/1.5.1 : Description: VASP pre-processing and post-processing tools
module help vaspkit/1.5.1
------------------- Module Specific Help for "vaspkit/1.5.1" -------------------
VASPKIT 1.5.1
Usage:
module load vaspkit/1.5.1
vaspkit
The first launch initializes ~/.vaspkit.
Existing user configuration is preserved.
Default potential library: version64/PBE.
module show vaspkit/1.5.1
----------------------------------------------------------------------------
/public/modulefiles/.site/views/apps/vaspkit/1.5.1.lua:
----------------------------------------------------------------------------
help([[VASPKIT 1.5.1
Usage:
module load vaspkit/1.5.1
vaspkit
The first launch initializes ~/.vaspkit.
Existing user configuration is preserved.
Default potential library: version64/PBE.
]])
whatis("Name: VASPKIT")
whatis("Version: 1.5.1")
whatis("Description: VASP pre-processing and post-processing tools")
family("vaspkit")
prepend_path("PATH","/public/software/vaspkit/vaspkit.1.5.1/wrappers")
pushenv("VASPKIT_ROOT","/public/software/vaspkit/vaspkit.1.5.1")
输出中的 prepend_path("PATH", ...) 让终端优先找到这个版本的程序。pushenv("VASPKIT_ROOT", ...) 设置该版本的安装根目录。family("vaspkit") 表示这个软件的多个版本属于同一组。
3. 加载、验证、切换和卸载#
下面各步在同一个终端依次执行。先看已加载的模块。干净终端显示:
module list
No modules loaded
加载指定版本,再确认命令来自哪个目录。成功加载有时没有任何提示,这是正常现象。
module load vaspkit/1.5.1
module list
command -v vaspkit
Currently Loaded Modules:
1) vaspkit/1.5.1
/public/software/vaspkit/vaspkit.1.5.1/wrappers/vaspkit
在自己的结构文件目录执行 vaspkit 进入菜单,按屏幕提示选择短时处理功能。完成后退出工具,切换到另一版本:
module swap vaspkit/1.5.1 vaspkit/1.3.5
module list
The following have been reloaded with a version change:
1) vaspkit/1.5.1 => vaspkit/1.3.5
Currently Loaded Modules:
1) vaspkit/1.3.5
module unload vaspkit/1.3.5
module list
module load phonopy/4.7.2
command -v phonopy
phonopy --help
module unload phonopy/4.7.2
module list 查当前终端已经加载的模块,module av 查可以加载的模块。卸载后再执行 command -v 可确认是否仍有个人配置提供同名程序。ml 是简写,例如 ml 列当前模块,ml vaspkit/1.5.1 加载,ml -vaspkit 卸载。
4. 在 Slurm 脚本里选择计算环境#
先进入已有完整输入的 VASP 算例目录,运行 yskit,依次选 VASP、版本、复制 Slurm 脚本、本人账户类型、构建和平台。CPU 普通版、GPU 版及 Libxc 扩展有各自模板。以 8173M 的普通 CPU 模板为例,检查脚本是否申请 CPU 分区、是否包含 module load vasp/6.6.1-8173m。需要 Libxc 时选 Libxc 构建,对应模块为 vasp/6.6.1-8173m-libxc。GPU 作业选与卡型号匹配的模板。Libxc 使用指南
ls INCAR POSCAR POTCAR KPOINTS
yskit
ls -1 *.sh
read -r -p '输入刚复制的脚本文件名:' jobscript
grep -E '^#SBATCH|module load' "$jobscript"
bash -n "$jobscript" && sbatch "$jobscript"
squeue -u "$USER"
加载模块本身只设置环境。上面的 sbatch 才会把脚本交给 Slurm。脚本里的 MPI 进程数、每进程线程数、申请的 GPU 数和输入文件也要与本次计算匹配。yskit 操作指南
5. 清理环境、保存组合、使用自己的模块#
以下练习适合在新开的终端完成。module purge 清理这个终端已加载的模块,module reset 恢复系统默认组合。编译器、MPI 或 CUDA 报冲突时,先 module list,再卸载冲突项或在干净终端加载目标环境。公共作业模板已经选好配套版本。
module purge
module load vaspkit/1.5.1
module save vaspkit-tools
module savelist
module describe vaspkit-tools
module purge
module restore vaspkit-tools
module list
save 保存模块组合名称,restore 让下次登录可以重新加载,disable vaspkit-tools 停用这份个人组合。module save 不写名称会保存个人默认组合。恢复前可以先用 describe 看清单。若只想让 VASPKIT 在每次登录即可使用,yskit 提供个人默认设置。
已有自己的 modulefile 时,按下面方式在当前终端加入或撤销搜索目录。目录内需有实际 modulefile 才会增加可用软件。
mkdir -p "$HOME/modulefiles"
module use "$HOME/modulefiles"
printf '%s\n' "$MODULEPATH" | tr ':' '\n'
module unuse "$HOME/modulefiles"
use 默认把目录放在前面,module use -a 放在末尾。PATH 决定查找可执行程序的顺序,LD_LIBRARY_PATH 影响动态库查找。优先加载匹配的模块;新终端和提交脚本各自需要正确的环境。作业中的 OMP_NUM_THREADS 应匹配 --cpus-per-task,GPU 可见范围由 Slurm 分配。
6. 在脚本中判断模块、记录环境和排错#
if module is-avail vaspkit/1.5.1; then
module load vaspkit/1.5.1
fi
if module is-loaded vaspkit/1.5.1; then
command -v vaspkit
fi
module -t list 2> loaded-modules.txt
cat loaded-modules.txt
这两个判断通过命令退出状态给出答案。Lmod 通常把列表和提示写到标准错误,所以保存列表用 2>,管道筛选时可以用 module av 2>&1 | grep -i vaspkit。找不到模块先查拼写和版本,再用 spider 查依赖;若终端连 module 命令都找不到,重新登录集群或在当前 Bash 中执行 source /etc/profile。
7. 本集群 module 完整命令参考#
下面直接列出本机 module --help 的完整输出。常用缩写、搜索选项和模块集合命令均以这里的版本为准。try-load 尝试加载可选模块,refresh 刷新别名,update 重新加载已用模块,tablelist 以 Lua 表列出已加载项。--raw show 查看原始 modulefile,--ignore_cache 可在排查缓存时使用。
module --help
Usage: module [options] sub-command [args ...]
Options:
-h -? -H --help This help message
-s availStyle --style=availStyle Site controlled avail style: grouped
system (default: grouped)
--regression_testing Lmod regression testing
-D Program tracing written to stderr
--debug=dbglvl Program tracing written to stderr (where
dbglvl is a number 1,2,3)
--pin_versions=pinVersions When doing a restore use specified
version, do not follow defaults
-d --default List default modules only when used with
avail
-q --quiet Do not print out warnings
--expert Expert mode
-t --terse Write out in machine readable format for
commands: list, avail, spider, savelist
--initial_load loading Lmod for first time in a user
shell
--latest Load latest (ignore default)
--ignore_cache Treat the cache file(s) as out-of-date
--novice Turn off expert and quiet flag
--raw Print modulefile in raw output when used
with show
-w twidth --width=twidth Use this as max term width
-v --version Print version info and quit
-r --regexp use regular expression match
--gitversion Dump git version in a machine readable
way and quit
--dumpversion Dump version in a machine readable way
and quit
--check_syntax --checkSyntax Checking module command syntax: do not
load
--config Report Lmod Configuration
--config_json Report Lmod Configuration in json format
--mt Report Module Table State
--timer report run times
--force force removal of a sticky module or save
an empty collection
--redirect Send the output of list, avail, spider
to stdout (not stderr)
--no_redirect Force output of list, avail and spider
to stderr
--show_hidden Avail and spider will report hidden
modules
--spider_timeout=timeout a timeout for spider
-T --trace
--nx --no_extensions
--loc --location Just print the file location when using
show
module [options] sub-command [args ...]
Help sub-commands:
------------------
help prints this message
help module [...] print help message from module(s)
Loading/Unloading sub-commands:
-------------------------------
load | add module [...] load module(s)
try-load | try-add module [...] Add module(s), do not complain if not
found
del | unload module [...] Remove module(s), do not complain if not
found
swap | sw | switch m1 m2 unload m1 and load m2
purge unload all modules
refresh reload aliases from current list of
modules.
update reload all currently loaded modules.
Listing / Searching sub-commands:
---------------------------------
list List loaded modules
list s1 s2 ... List loaded modules that match the
pattern
avail | av List available modules
avail | av string List available modules that contain
"string".
overview | ov List all available modules by short
names with number of versions
overview | ov string List available modules by short names
with number of versions that contain
"string"
spider List all possible modules
spider module List all possible version of that module
file
spider string List all module that contain the
"string".
spider name/version Detailed information about that version
of the module.
whatis module Print whatis information about module
keyword | key string Search all name and whatis that contain
"string".
Searching with Lmod:
--------------------
All searching (spider, list, avail, keyword) support regular expressions:
-r spider '^p' Finds all the modules that start with
`p' or `P'
-r spider mpi Finds all modules that have "mpi" in
their name.
-r spider 'mpi$ Finds all modules that end with "mpi" in
their name.
Handling a collection of modules:
--------------------------------
save | s Save the current list of modules to a
user defined "default" collection.
save | s name Save the current list of modules to
"name" collection.
reset The same as "restore system"
restore | r Restore modules from the user's
"default" or system default.
restore | r name Restore modules from "name" collection.
restore system Restore module state to system defaults.
savelist List of saved collections.
describe | mcc name Describe the contents of a module
collection.
disable name Disable (i.e. remove) a collection.
Deprecated commands:
--------------------
getdefault [name] load name collection of modules or
user's "default" if no name given.
===> Use "restore" instead <====
setdefault [name] Save current list of modules to name if
given, otherwise save as the default
list for you the user.
===> Use "save" instead. <====
Miscellaneous sub-commands:
---------------------------
is-loaded modulefile return a true status if module is loaded
is-avail modulefile return a true status if module can be
loaded
show modulefile show the commands in the module file.
use [-a] path Prepend or Append path to MODULEPATH.
unuse path remove path from MODULEPATH.
tablelist output list of active modules as a lua
table.
Important Environment Variables:
--------------------------------
LMOD_COLORIZE If defined to be "YES" then Lmod prints
properties and warning in color.
--------------------------------------------------------------------------
Lmod Web Sites
Documentation: http://lmod.readthedocs.org
GitHub: https://github.com/TACC/Lmod
SourceForge: https://lmod.sf.net
TACC Homepage: https://www.tacc.utexas.edu/research-development/tacc-projects/lmod
To report a bug please read http://lmod.readthedocs.io/en/latest/075_bug_reporting.html
--------------------------------------------------------------------------
Modules based on Lua: Version 8.6.19 2022-04-16 13:46 -05:00
by Robert McLay mclay@tacc.utexas.edu
查询账户、复制公共脚本、配置个人软件和生成工作流,请继续阅读yskit 工具指南。

