NB : I usually set HPX_WITH_APEX_NO_UPDATE=ON and manually checkout the version of AEX I want- that flag stops HPX from rechecking out a different branch
-----Original Message----- From: [email protected] <[email protected]> On Behalf Of Jong, K. de (Kor) Sent: 04 June 2019 11:22 To: [email protected] Cc: [email protected] Subject: Re: [hpx-users] Link error building HPX with support for APEX On 6/4/19 10:24 AM, Biddiscombe, John A. wrote: >> I use the FetchContent module to integrate HPX into my project, which means >> my project is the main project. I think some paths in APEX' CMakeLists.hpx >> need to be adjusted, which I have done locally. Once I have the whole build >> working I can provide a patch or pull request with my edits. > > Please do submit a PR (to the APEX repo though if it needs fixes) - I thought > I had fixed all those ages ago, but I guess some new ones have crept in. > >>>> > Second, my build of HPX with support for APEX almost succeeds, but not > completely (repro-case at bottom of this message): > <<< > > My local projects that build using HPX are also failing with the similar > problems related to hpx_cache and also hpx/config.hpp include directory > problems. > Can you confirm if you are using master branch, or a 1.3 release - the cache > stuff was not present in the 1.3 release. I try to use HPX 1.3.0 icw APEX 2.1.3. After configuring HPX with support for APEX and passing HPX_WITH_APEX_TAG=v2.1.3, the apex source directory points to the latest commit on de develop branch. That is probably what is going wrong. Repro-case: git clone <url to hpx> mkdir hpx/build cd hpx/build cmake -DHPX_WITH_TESTS:BOOL=OFF -DHPX_WITH_EXAMPLES:BOOL=OFF -DHPX_WITH_APEX:BOOL=ON -DHPX_WITH_APEX_TAG=v2.1.3 .. Now hpx/apex has the latest commit on APEX' develop branch checked out instead of commit v2.1.3. Kor CMake output relevant to APEX: Overriding APEX git tag v2.1.3 with v2.1.3 -- Found Git: /usr/bin/git (found version "2.17.1")ยท -- git clone https://github.com/khuck/xpress-apex.git /home/kor/tmp/hpx/apex -- apex : current ref is "" and tag is "v2.1.3" -- apex : git fetch --all -q -- apex : git checkout -q v2.1.3 -- apex : git rebase FETCH_HEAD -- apex Will build APEX -- apex APEX source dir is /home/kor/tmp/hpx/apex/src/apex -- apex APEX binary dir is /home/kor/tmp/hpx/build/apex/src/apex System architecture: x86_64 -- git clone https://github.com/cameron314/concurrentqueue.git /home/kor/tmp/hpx/apex/src/apex/concurrentqueue -- concurrentqueue : current ref is "" and tag is "master" -- concurrentqueue : git fetch --all -q -- concurrentqueue : git checkout -q master -- concurrentqueue : git rebase FETCH_HEAD INFO Found concurrentqueue at /home/kor/tmp/hpx/apex/src/apex/concurrentqueue -- apex Building APEX with /proc/stat sampler -- apex This is not edison INFO System has Powercap energy monitoring support. -- GIT commit is a943fd2c5d8b90d2f45be919850eefa9c31788e8. -- preprocessor: Configuring -- preprocessor: Configuring done _______________________________________________ hpx-users mailing list [email protected] https://mail.cct.lsu.edu/mailman/listinfo/hpx-users _______________________________________________ hpx-users mailing list [email protected] https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
