Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Issues met during installing and configuration of StarPU

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Issues met during installing and configuration of StarPU


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@inria.fr>
  • To: 11610515 <11610515@mail.sustech.edu.cn>
  • Cc: starpu-devel <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] Issues met during installing and configuration of StarPU
  • Date: Tue, 12 Mar 2019 10:49:30 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=samuel.thibault@inria.fr; spf=Neutral smtp.mailfrom=samuel.thibault@ens-lyon.org; spf=Pass smtp.helo=postmaster@hera.aquilenet.fr
  • Ironport-phdr: 9a23:YjhWFh/qH7Petv9uRHKM819IXTAuvvDOBiVQ1KB42u4cTK2v8tzYMVDF4r011RmVBN2ds6sMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+5oHfbx9UiDagfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRhHohikZKjA382/XhcNsg61Goh2hoBJwzpXIYI2JLvdyYr/RcMkESWdHQ81fVzZBAoS5b4YXEuQOJ+NYr5TjqFsKsBCwGwmsBOL0xTBSm3/22bE62PkmHAHdxgMgGs8Ov2rQrNnvKKcSUeG1w7LSwjXea/NWxSzw6InOchA7oPGDR6h8ccTLyUQ2EQ7Ok1aeqZT9Mj+I1ekAs3KX4/RuWO+hkWIrth19riS1yssxkoXFm40Yxkze+Sh7wos5P8C0RUBhbdOgFJZdsTyROZFsTcM4WW5ovT43yr0Ytp6/eygH0JQnyADFa/OdaYSH+AvjVPuQITd8mn1lfqywhwqo/Uiu0O3wTsi00FBUoSpZitTAq3MA2hzJ5sSZRPZw8F2t1SuT2wzP8O1IPFg4la/BJJ4gxr4wmIATsUPGHiLug0X5lqqWdlg69eis8ejnfrXmpp6HOIBulwH+Nrgul9ehDuQ+KQgCRmyb+OS71L3l50H5R69KjvIunqnDrJ/aPdgbprK+AwJNyYYj9wywDy2+0NQFhHUIMUxKeAyZgIjtIFzOJPH4Deyjg1S3ijtryP7GPrr7ApXCMHfPirbhfbBn605d0gU/195f54gHQo0GdauqBBap6YWFRktgalLtm7u+Vf1434IaH3mSGbOUO6OUvFOVoOkpdbqifogQ7Q30LuUo47bSjX4zkEIZYeH9xpISdX28WOhmIk+QfH7wqtYHC2YD+AQkGr+5wGaeWCJeMi7hF5k34Ss2Xdr/XNXzA7u1ibnE5x+VW5hfZ2RIEFeJSCu6eoOfHvMdbyTUJdVuwGZdCeqRDrQ53BTrjzfUjqJ9J7OMqCwer5PqktZvtbWKyEMCsAdsBsHY6FmjCmF5mmRRFm020bp250Vk11aH3K51n7pWD44K6g==
  • 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>
  • Organization: I am not organized

Hello,

11610515, le mar. 12 mars 2019 17:32:23 +0800, a ecrit:
> 1.We can compile and run most of the code under "basic_example"
> following the document with command:
> $ gcc mult.c `pkg-config starpu-1.2 --cflags` `pkg-config
> starpu-1.2
> --libs` -lm

Ok, now I understand the issue. You do not need to compile examples by
hand, you can just run make inside the examples/ directory and they will
get compiled.

> With warnings in runtime:
> [starpu][initialize_eager_center_policy] Warning: you are running
> the
> default eager scheduler, which is not a very smart scheduler. Make sure to
> read
> the StarPU documentation about adding performance models in order to be
> able to
> use the dmda or dmdas scheduler instead.
> Which we think is normal since we haven't done anything to the
> scheduler.

Indeed.

> 2.We met compile errors when compiling some of the examples under
> "basic_example" with
> $ gcc vector_scal.c `pkg-config starpu-1.2 --cflags` `pkg-config
> starpu-1.2 --libs` -lm
> /tmp/ccTzBv7f.o:(.data+0xf0): undefined reference to
> `scal_cpu_func'

That is not surprising: that example is composed of multiple .c files
that you need to link altogether. Again, just running make will get it
linked appropriately.

> But others executed with problems
> $ ./hello_world_top
> [starpu][initialize_eager_center_policy] Warning: you are
> running the default eager scheduler, which is not a very smart scheduler.
> Make
> sure to read the StarPU documentation about adding
> performance models in order to be able to use the dmda or dmdas scheduler
> instead.
> ../../src/top/starpu_top.c:160 launching network threads
> ../../src/top/starpu_top_connection.c:120 Connection to UI
> initialization

That example requires the launch of the starpu-top alongside.

> $ ./pi
> [starpu][initialize_eager_center_policy] Warning: you are
> running the default eager scheduler, which is not a very smart scheduler.
> Make
> sure to read the StarPU documentation about adding
> performance models in order to be able to use the dmda or dmdas scheduler
> instead.
> [1] 34191 segmentation fault (core dumped) ./pi

That, however, is surprising, it just works here. It would be useful to
take a backtrace of the crash.

> $ ./yuv_downscaler
> yuv_downscaler: ../../examples/ppm_downscaler/
> yuv_downscaler.c:129: main: Assertion `(filesize % sizeof(struct
> yuv_frame)) ==
> 0' failed.
> [1] 34672 abort (core dumped) ./yuv_downscaler

That example needs data, which is not included in the tarball indeed
(and my student didn't take the time to write at least some hints about
that, now done).

> $ ./tasks_size_overhead.gp
> ./tasks_size_overhead.gp: 21: ./tasks_size_overhead.gp:
> cannot
> open tasks_size_overhead.output: No such file

That is just a script that gets run by ./tasks_size_overhead.sh, which
you should use instead.

Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page