Skip to content

Commit e9ec3bf

Browse files
committed
lsf
1 parent 0cf1c2e commit e9ec3bf

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ _site/
44
.jekyll-metadata
55

66
.vscode/
7+
.DS_Store

_posts/2024-12-20-ibm_spectrum_lsf.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
layout: post
3+
title:
4+
date: 2024-12-20 12:50
5+
category:
6+
author:
7+
tags: []
8+
summary:
9+
---
10+
11+
## list of commands
12+
13+
```bash
14+
bsub: submit a job
15+
bjobs: review job status
16+
bstop <jobid>: stop a job
17+
bresume <jobid>: resume a job
18+
bkill <jobid>: kill a job
19+
bqueues: list available queues
20+
```
21+
22+
## environment variables
23+
24+
https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=variables-environment-set-job-execution
25+
26+
> In addition to environment variables inherited from the user environment, LSF also sets several other environment variables for batch jobs.
27+
28+
## bsub
29+
30+
```bash
31+
-q ${QUEUE} : queue name
32+
33+
-n ${CORES} : number of cores
34+
-R 'span[hosts=1]': Span string
35+
36+
-Is: Submits an interactive job and creates a pseudo-terminal with shell mode when the job starts.
37+
38+
-o <file1> -e <file2>: write stdout to file1, stderr to file2
39+
```
40+
41+
## job states
42+
43+
https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=execution-about-job-states
44+
45+
## Span string
46+
47+
Used to specify how number of cores are split across nodes
48+
49+
https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=strings-span-string
50+
51+
## bqueues
52+
53+
https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=reference-bqueues
54+
55+
## lsmake
56+
57+
https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=reference-lsmake#v4526949
58+
59+
60+
## what entiy are involved
61+
62+
https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=lsf-daemons
63+
64+
## distriubted compiling?
65+
66+
https://github.com/bazelbuild/remote-apis
67+
68+
https://bazel.build/community/remote-execution-services

0 commit comments

Comments
 (0)