Skip to Content.
Sympa Menu

charm - Re: [charm] Regarding building charm++ to run with CUDA

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Regarding building charm++ to run with CUDA


Chronological Thread 
  • From: Michael Robson <mprobson AT illinois.edu>
  • To: "Wijayasiri,Malavi Pathirannahalage" <adeeshaw AT ufl.edu>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Regarding building charm++ to run with CUDA
  • Date: Wed, 2 Dec 2015 09:53:16 -0600

Hello Adeesha,

In order to use the use the GPU functionality in charm you need to build a cuda version. So you should modify your build line to the following:

./build charm++ multicore-linux-x86_64 cuda -j16

We're working on improving the usability of our GPU framework so please let me know if you run into any more difficulties.

Sincerely,
Michael Robson

On Mon, Nov 23, 2015 at 7:47 PM, Wijayasiri,Malavi Pathirannahalage <adeeshaw AT ufl.edu> wrote:

Hi,


I am a phd student in University of Florida. I am trying to build charm++ to use with CUDA. But once I tried to run example cuda programs it gives me an errors saying that 

"undefined reference to `wrQueue' "

"undefined reference to `enqueue(workRequestQueue*, workRequest*)'"
undefined reference to `kernel_stream' .

When I was trying to build hybridAPI files which includes wr.h file it gives me some other include errors(cklists.h: No such file or directory).

I think I built charm++ using wrong parameters. I used 

./build ./build charm++  multicore-linux64 -j16

Could you please tell me what parameters should I use to build charm++ to run with CUDA.

Or is this because of some other thing that I have to do.

Any help on this is highly appreciated.

Thank you very much.

Best regards,
Adeesha.




  • Re: [charm] Regarding building charm++ to run with CUDA, Michael Robson, 12/02/2015

Archive powered by MHonArc 2.6.16.

Top of Page