Comments (4)
Oops, this is related to how different compiler handle C++11. James had looked at this in detail and probably knows the answer.
James, should we think about disabling the ring statistics part on some platforms?
Lars
from matscipy.
I've locally resolved this with Christoph but we still need a general solution. It seems C++11 is sufficiently well supported, the only problem is getting Python distutils to pass different flags when compiling C and C++ code, as passing -std-c++0
with C input files causes errors with some compilers. Setting the CXXFLAGS
environment variable should work, but doesn't because of this bug:
http://bugs.python.org/issue1222585
from matscipy.
Should now be fixed. I had to delve deeper into numpy.distutils than I would like, but I've found a way to pass different options to C and C++ compilers which is working on our Travis-CI build slaves with g++ and clang++ and on Linux and OS X. There are now dictionaries of C and C++ options at the top of setup.py that can be customised on a per-compiler basis if this issue recurs.
Christoph, it would be great if you could revert the local changes made to setup.py (with git checkout setup.py
) then pull again and check it now compiles out of the box for you with anaconda Python. I will then close the issue.
from matscipy.
It builds and installs. If I run into any issues in usage, I'll open another report. Many thanks!
from matscipy.
Related Issues (20)
- Tests only run properly when `pytest` is executed in the `tests` subdirectory HOT 1
- [JOSS Review] Paper and statement of need HOT 2
- [JOSS Review] Reproducibility and functionality HOT 1
- [JOSS Review] Tests HOT 2
- [JOSS Review] Documentation HOT 2
- JOSS Review: Examples and Tutorials HOT 1
- Editable install won't run HOT 1
- Documentation appearance HOT 3
- Generalise surface reconstruction code
- Conda-forge build not working for version 0.8.0 HOT 5
- Some fenics log messages are written to stdout instead of stderr HOT 1
- Autogenerate documentation previews on pull requests in CI
- v0.8.1 and v0.9.0 releases HOT 4
- Part of the electrochemistry module does not follow coding style HOT 2
- TST: electrochemistry CLI pipe output test fails in CI ... HOT 3
- Building documentation requires Fenics HOT 4
- Interactive visualisation of atomic structures in documentation is broken HOT 12
- Clean up extra files created by running docs + tests HOT 7
- Improve performance of unittests
- Switch arm64 from Cirrus to GHA HOT 1
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 matscipy.