Comments (5)
Hey,
yes you can control the parallelization behavior, both OMP and BLAS/LAPACK-related by environment variables.
If you have chosen another BLAS/LAPACK package than MKL, you might want to set the appropriate environment variable, like OPENBLAS_NUM_THREADS=4
.
from tblite.
Hey @Phorbol, is their still a problem or can we close this issue?
from tblite.
Yeah, thank you very much and Merry Christmas. But I want to control it in python. By the way, will you develop this feature in the future versions?
from tblite.
Merry Christmas to you as well. You can control environment variables in python by using os.environ
here is the link to their documentation. This allows you to set the variables controlling tblite's parallel execution. As for ulimit -s unlimited
you could use the resource
module, however I have not tested the latter.
Let me know if this covers the desired functionality.
from tblite.
Okay, that's how I understood and operated before. My idea may like
atoms.calc = TBLite(ncores=n)
, but the os.environ
method is also ok.
By the way, I'm interested in the XTB Force Field using in ase, looking forward to your future developments.
Thank you and I'll close the issue.
from tblite.
Related Issues (20)
- More open licenses for the API HOT 3
- The ASE calculator cannot be used with ASE optimizers due to recent upstream breaking changes HOT 2
- Different solvation energies in tblite and xtb HOT 1
- Compilation issue, stuck at lapack HOT 3
- Discrepancies in Orbital Energies between tblite Calculator and Stand-alone xtb HOT 2
- Use clearer name for number of unpaired electrons in ASE calculator
- Different SCC convergence behavior for xtb and tblite HOT 2
- Allow boolean values for logical arguments in Python API
- Provide string equivalents in Python for enumerator values in the C-API HOT 1
- Add possibility to set values in results object for restarting purposes
- Providing info on parallelization with `tblite` in the documentation HOT 1
- Question about parameter files in toml format HOT 1
- Overlap Matrix not available in result container/Conda release outdated HOT 1
- Add support for Python 3.12
- Request: Add ASE interface in the next conda build HOT 2
- Keywords compatibility XTB & TBLITE HOT 1
- Installation issue
- PTB
- Segmentation fault (core dumped) issue for spGFN-xTB when trying to access orbital coefficients HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tblite.