Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

equilibrium: CalledProcessError on Windows #44

Closed
richardotis opened this issue Jun 2, 2016 · 2 comments
Closed

equilibrium: CalledProcessError on Windows #44

richardotis opened this issue Jun 2, 2016 · 2 comments
Labels

Comments

@richardotis
Copy link
Collaborator

Many users on Windows do not have the MSVC C/C++ compiler installed, causing the compiled backend to break with cryptic error messages. It does not appear to be easy to distribute or otherwise provide users with this compiler. The best option may be to do some auto-detection or error checking for the build process, and then catch CalledProcessError and fall back to the interpreted backend (with a warning). We can provide instructions in the documentation for how to improve performance on Windows by installing MSVC, either the Python 2.7 compiler edition or the MSVC 2015 Community Edition on Python 3.5.

@richardotis richardotis added the bug label Jun 2, 2016
@richardotis
Copy link
Collaborator Author

Related: The -ffast-math compiler flag doesn't exist for MSVC, so I need to use /fp:fast instead.

@richardotis
Copy link
Collaborator Author

There's scattered information suggesting installing mingw32 from Anaconda will work, but I have yet to test it. I also don't know if that's a solution for 64-bit Windows.

bocklund added a commit to bocklund/pycalphad that referenced this issue Aug 17, 2021
Closes pycalphadgh-23.

- Adds a TinyDB bibliographic database and utilities to add a BibTeX entries to it
- bibtexparser is now a dependency
- Better handling of aliases in dataplot plot_kwargs (with a warning)
- Utility to read multiline strings from raw strings, file paths, or streams

Note that there is no functionality here to format the references based on the database, but this functionality could easily be added with some handling of the references by using a formatting function that takes a BibTeX dict.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant