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

Need make install for papi counters and this builds all the examples #1261

Closed
pagrubel opened this issue Sep 15, 2014 · 2 comments
Closed

Need make install for papi counters and this builds all the examples #1261

pagrubel opened this issue Sep 15, 2014 · 2 comments

Comments

@pagrubel
Copy link
Member

So now I need the papi counters and to get them I have to do make install, which then builds all the examples. I thought make install was not needed for the papi components or runtime memory coutners etc.

The problem is I need the examples but not all of them and when I do a make install I have to wait for all of them to build

Here is my cmake command
cmake -DCMAKE_INSTALL_PREFIX=~/build/hpx_build
-DHPX_BUILD_EXAMPLES=ON
-DHPX_BUILD_TESTS=ON
-DCMAKE_BUILD_TYPE=Release
-DHPX_THREAD_GUARD_PAGE=OFF
-DBOOST_ROOT=/opt/boost/1.55.0-release
-DPAPI_ROOT=/opt/papi/5.0.1-release
-DHPX_WITH_PAPI=ON
~/hpx

@sithhell
Copy link
Member

You only have to do make install when you want to install HPX. When doing a make install, everything that should get installed is going to be built. Similar to just make which implicitly calls make all.
You can selectively build the targets you want. Type make help to get a list of available targets.
The papi counter component is not built as a dependency by any of the examples because it is not a dependency of any target (it is a loadable plugin). However, it is part of the core or components target.

@sithhell sithhell added this to the 0.9.9 milestone Sep 16, 2014
@sithhell sithhell self-assigned this Sep 16, 2014
@sithhell
Copy link
Member

This is related to #1258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants