Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
517d1f07
Commit
517d1f07
authored
3 years ago
by
Lars Jitschin
Browse files
Options
Downloads
Patches
Plain Diff
Fixed heading in private_modules.md
This should satisfy the linter now
parent
8d64e39d
No related branches found
No related tags found
3 merge requests
!412
Manual attempt to merge preview into main
,
!402
Solved issue-194. Added missing information regarding usage of SSH config for...
,
!347
Review environment section
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/software/private_modules.md
+7
-7
7 additions, 7 deletions
doc.zih.tu-dresden.de/docs/software/private_modules.md
with
7 additions
and
7 deletions
doc.zih.tu-dresden.de/docs/software/private_modules.md
+
7
−
7
View file @
517d1f07
#
# Project and User Private Modules
# Project and User Private Modules
Private module files allow you to load your own installed software packages into your environment
Private module files allow you to load your own installed software packages into your environment
and to handle different versions without getting into conflicts. Private modules can be setup for a
and to handle different versions without getting into conflicts. Private modules can be setup for a
...
@@ -14,7 +14,7 @@ within your home or project directory to setup your own module files.
...
@@ -14,7 +14,7 @@ within your home or project directory to setup your own module files.
Please see the
[
Environment Modules open source project's web page
](
http://modules.sourceforge.net/
)
Please see the
[
Environment Modules open source project's web page
](
http://modules.sourceforge.net/
)
for further information on writing module files.
for further information on writing module files.
##
#
1. Create Directories
## 1. Create Directories
```
console
```
console
marie@compute$
cd
$HOME
marie@compute$
cd
$HOME
...
@@ -24,7 +24,7 @@ marie@compute$ cd privatemodules/testsoftware
...
@@ -24,7 +24,7 @@ marie@compute$ cd privatemodules/testsoftware
(create a directory in your home directory)
(create a directory in your home directory)
##
#
2. Notify lmod
## 2. Notify lmod
```
console
```
console
marie@compute$
module use
$HOME
/privatemodules
marie@compute$
module use
$HOME
/privatemodules
...
@@ -32,7 +32,7 @@ marie@compute$ module use $HOME/privatemodules
...
@@ -32,7 +32,7 @@ marie@compute$ module use $HOME/privatemodules
(add the directory in the list of module directories)
(add the directory in the list of module directories)
##
#
3. Create Modulefile
## 3. Create Modulefile
Create a file with the name
`1.0`
with a
Create a file with the name
`1.0`
with a
test software in the
`testsoftware`
directory you created earlier
test software in the
`testsoftware`
directory you created earlier
...
@@ -59,7 +59,7 @@ if [ module-info mode load ] {
...
@@ -59,7 +59,7 @@ if [ module-info mode load ] {
}
}
```
```
##
#
4. Check lmod
## 4. Check lmod
Check the availability of the module with
`ml av`
, the output should look like this:
Check the availability of the module with
`ml av`
, the output should look like this:
...
@@ -68,7 +68,7 @@ Check the availability of the module with `ml av`, the output should look like t
...
@@ -68,7 +68,7 @@ Check the availability of the module with `ml av`, the output should look like t
testsoftware/1.0
testsoftware/1.0
```
```
##
#
5. Load Module
## 5. Load Module
Load the test module with
`module load testsoftware`
, the output should look like this:
Load the test module with
`module load testsoftware`
, the output should look like this:
...
@@ -77,7 +77,7 @@ Load testsoftware version 1.0
...
@@ -77,7 +77,7 @@ Load testsoftware version 1.0
Module testsoftware/1.0 loaded.
Module testsoftware/1.0 loaded.
```
```
##
#
Project Private Modules
## Project Private Modules
Private module files allow you to load project- or group-wide installed software into your
Private module files allow you to load project- or group-wide installed software into your
environment and to handle different versions without getting into conflicts.
environment and to handle different versions without getting into conflicts.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment