Skip to content

Commit

Permalink
updated loadbalance info to ensure proper use
Browse files Browse the repository at this point in the history
  • Loading branch information
monaghaa committed Apr 10, 2023
1 parent c0596b8 commit 0e56709
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions docs/software/loadbalancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ Now create a job script called `run_hello.sh` that will run all instances of you

module purge

# load any software modules you need, e.g.:
# Load the Load Balancer module *first*
module load loadbalance/0.2

# Now load any other software modules you need, e.g.:
# module load anaconda
# conda activate my_python_env

# now load the Load Balancer
module load loadbalance

# now run your workflow!
mpirun lb lb_cmd_file
$CURC_LB_BIN/mpirun lb lb_cmd_file
```

Running this script via `sbatch run_hello.sh` will run the commands we stored in
Expand All @@ -110,9 +110,11 @@ Hello World from process: 4
Hello World from process: 3
```

> _Note1: The "loadbalance" module depends on the openmpi version of "mpirun" and therefore will not work directly with the Intel impi module. If you need assistance running mpi-compiled applications with the Load Balancer, please contact rc-help@colorado.edu._
> __Note 1__: The user must ensure they load the `loadbalance` module _before_ loading any other modules.
> __Note2__: The user should invoke loadbalance with `$CURC_LB_BIN/mpirun lb your-command-file` as shown in the example above.
> _Note2: The "loadbalance" module uses 1 core as a workflow manager. Therefore, if you request, e.g., 8 cores, the Load Balancer will employ 1 core to manage your workflow tasks across 7 cores._
> __Note3__: The `loadbalance` module uses 1 core as a workflow manager. Therefore, if you request, e.g., 8 cores, the Load Balancer will employ 1 core to manage your workflow tasks across 7 cores.
### Additional Resources

Expand Down

0 comments on commit 0e56709

Please sign in to comment.