-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added bibilog to show output log of most recent worker start. Tried f…
…ixing the slurm23.11 bug.
- Loading branch information
1 parent
880b6d0
commit 71f3214
Showing
9 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# BiBiGrid Cluster Commands | ||
|
||
## [bibiname](../../../resources/playbook/roles/bibigrid/templates/bin/bibiname.j2)[m|v|default: w] [number] | ||
|
||
This command creates node names for the user without them needing to copy the cluster-id. | ||
Takes two arguments. The first defines whether a master, vpnwkr or worker is meant. Worker is the default. | ||
The second parameter - if vpnwkr or worker is selected - defines which vpnwkr or worker is meant. | ||
|
||
### Examples | ||
Assume the cluster-id `20ozebsutekrjj4`. | ||
|
||
```sh | ||
bibiname m | ||
# bibigrid-master-20ozebsutekrjj4 | ||
``` | ||
|
||
```sh | ||
bibiname v 0 | ||
# bibigrid-vpnwkr-20ozebsutekrjj4-0 | ||
``` | ||
|
||
```sh | ||
bibiname 0 # or bibiname w 0 | ||
# bibigrid-worker-20ozebsutekrjj4-0 | ||
``` | ||
|
||
A more advanced use would be to use the generated name to login into a worker: | ||
```sh | ||
ssh $(bibiname 0) # or bibiname w 0 | ||
# ssh bibigrid-worker-20ozebsutekrjj4-0 | ||
``` |
Binary file removed
BIN
-1.93 MB
documentation/pdfs/ELIXIR Compute 2023 -- Multi-Cloud - BiBiGrid.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
if [ "$1" == "err" ]; then | ||
err_out="err" | ||
else | ||
err_out="out" | ||
fi | ||
|
||
if [ "$2" == "fail" ]; then | ||
fail_create="fail" | ||
else | ||
fail_create="create" | ||
fi | ||
|
||
LOG="/var/log/slurm/worker_logs/$fail_create/$err_out" | ||
RECENT=$(ls -1rt $LOG | tail -n1) | ||
tail -f "$LOG/$RECENT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters