sob., 4 mar 2017 o 12:23 użytkownik Lars Viklund <[email protected]> napisał:

> Hi!
>
> Regarding build failures on Linux after PR #40, I've amended the problem
> with PR #41 which addresses the Linux build. There's still some INSTALL
> failures, but those were long pre-existing.
>
> It'd probably be a nice QoL improvement if someone would change the
> FindOpenCL.cmake file to detect an installed CUDA or Intel SDK.
>

As far as I know, CMake supports FindOpenCL since version 3.1:
https://cmake.org/cmake/help/v3.1/module/FindOpenCL.html
I assume their implementation is able to find any decent OpenCL SDK.

WIth HPX already recommending CMake in version 3.1 or better, we could stop
using our scripts at some point. Is it worth spending time on improving it?


>
> You can always specify the paths as a workaround on the command line
> with -DOpenCL_INCPATH and -DOpenCL_LIBPATH to the corresponding
> directories.
>
> I'm not sure if this honors -DCMAKE_PREFIX_PATH, didn't try.
>
> On 2017-03-03 02:06, Hartmut Kaiser wrote:
> > FWIW, Lars has provided us with a patch for this issue, see
> https://github.com/STEllAR-GROUP/hpxcl/pull/40.
> >
> > Regards Hartmut
> > ---------------
> > http://boost-spirit.com
> > http://stellar.cct.lsu.edu
> >
> >
> >> -----Original Message-----
> >> From: [email protected] [mailto:hpx-users-
> >> [email protected]] On Behalf Of Patrick Diehl
> >> Sent: Thursday, March 2, 2017 10:25 AM
> >> To: [email protected]
> >> Subject: [hpx-users] Fwd: RE: [GSoC] Interested in Asynchronous
> >> integration of CUDA and OpenCL to HPX
> >>
> >> FYI
> >>
> >>
> >> -------- Forwarded Message --------
> >> Subject: RE: [GSoC] Interested in Asynchronous integration of CUDA and
> >> OpenCL to HPX
> >> Date: Thu, 2 Mar 2017 16:08:43 +0000
> >> From: #SESHADRI MADHAVAN# <[email protected]>
> >> To: Patrick Diehl <[email protected]>
> >>
> >> Hi Patrick,
> >>
> >> I haven't reported it yet. However it is same as Issue #38, probably we
> >> could re-open it, with exactly the same error stack.
> >>
> >> Additionally, I am currently running older version of HPX. There was a
> >> huge trouble getting it to run due to the version discrepancies between
> >> Visual Studio, Boost etc. For example, there was a change in the Boost
> >> serialization from 1.58 to 1.59 in the file pfto.hpp, However, the
> >> upgraded versions (1.60, 1.61) still used the old code, rendering the
> >> compile to be incomplete (https://svn.boost.org/trac/boost/ticket/11598
> ).
> >>
> >> Also, the old versions of hpx throw up C1004 end-of-file reached error
> >> (https://msdn.microsoft.com/en-us/library/4exw7xyc.aspx) which is why I
> >> couldn't get them to work in Visual Studio 2012. Visual Studio 2015 also
> >> throws up another error with old versions of hpx, namely the change in
> >> support for Cpp
> >> standards(
> http://stackoverflow.com/questions/146381/visual-studio-support-
> >> for-new-c-c-standards),
> >> this has been fixed in the latest version available on branch, but not
> >> the ones before.
> >>
> >> Maybe, we should create a page explaining the packages of dependencies
> >> and visual studio version that work well together for windows.
> >>
> >> The different versioning and the nightmarish build environment in
> >> windows is delaying my progress at the moment, which I hope to resolve
> >> it soon. I would love to just switch over to the familiar territory of
> >> linux, but my other University projects heavily depend on windows.
> >>
> >> Additionally, I will be off for the next couple of days and will be back
> >> on Sunday. I hope to get concrete ideas for the proposal by mid next
> >> week. Hope this timeline is feasible with you.
> >>
> >> Best Regards,
> >> Madhavan
> >>
> >>
> >> -----Original Message-----
> >> From: Patrick Diehl [mailto:[email protected]] Sent: Thursday,
> March
> >> 2, 2017 11:49 PM
> >> To: #SESHADRI MADHAVAN# <[email protected]>
> >> Subject: Re: [GSoC] Interested in Asynchronous integration of CUDA and
> >> OpenCL to HPX
> >>
> >> Hi Madhavan,
> >>
> >> have you reported the issue on github? We also started to work at this
> >> issue.
> >>
> >> Best,
> >>
> >> Patrick
> >>
> >> On 03/01/2017 03:48 PM, Patrick Diehl wrote:
> >>> You also could reopen the issue and provide more detaisl about the
> >>> compilation error.
> >>>
> >>> Best,
> >>>
> >>> Patrick
> >>>
> >>> On 03/01/2017 03:16 PM, #SESHADRI MADHAVAN# wrote:
> >>>> Hi Patrick,
> >>>>
> >>>> The error appearing seems to originate from this issue
> >> https://github.com/STEllAR-GROUP/hpxcl/issues/38. I am using Windows
> and
> >> Visual Studio 2015 for compilation.
> >>>> Seems that the fix doesn’t work completely.
> >>>>
> >>>> Best Regards,
> >>>> Madhavan
> >>>>
> >>>> -----Original Message-----
> >>>> From: Patrick Diehl [mailto:[email protected]]
> >>>> Sent: Thursday, March 2, 2017 3:56 AM
> >>>> To: #SESHADRI MADHAVAN# <[email protected]>
> >>>> Subject: Re: [GSoC] Interested in Asynchronous integration of CUDA
> >>>> and OpenCL to HPX
> >>>>
> >>>> Hi Madhavan,
> >>>>
> >>>> cool, please send a pull request for this feature. Yes, both should be
> >> provided. With respect to your last question it seems HPX in version 0.9
> >> should works. This was the last version when I worked with the code.
> >>>> Please fell free to ask questions like this in our irc channel. So
> more
> >> people could support you.
> >>>> Best,
> >>>>
> >>>> Patrick
> >>>>
> >>>> On 03/01/2017 02:47 PM, #SESHADRI MADHAVAN# wrote:
> >>>>> Hi Patrick,
> >>>>>
> >>>>>
> >>>>>
> >>>>> I have one additional question, as to why the FindOpenCL.cmake was
> >>>>> hardcoded to find AMDSDKs as this will allow only the AMD GPUs to be
> >>>>> supported right?, I am using NVIDIA GPU and I had modified it
> >>>>> appropriately to support the same.
> >>>>>
> >>>>>
> >>>>>
> >>>>> Best Regards,
> >>>>>
> >>>>> Madhavan
> >>>>>
> >>>>>
> >>>>>
> >>>>> *From:*#SESHADRI MADHAVAN#
> >>>>> *Sent:* Thursday, March 2, 2017 3:33 AM
> >>>>> *To:* Patrick Diehl <[email protected]>
> >>>>> *Subject:* RE: [GSoC] Interested in Asynchronous integration of CUDA
> >>>>> and OpenCL to HPX
> >>>>>
> >>>>>
> >>>>>
> >>>>> Hi Patrick,
> >>>>>
> >>>>>
> >>>>>
> >>>>> The issue was a weird one because FIndPackage routine from the
> >>>>> version of cmake I had downloaded was garbled, but I managed to find
> >>>>> it and fix it. I have since then re-installed HPX (latest master
> >> branch).
> >>>>>
> >>>>>
> >>>>> I have since then had to quick-fix the FindOpenCL.cmake in the
> >>>>> project to support Windows as the directory structure is different.
> >>>>>
> >>>>>
> >>>>>
> >>>>> However, I am now getting build issue with the HPXCL examples, due
> >>>>> to promise.hpp from the HPX version. Kindly advise, if I have to
> >>>>> revert to a previous version of hpx?
> >>>>>
> >>>>>
> >>>>>
> >>>>> Best Regards,
> >>>>>
> >>>>> Madhavan
> >>>>>
> >>>>>
> >>>>>
> >>>>> *From:*Patrick Diehl [mailto:[email protected]]
> >>>>> *Sent:* Thursday, March 2, 2017 3:24 AM
> >>>>> *To:* #SESHADRI MADHAVAN# <[email protected]
> >>>>> <mailto:[email protected]>>
> >>>>> *Subject:* RE: [GSoC] Interested in Asynchronous integration of CUDA
> >>>>> and OpenCL to HPX
> >>>>>
> >>>>>
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> where you able to fix the issue?
> >>>>>
> >>>>> Best,
> >>>>>
> >>>>> Patrick
> >>>>>
> >>>>> Am 28. Februar 2017 10:40:35 GMT-05:00 schrieb #SESHADRI MADHAVAN#
> >>>>> <[email protected] <mailto:[email protected]>>:
> >>>>>
> >>>>>      Hi Patrick,
> >>>>>
> >>>>>      Yes, I understand the error.
> >>>>>
> >>>>>      But currently no such file exists in the HPX or HPXCL directory,
> >> do I need to create this file?
> >>>>>      Best Regards,
> >>>>>      Madhavan
> >>>>>
> >>>>>      -----Original Message-----
> >>>>>      From: Patrick Diehl [mailto:[email protected]]
> >>>>>      Sent: Tuesday, February 28, 2017 11:36 PM
> >>>>>      To: #SESHADRI MADHAVAN# <[email protected]
> >> <mailto:[email protected]>>
> >>>>>      Cc: [email protected] <mailto:[email protected]>
> >>>>>      Subject: Re: [GSoC] Interested in Asynchronous integration of
> >>>>> CUDA and OpenCL to HPX
> >>>>>
> >>>>>      Hi Madhavan,
> >>>>>
> >>>>>      it says that it could not find the configuration of HPX
> >> (HPXConfig.cmake). As the error message tells you you have to provide
> thsi
> >> file with the -DHPX_DIR option.
> >>>>>      cmake -
> >> DHPX_DIR=/home/diehl/hpx/build/lib/cmake/HPX/HPXConfig.cmake ..
> >>>>>      You just should provide the path to HPXConfig.cmake. Then it
> >> should work.
> >>>>>      Best,
> >>>>>
> >>>>>      Patrick
> >>>>>
> >>>>>      On 02/28/2017 07:31 AM, #SESHADRI MADHAVAN# wrote:
> >>>>>
> >>>>>           Hi Patrick,
> >>>>>
> >>>>>           I am unable to compile hpxcl and I am getting an error as
> in
> >> the screenshot. My dev machine is Windows. I am able to build hpx
> though.
> >>>>>           Kindly advise.
> >>>>>
> >>>>>           Best Regards,
> >>>>>           Madhavan
> >>>>>
> >>>>>           -----Original Message-----
> >>>>>           From: #SESHADRI MADHAVAN#
> >>>>>           Sent: Tuesday, February 28, 2017 7:39 AM
> >>>>>           To: 'Patrick Diehl' <[email protected]
> >> <mailto:[email protected]>>
> >>>>>           Cc: [email protected] <mailto:[email protected]>
> >>>>>           Subject: RE: [GSoC] Interested in Asynchronous integration
> of
> >> CUDA and
> >>>>>           OpenCL to HPX
> >>>>>
> >>>>>           Hi Patrick,
> >>>>>
> >>>>>           Thank you for your prompt reply.
> >>>>>
> >>>>>           I have started filling the template and the shared google
> doc
> >> link is https://docs.google.com/document/d/1QyBZDttXmj2_t4NoqahJForCjA-
> >> bAgzeq_c0Qy_fmjI/edit?usp=sharing . I have joined the irc channel.
> >>>>>           I have also started installing the pre-requisites for the
> >> project. I shall get back to you once I am start with running the
> >> examples.
> >>>>>           Thanks & Regards,
> >>>>>           Madhavan
> >>>>>
> >>>>>           -----Original Message-----
> >>>>>           From: Patrick Diehl [mailto:[email protected]]
> >>>>>           Sent: Tuesday, February 28, 2017 6:11 AM
> >>>>>           To: #SESHADRI MADHAVAN# <[email protected]
> >> <mailto:[email protected]>>
> >>>>>           Cc: [email protected] <mailto:[email protected]>
> >>>>>           Subject: Re: [GSoC] Interested in Asynchronous integration
> of
> >> CUDA and
> >>>>>           OpenCL to HPX
> >>>>>
> >>>>>           Dear Madhavan,
> >>>>>
> >>>>>           you should generate a google document and copy our template
> >> [0] and start to fill in the details about your person and so on. I
> think
> >> a good start would be compile HPX [1] and HPXCL on your machine.
> >>>>>           After that you could run the examples and look at them to
> >> understand the concept of HPXCL. After that we could discuss what are
> your
> >> interests and what tasks you could propose in your gsoc application.
> Here
> >> you could look at the events which are available in OpenCL but not in
> CUDA
> >> for example.
> >>>>>           I strongly recommend to join our irc channel #ste||ar on
> >> freenode to get in contact with the community and may asked questions
> >> about the compilation.
> >>>>>           Best,
> >>>>>
> >>>>>           Patrick
> >>>>>
> >>>>>           [0] https://github.com/STEllAR-GROUP/hpx/wiki/GSoC-
> >> Submission-Template
> >>>>>           [1] https://github.com/STEllAR-GROUP/hpx
> >>>>>
> >>>>>           On 02/27/2017 04:56 PM, #SESHADRI MADHAVAN# wrote:
> >>>>>
> >>>>>               Hi Mr. Diehl and Mr. Heller,
> >>>>>
> >>>>>
> >>>>>
> >>>>>               I came across your project Asynchronous integration of
> >> CUDA and
> >>>>>               OpenCL to HPX, and I am interested to work on the
> same. I
> >> have basic
> >>>>>               knowledge in CUDA and OpenCL but I am willing to
> further
> >> learn for the project.
> >>>>>
> >>>>>
> >>>>>               Kindly let me know how I can get started with the
> project
> >> and the
> >>>>>               direction I should be looking at.
> >>>>>
> >>>>>
> >>>>>
> >>>>>               Best Regards,
> >>>>>
> >>>>>               Madhavan
> >>>>>
> >>>>>
> >>>>>
> >>>>>           --
> >>>>>           Patrick Diehl
> >>>>>           Institut für Numerische Simulation
> >>>>>           Rheinische Friedrich-Wilhelms Universität Bonn
> Wegelerstrasse
> >> 4 , Room
> >>>>>           0.001
> >>>>>           D-53115 Bonn Germany
> >>>>>           Tel : +49 228 733846 <+49%20228%20733846>
> >>>>>           Mail: [email protected] <mailto:[email protected]>
> >>>>>
> >>>>>
> >>>>>
> >>>>>      --
> >>>>>      Patrick Diehl
> >>>>>      Institut für Numerische Simulation
> >>>>>      Rheinische Friedrich-Wilhelms Universität Bonn Wegelerstrasse 4
> ,
> >> Room 0.001
> >>>>>      D-53115 Bonn Germany
> >>>>>      Tel : +49 228 733846 <+49%20228%20733846>
> >>>>>      Mail: [email protected] <mailto:[email protected]>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Patrick Diehl
> >>>>> Institut für Numerische Simulation
> >>>>> Rheinische Friedrich-Wilhelms Universität Bonn Wegelerstrasse 4 ,
> >>>>> Room
> >>>>> 0.001
> >>>>> D-53115 Bonn Germany
> >>>>> Tel : +49 228 733846 <+49%20228%20733846>
> >>>>> Mail: [email protected] <mailto:[email protected]>
> >>>>>
> >>>> --
> >>>> Patrick Diehl
> >>>> Institut für Numerische Simulation
> >>>> Rheinische Friedrich-Wilhelms Universität Bonn Wegelerstrasse 4 ,
> >>>> Room 0.001
> >>>> D-53115 Bonn Germany
> >>>> Tel : +49 228 733846 <+49%20228%20733846>
> >>>> Mail: [email protected]
> >>>>
> >> --
> >> Patrick Diehl
> >> Institut für Numerische Simulation
> >> Rheinische Friedrich-Wilhelms Universität Bonn Wegelerstrasse 4 , Room
> >> 0.001
> >> D-53115 Bonn Germany
> >> Tel : +49 228 733846 <+49%20228%20733846>
> >> Mail: [email protected]
> >>
> >
> > _______________________________________________
> > 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
>
_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to