... | @@ -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
|
|
|
|
|
... | | ... | |