Brandon Bocklund
Brandon Bocklund
Keep this open as a meta issue for pseudo binaries. It's related to #5, but distinct because it's a special case with tie-lines in the plane, and requires support for...
https://github.com/pycalphad/pycalphad/discussions/302 discussion here has some details
Mapping support is by #543, so what is missing to close this is: 1. The ability to define non-pure element components 2. The ability to detect the case where for...
I have some more general notes, and might just leave them here. Feel free to convert any to issues or I can elaborate if needed. 1. It's surprising that SIPFENN...
Code to restart the workers would look something like applying this patch to `opt_mcmc.py`, this would hard code the restart interval, but it could be added as a parameter and...
A potential mitigation is to cache symbols so new instances aren't created: ```python from pycalphad.core.cache import lru_cache class StateVariable(Symbol): @lru_cache(maxsize=10000) def __new__(cls, *args, **kwargs): return super().__new__(cls, *args, **kwargs) ``` On...
I did some memory benchmarking on this for running ESPEI in parallel. Without the fix, both the parent and child processes grow in memory usage. The main process hit about...
Alternatively: ```python from espei.datasets import load_datasets, recursive_glob directories = ['/path/to/directory_1/', '/path/to/directory_2/'] globbed_files = sum(map(recursive_glob, directories), []) load_datasets(globbed_files) ```
Thanks for the great MWE, as always. I set up this calculation in pycalphad and can confirm that the solver doesn't converge. ```python from pycalphad import Database, equilibrium, variables as...
Those two warnings are safe to ignore and will go away when pycalphad 0.8.5 is released. In 0.8 and later, the initial MCMC startup time will likely be a little...