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
a0ddb219
Commit
a0ddb219
authored
1 year ago
by
Natalie Breidenbach
Browse files
Options
Downloads
Patches
Plain Diff
Update custom_easy_build_environment.md
parent
368e7ff1
No related branches found
No related tags found
2 merge requests
!938
Automated merge from preview to main
,
!936
Update to Five-Cluster-Operation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/software/custom_easy_build_environment.md
+5
-5
5 additions, 5 deletions
...dresden.de/docs/software/custom_easy_build_environment.md
with
5 additions
and
5 deletions
doc.zih.tu-dresden.de/docs/software/custom_easy_build_environment.md
+
5
−
5
View file @
a0ddb219
...
...
@@ -52,9 +52,9 @@ install your modules. You need a place where your modules are placed. This needs
once:
```
console
marie@login$
ws_allocate
-F
scratch
EasyBuild 50
marie@login$
ws_allocate EasyBuild 50
marie@login$
ws_list |
grep
'directory.*EasyBuild'
workspace directory : /
scratch
/ws/1/marie-EasyBuild
workspace directory : /
horse
/ws/1/marie-EasyBuild
```
**Step 2:**
Allocate nodes. You can do this with interactive jobs (see the example below) and/or
...
...
@@ -66,7 +66,7 @@ building, if you want to use the module on nodes of that partition. In this exam
that we want to use the module on nodes with x86 architecture and thus, we use Haswell nodes.
```
console
marie@login$
srun
--partition
=
haswell
--nodes
=
1
--cpus-per-task
=
4
--time
=
08:00:00
--pty
/bin/bash
-l
marie@login$
srun
--nodes
=
1
--cpus-per-task
=
4
--time
=
08:00:00
--pty
/bin/bash
-l
```
!!! warning
...
...
@@ -77,7 +77,7 @@ marie@login$ srun --partition=haswell --nodes=1 --cpus-per-task=4 --time=08:00:0
environment variable called
`WORKSPACE`
with the path to your workspace:
```
console
marie@compute$
export
WORKSPACE
=
/
scratch
/ws/1/marie-EasyBuild
#see output of ws_list above
marie@compute$
export
WORKSPACE
=
/
horse
/ws/1/marie-EasyBuild
#see output of ws_list above
```
**Step 4:**
Load the correct module environment
`modenv`
according to your current or target
...
...
@@ -188,7 +188,7 @@ marie@compute$ export LMOD_IGNORE_CACHE=1
**OR**
directly the path from step 1:
```
console
marie@compute$
module use
"/
scratch
/ws/1/marie-EasyBuild/easybuild/modules/all"
marie@compute$
module use
"/
horse
/ws/1/marie-EasyBuild/easybuild/modules/all"
marie@compute$
export
LMOD_IGNORE_CACHE
=
1
```
...
...
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