Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: uma boregowda <umaboregowda@gmail.com>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] (sans objet)
- Date: Sun, 18 Mar 2012 08:12:43 +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>
The command given in
http://runtime.bordeaux.inria.fr/StarPU/starpu.html#Execution-of-Hello-World
supposes you have modify your existing makefile as explained in
http://runtime.bordeaux.inria.fr/StarPU/starpu.html#Compiling-and-linking-options
and that you run the command 'make hello_world'
the line 'cc ....' should be displayed by the execution of the makefile, it
is not you who types it.
If you do not want to write a makefile, you can simply type the cc command
yourself.
% cc $(pkg-config --cflags starpu-1.0) $(pkg-config --libs starpu-1.0)
hello_world.c -o hello_world
I would suggest first to check that the pkg-config command returns a correct
result
% pkg-config --cflags starpu-1.0
% pkg-config --libs starpu-1.0
Cheers,
Nathalie
On Mar 18, 05:30, uma boregowda wrote:
> Hi,
>
> sorry , i am not yet successful in running my own applciation on starpu.
>
> My goal : To compile & execute my own appication.
>
> As you said , 2 ways to do it.
>
> Method -1
> if you add your application to the existing examples directory, and modify
> Makefile.am accordingly, compiling it will provide the wrapper script.
>
> But -
> 1. how to modify Makefile.am,
>
> 2. I opened Makefile.am, a big file.
> Should have to include my new filename in appropriate places in that
> file.
>
>
> Method -2
> But if you compile your application in your own directory by using
> pkg-config as explained in the documentation, you will then produce a
> executable which does not need the libtool wrapper script.
>
> Well, i tried the command given in documentation.
>
> I copied the given hello_world.c to a new directory & tried the below
> command, it gives error.
>
> $make hello_world cc $(pkg-config --cflags starpu-1.0) $(pkg-config --libs
> starpu-1.0) hello_world.c -o hello_world
>
> make: invalid option -- '/'
> make: invalid option -- 'u'
> make: invalid option -- '/'
>
> Well, i have set both PKG_CONFIG_PATH & LIBRARY_PATH
>
>
> I did not understand the above command .
>
> I do not whether i could properly convey my problem.
>
> I want to run new application using starpu. If possible, brief explaination
> as to how an application gets executed on strapu.
>
> with best wishes
> uma
>
>
>
>
> On Fri, Mar 16, 2012 at 3:44 PM, Nathalie Furmento <
> nathalie.furmento@labri.fr> wrote:
>
> > **
> > Uma,
> >
> > I am not sure i understand exactly your inquiry. When compiling StarPU,
> > the applications indeed produce a libtool wrapper script and the
> > executable
> > itself. This is specific to libtool and is certainly not required to
> > execute a StarPU application.
> >
> > if you add your application to the existing examples directory, and modify
> > Makefile.am accordingly, compiling it will provide the wrapper script. But
> > if you compile your application in your own directory by using pkg-config
> > as explained in the documentation, you will then produce a executable
> > which
> > does not need the libtool wrapper script.
> >
> > Cheers,
> >
> > Nathalie
> >
> > On 16/03/2012 03:11, uma boregowda wrote:
> >
> >
> > Hi,
> >
> > In example folder, there are wrapper scrpits for many programs.
> >
> > Why wrapper scripts are not given to few programs ? May i know, why?
> >
> > Now if i write a new program, how to write wrapper script, for it to be
> > compiled and executed.
> >
> > with best wishes
> > uma
> >
> >
> >
> > _______________________________________________
> > Starpu-devel mailing
> > listStarpu-devel@lists.gforge.inria.frhttp://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/
351 cours de la Libération, Bât A29 Tel: +33 (0)5 24 57 41 20
33405 Talence cedex, FRANCE Fax: +33 (0)5 24 57 40 41
----------------------------------------------------------------------------
- Re: [Starpu-devel] (sans objet), (suite)
- Re: [Starpu-devel] (sans objet), Ludovic Courtès, 15/03/2012
- Re: [Starpu-devel] (sans objet), uma boregowda, 16/03/2012
- [Starpu-devel] Fwd: (sans objet), uma boregowda, 15/03/2012
- Message indisponible
- Re: [Starpu-devel] (sans objet), Ludovic Courtès, 15/03/2012
- Re: [Starpu-devel] (sans objet), Ludovic Courtès, 15/03/2012
- [Starpu-devel] (sans objet), uma boregowda, 16/03/2012
- Re: [Starpu-devel] (sans objet), Nathalie Furmento, 16/03/2012
- Re: [Starpu-devel] (sans objet), uma boregowda, 18/03/2012
- Re: [Starpu-devel] (sans objet), Nathalie Furmento, 18/03/2012
- Re: [Starpu-devel] (sans objet), Cedric Augonnet, 19/03/2012
- Re: [Starpu-devel] (sans objet), uma boregowda, 18/03/2012
- Re: [Starpu-devel] (sans objet), Nathalie Furmento, 16/03/2012
Archives gérées par MHonArc 2.6.19+.