Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
job-pattern-rule-evaluation-wip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PathoJobs
job-pattern-rule-evaluation-wip
Commits
2f80f6a3
Commit
2f80f6a3
authored
3 months ago
by
Alex Wiens
Browse files
Options
Downloads
Patches
Plain Diff
Deploy: Add computational thread limitation
parent
d9faca1f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy/run_prule_daemon.sh
+5
-1
5 additions, 1 deletion
deploy/run_prule_daemon.sh
with
5 additions
and
1 deletion
deploy/run_prule_daemon.sh
+
5
−
1
View file @
2f80f6a3
#!/bin/bash
SCRIPT_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
# activate python virtual environmen
# activate python virtual environmen
t
source
"
${
SCRIPT_DIR
}
/venv/bin/activate"
# limit number of computational threads
export
MKL_NUM_THREADS
=
1
export
NUMEXPR_NUM_THREADS
=
1
export
OMP_NUM_THREADS
=
1
# exec prule.daemon with config file
exec
python3
-u
-m
prule.daemon
--config
"
${
SCRIPT_DIR
}
/var/prule_daemon.json"
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