Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
324ddaa5
Commit
324ddaa5
authored
5 years ago
by
Simon Michnowicz
Browse files
Options
Downloads
Patches
Plain Diff
improved message
Former-commit-id:
574a579c
parent
dce2e514
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/set_semaphore_count/README.md
+5
-5
5 additions, 5 deletions
roles/set_semaphore_count/README.md
with
5 additions
and
5 deletions
roles/set_semaphore_count/README.md
+
5
−
5
View file @
324ddaa5
Some program, i.e. GAMESS, needs a larger number of system semaphores than
normal
.
This
p
ro
gram
creates a systemd file that sets the value on startup, so that it is persistent
Some program
s
, i.e. GAMESS, needs a larger number of system semaphores than
provided by default
.
This ro
le
creates a systemd file that sets the value on startup, so that it is persistent
after reboot
To set count:
Shell command to set count: This is the default value for the role
echo 500 256000 64 10240 > /proc/sys/kernel/sem
We use a variable SEM_COUNT so users can override the default setting.
use
-
{ role: set_semaphore_count } #to use default value
-
{ role: set_semaphore_count } #to use default value
hardcoded inside main.yml, (as above)
or
-
{ role: set_semaphore_count, SEM_COUNT: "200 252000 24 20240" } #to use some other value (the ones here are nonsense for example only)
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