Skip to content
Snippets Groups Projects
Commit a0ddb219 authored by Natalie Breidenbach's avatar Natalie Breidenbach
Browse files

Update custom_easy_build_environment.md

parent 368e7ff1
No related branches found
No related tags found
2 merge requests!938Automated merge from preview to main,!936Update to Five-Cluster-Operation
......@@ -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
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment