-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# `env-modules` | ||
|
||
`module` 系统是大多数超级计算机上都有的概念,可简化不同软件(版本)的使用,使其精确可控。 | ||
|
||
|
||
在大多数情况下,超级计算机安装的软件,都要比普通用户使用的软件多得多。每个软件包都需要对 `$PATH`、`$LD_LIBRARY_PATH`,以及其他 [环境变量](glossories.md) 进行不同的设置,这些设置可能会相互影响,甚至相互排斥。其次,不同的用户(群组)需要不同版本的相同软件,而这些软件一般不能在同一系统中并行安装或使用。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,26 @@ | ||
# 词汇表 | ||
|
||
|
||
- EGO, Enterprise Grid Orchestrator, 企业网格编排器, [Manage LSF on EGO](https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=configuration-manage-lsf-ego) | ||
## EGO, Enterprise Grid Orchestrator | ||
|
||
企业网格编排器, [Manage LSF on EGO](https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=configuration-manage-lsf-ego) | ||
|
||
## 环境变量,Environment Variables | ||
|
||
环境变量是计算机上,存储了某个值的动态对象。在基于 Unix 的操作系统(`bash`)上,咱们可以: | ||
|
||
- 以 `export <variable-name>=<value>`,设置某个变量的值; | ||
|
||
- 以 `echo $<variable-name>`,读取某个变量的值。 | ||
|
||
软件(或用户)可以引用环境变量,来获取或设置有关系统或环境的信息。请参阅下面的几个环境变量示例,了解他们的用法及作用。 | ||
|
||
**Unix 系统上常见的一些环境变量** | ||
|
||
| 环境变量 | 内容 | | ||
| :-- | :-- | | ||
| `$USER` | 咱们的当前用户名 | | ||
| `$PWD` | 咱们当前所在的目录 | | ||
| `$HOSTNAME` | 咱们所在计算机的主机名,`hostname` | | ||
| `$HOME` | 咱们的主目录 | | ||
| `$PATH` | 执行命令时搜索的目录清单 | |