Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] [Inquiry]Starpu Windows Build

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] [Inquiry]Starpu Windows Build


Chronologique Discussions 
  • From: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: "Eng.Ahmed Hosny" <ahmed.ibrahim@fci.au.edu.eg>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] [Inquiry]Starpu Windows Build
  • Date: Thu, 16 Jan 2014 11:25:07 +0100
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Ahmed,

First, please post your answer to the starpu-devel mailing list. I am not
always available to read and
answer your email, and other persons on the list may help you as well.

What is happening when you compile your cuda code using nvcc?

starpu_machine_display should at least prints something like:
StarPU has found :
1 CPU cores
CPU 0
0 CUDA devices
0 OpenCL devices

Try to configure StarPU with the option --enable-verbose, it may help finding
what the problem is.

Cheers,

Nathalie

On Jan 15, 17:09, Eng.Ahmed Hosny wrote:
>
> Sorry for duplicating the email but I've forgot to attach the config.log
> thanks for your patience.
>
>
> I've tried both,
> 1. When installing StarPU myself, it detects CUDA as I found in config.log.
> But I couldn't compile any code after unless using the batch file found in
> the compiled version. I've executed the starpu_machine_display from the
> installed version, But it did not print anything.
>
> 2. When using the compiled version, I've successfully compile and run
> hello_world sample and also wrote my own code using only cpu_funcs and it
> works fine. Unfortunately I could not compile or execute the vector_scal
> sample using multiple of codelet functions (CPU, CUDA).
> Taking with consideration that I'm trying using Windows 7 platform.
>
> I really appreciate your response and thanks in advance.
>
> Best regards,
>
> Ahmed
>
>
> ________________________________________
> From: Nathalie Furmento [nathalie.furmento@labri.fr]
> Sent: Monday, January 13, 2014 3:22 PM
> To: Eng.Ahmed Hosny
> Cc: starpu-devel@lists.gforge.inria.fr
> Subject: Re: [Starpu-devel] [Inquiry]Starpu Windows Build
>
> Did you install StarPU yourself? Or did you get a compiled package?
>
> If you did not have any errors when calling make install, the file starpu.h
> should then be available in the directory
> $STARPU_DIR/include/starpu/1.2, $STARPU_DIR being the directory you
> specified when calling configure.ac
>
> As for CUDA, did StarPU detect CUDA when running configure? You can have a
> look in the file config.log
>
> Regards,
>
> Nathalie
>
> On Jan 13, 12:29, Eng.Ahmed Hosny wrote:
> > Dear Nathalie,
> > Thanks for your reply, first I've already set the PKG_CONFIG_PATH
> > variable and pkg-config --cflags starpu-1.2 returns with
> > -I/c/builds/workspace/starpu-trunk-windows/starpu-1.2.0/build/../../starpu-win32-build-1.2.0/include/starpu/1.2
> > -I/usr/local/include
> > those directories do not contain starpu.h.
> >
> > I meant by adding CUDA kernel, that till now I can only write and run
> > code with cpu_funcs only using the batch file starpu_exec. But I do not
> > know a specfic way to compile and rund source code with cuda_funcs in
> > windows.
> >
> > After running starpu_machine_display, I figured out that Starpu could not
> > see my CUDA device also !
> >
> > I really appreciate your help. Thanks in advance
> >
> > Best regards,
> >
> > Ahmed Hosny Mohammed
> > Teaching and Research Assistance
> > Computer Science Department
> > Faculty of Computers and Information
> > Assiut University
> > Egypt
> >
> > ________________________________________
> > From: Nathalie Furmento [nathalie.furmento@labri.fr]
> > Sent: Monday, January 13, 2014 9:50 AM
> > To: Eng.Ahmed Hosny
> > Cc: starpu-devel@lists.gforge.inria.fr
> > Subject: Re: [Starpu-devel] [Inquiry]Starpu Windows Build
> >
> > Dear Ahmed,
> >
> > Does the command
> >
> > pkg-config --cflags starpu-1.2
> >
> > return something?
> >
> > If not, you should make sure the PKG_CONFIG_PATH variable is properly
> > set, as explained in the README file of the tutorial directory.
> >
> > What do you mean by i couldn't add CUDA kernel? It's very likely StarPU
> > will choose the CPU implementation when executing a basic
> > codelet. You can force the CUDA implementation by setting STARPU_NCPUS=0
> > when running your application. It could also be StarPU
> > does not see your CUDA devices. Run
> >
> > starpu_machine_display
> >
> > to print a list of the devices StarPU finds on your machine.
> >
> > Regards,
> >
> > Nathalie Furmento
> >
> > On Jan 13, 01:51, Eng.Ahmed Hosny wrote:
> > >
> > >
> > > Dear Sir,
> > >
> > > I have an inquiry about windows build. Whenever I try to run
> > > /starpu-win32/share/doc/starpu/tutorial "make hello_world" or even
> > > "make vector_scal" after setting the environment variable from Cygwin,
> > > no such file or directory error <starpu.h> error appears. After I tried
> > > to add include directory to the Makefile, cannot find -lstarpu1.2 error
> > > appears. I have successfully compiled hello_world sample using
> > > starpu_exec.bat but I couldn't add CUDA kernel. I tried the tutorial
> > > but unfortunately, it doesn't work with me. I really appreciate your
> > > help for steps to run the StarPu environment on Windows.
> > >
> > > Waiting for your kind reply.
> > >
> > > Thanks,
> > >
> > >
> > > Best regards,
> > >
> > > Ahmed Hosny Mohammed
> > > Teaching and Research Assistance
> > > Computer Science Department
> > > Faculty of Computers and Information
> > > Assiut University
> > > Egypt
> > >
> > > _______________________________________________
> > > Starpu-devel mailing list
> > > Starpu-devel@lists.gforge.inria.fr
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel
> >
> > --
> > ----------------------------------------------------------------------------
> > Dr Nathalie Furmento CNRS R&D Engineer
> > Centre de Recherche INRIA Bordeaux Sud-Ouest
> > http://www.labri.fr/~furmento/
> > 200 avenue de la vieille Tour Tel: +33 (0)5 24 57 41 20
> > 33405 Talence cedex, FRANCE Fax: +33 (0)5 24 57 40 41
> > ----------------------------------------------------------------------------
>
> --
> ----------------------------------------------------------------------------
> Dr Nathalie Furmento Ingénieur de recherche CNRS
> Centre de Recherche INRIA Bordeaux Sud-Ouest http://www.labri.fr/~furmento/
> 200 avenue de la vieille Tour Tel: +33 (0)5 24 57 41 20
> 33405 Talence cedex, FRANCE Fax: +33 (0)5 24 57 40 41
> ----------------------------------------------------------------------------



--
----------------------------------------------------------------------------
Dr Nathalie Furmento Ingénieur de recherche CNRS
Centre de Recherche INRIA Bordeaux Sud-Ouest http://www.labri.fr/~furmento/
200 avenue de la vieille Tour Tel: +33 (0)5 24 57 41 20
33405 Talence cedex, FRANCE Fax: +33 (0)5 24 57 40 41
----------------------------------------------------------------------------





Archives gérées par MHonArc 2.6.19+.

Haut de le page