Comments (7)
I remember this issue appearing in the context of ALPSCore. The idea of sharing dependencies is to enforce the correct linking (like, say when multiple modules on clusters are present). It should 'always work' in a sense that as long as
(1) pomerol is compiled correctly and tests pass
(2) the export is correct,
the dependent library should just get it. However in this case it seems that INTERFACE_LINK_LIBRARIES are wrong.
from pomerol.
In particular, I remember now, without this one ends up often linked to a system boost. In a sense one has to run cmake with the arguments like BOOST_ROOT the same as those used for compilation. So the goal of providing libraries is to avoid that.
from pomerol.
Looks like our own code has little to do with this issue. On macOS, find_package(Boost)
sets Boost_INCLUDE_DIRS
and Boost_LIBRARIES
to the following values respectively,
-- Boost includes: /usr/local/include
-- Boost libs: Boost::mpi;Boost::serialization
https://travis-ci.org/github/aeantipov/pomerol/jobs/666864157#L740
from pomerol.
There's a thread for some package having a similar issue.
We should restrict the maximum version of boost because cmake bindings are always lagging behind.
exercism/cpp#217
from pomerol.
My impression is that it's totally legal for FindBoost.cmake
to put Boost target names into Boost_LIBRARIES
. I just don't understand why its behavior is inconsistent between platforms (CMake versions? Boost versions?)
from pomerol.
Pomerol 2.0 does not depend on Boost.MPI and Boost.Serialization anymore.
One should try to build the updated pomerol2triqs
on macOS and see if this issue is actually gone.
from pomerol.
I am closing this issue since pomerol2triqs
is sucessfully built by a macOS 11 GitHub Actions runner now.
https://github.com/pomerol-ed/pomerol2triqs/actions/runs/3619457035/jobs/6100523644
from pomerol.
Related Issues (20)
- Error while compiling tutorial files HOT 3
- Extend Symmetrizer to support arbitrary integrals of motion HOT 10
- Computing two-particle GF in imaginary time HOT 2
- Disabling MPI in computing two-particle Green's function HOT 3
- Failing Build HOT 3
- Susceptibility HOT 10
- ZeroPoleWeight is not necessarily real HOT 3
- Problem linking boost_mpi and boost_serialization HOT 5
- Remove boost::program options HOT 4
- Code formatting checker HOT 1
- Deprecate gtest? HOT 1
- Employ libcommute to define Hamiltonians HOT 2
- Use libcommute to find Hamiltonian blocks HOT 1
- Deprecate POMEROL_COMPLEX_MATRIX_ELEMENTS ? HOT 1
- Move away from travis to github actions? HOT 3
- Non-zero imaginary part in the latest release HOT 1
- Tutorial example gives zero-valued TwoParticleGF? HOT 2
- MPI Freeze HOT 1
- Worker didn't calculate this part.
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 pomerol.