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
574a579c
Commit
574a579c
authored
5 years ago
by
Simon Michnowicz
Browse files
Options
Downloads
Patches
Plain Diff
improved message
parent
3989dd2a
No related branches found
Branches containing commit
No related tags found
1 merge request
!241
Fix semaphore count
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 @
574a579c
Some program, i.e. GAMESS, needs a larger number of system semaphores than
normal
.
Some program
s
, i.e. GAMESS, needs a larger number of system semaphores than
provided by default
.
This
p
ro
gram
creates a systemd file that sets the value on startup, so that it is persistent
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
echo 500 256000 64 10240 > /proc/sys/kernel/sem
We use a variable SEM_COUNT so users can override the default setting.
We use a variable SEM_COUNT so users can override the default setting.
use
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)
-
{ 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.
Simon Michnowicz
@smichnow
mentioned in commit
324ddaa5
·
4 years ago
mentioned in commit
324ddaa5
mentioned in commit 324ddaa5af506016874e4bf7687dae0a020beefb
Toggle commit list
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