Skip to content
GitLab
  • Explore
  • Sign in
  • EDA Guides
  • eda-servers-guide
  • Wiki
  • cpu limit

cpu limit · Changes

Page history
Update cpu limit authored May 07, 2021 by Daniele Jahier Pagliari's avatar Daniele Jahier Pagliari
Hide whitespace changes
Inline Side-by-side
cpu-limit.md
View page @ b7c5685a
...@@ -12,8 +12,9 @@ If you find out that your code is using too many CPU threads, you can limit them ...@@ -12,8 +12,9 @@ If you find out that your code is using too many CPU threads, you can limit them
export OMP_NUM_THREADS=8 export OMP_NUM_THREADS=8
``` ```
The example above limits the number of threads to 8. The example above limits the number of threads to 8. You can change this to any reasonable number (considering the total number of cores in the server that you're using).
Most graphical IDEs that support remote deployment (see ["Remote Code Deployment"](/remote-code)) also allow you to set environment variables in the remote host. For example, in PyCharm by JetBrains, this is achieved by modifying the "Run Configuration" of your script. Check the documentation of your IDE for more details.
## Other Tools and Libraries ## Other Tools and Libraries
......
Clone repository
Home

Servers Information
Accounts
Connecting to the Servers
Storage Management and Quotas
Monitoring Resources
Software, Libraries and Data
  • Using Custom Software
  • Software Modules on Philae
  • Remote Code Deployment
  • Python Virtual Environments
  • EDA Technology Libraries
  • Shared Datasets
Miscellaneous Settings
  • Setting Up CUDA Libraries
  • Choosing which GPU to Use
  • Limiting GPU Memory
  • Limiting CPU Threads
Gitlab

Sidebar