Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] (sans objet)

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] (sans objet)


Chronologique Discussions 
  • From: Cedric Augonnet <cedric.augonnet@inria.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 16:33:50 -0700
  • 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>

Hi,

Method 2 looks like a much more serious approach... Modifying the Makefile.am will only give you troubles and you'll have to go to the second approach at some point anyhow.

You should look at the output of the "pkg-config --cflags starpu-1.0" and "pkg-config --libs starpu-1.0", keeping in mind that they should be valid compiler flags.

Best,

Cedric

Le 17 mars 2012 à 17:00, uma boregowda a écrit :

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 list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel


_______________________________________________
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel




Archives gérées par MHonArc 2.6.19+.

Haut de le page