Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bmDCA
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Jerry Dinan
bmDCA
Commits
7edc80c4
Commit
7edc80c4
authored
4 years ago
by
sudorook
Browse files
Options
Downloads
Patches
Plain Diff
clarify when to use OMP_NUM_THREADS
parent
4e076017
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+8
-4
8 additions, 4 deletions
README.md
with
8 additions
and
4 deletions
README.md
+
8
−
4
View file @
7edc80c4
...
...
@@ -682,17 +682,21 @@ frequencies of the `21x21` pairs of amino acids at positions i and j.
__For users of shared resources:__
OpenMP will default to the number of
available cores, so if the bmDCA programs are run on a shared resource, say a
cluster, all cores will be engaged, starving other processes of resources or
causing the scheduler or cluster manager to
boot
you
off the system. To prevent
this, use the
`OMP_NUM_THREADS`
environmental variable.
getting you
boot
ed
off the system. To prevent
this, use the
`OMP_NUM_THREADS`
environmental variable.
You can either set it at runtime:
```
OMP_NUM_THREADS=4 bmdca -i ...
```
Or, you can set it globally, for example
as
shell r
un command
.
Or, you can set it globally, for example
in your
shell r
c file
.
```
export OMP_NUM_THREADS=4
```
(The above examples will limit OpenMP to 4 threads.)
The above examples will limit OpenMP to 4 threads.
__
You don't need to worry about this if submitting jobs through a workload
manager__, such as Slurm or Sun Grid Engine. The manager will limit bmDCA to
the number of cores specified, so manipulating
`OMP_NUM_THREADS`
is not needed.
This diff is collapsed.
Click to expand it.
Preview
0%
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