Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Fortran interface for StarPU

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Fortran interface for StarPU


Chronologique Discussions 
  • From: Alfredo Buttari <alfredo.buttari@enseeiht.fr>
  • To: Olivier Aumage <olivier.aumage@u-bordeaux.fr>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Fortran interface for StarPU
  • Date: Tue, 5 Jul 2016 10:46:56 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=alfredo.buttari@gmail.com; spf=Pass smtp.mailfrom=alfredo.buttari@gmail.com; spf=None smtp.helo=postmaster@mail-wm0-f50.google.com
  • Ironport-phdr: 9a23:WXhHZhbPvELNqt4McUXeEDz/LSx+4OfEezUN459isYplN5qZpcW6bnLW6fgltlLVR4KTs6sC0LuO9fq8EjRdqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ3pzxjbz5o8CbSj4LrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGx48sgs/M9YUKj8Y79wDfkBVGxnYCgJ45jMsRjdTAaVrlIBV2wZn1IcBAzE8hD3RNH4ry7zuedVxWyQOtf6QLkpSXKs9fE4ZgXvjXIuMzAj/W3QwuZtkL5SuhPp8xV7zZTZbIbTPudiYqrHfPsXQ3FMU8dRS2pPGNXvPMM0E+MdMLMA/MHGrFwUoE77XFH0CQ==
  • 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>

Dear Olivier,
I've followed your commits on the SVN repository over this last few days but did not have time to test the Fortran interface. I have to say, though, that it looks very neat and I am looking forward to give it a spin. I'll let you have some feedback ASAP.

ciao
Alfredo



On Tue, Jul 5, 2016 at 10:31 AM, Olivier Aumage <olivier.aumage@u-bordeaux.fr> wrote:
Hi Alfredo,

I finally found some time to integrate this within StarPU, together with a few additional tweaks.

I made some modifications to the proposal so as to make it possible to write native Fortran applications on top of StarPU, without having to write C code at all on the application side.

The currently supported Fortran StarPU functions are listed in STARPU/include/fstarpu_mod.f90

Some examples are available in STARPU/examples/native_fortran/. This directory also contains autonomous Makefiles to compile them from outside the StarPU build system.

Somes notes:
- fully native Fortran apps are supported with GFortran >= 4.9 and Intel Fortran >= 2016. I have not yet tested this with other compiler brands.
- the Fortran task implementation functions have to be declared in a module outside the main program source file, to avoid some link-time issue.
- the native Fortran interface is available in StarPU's SVN repository, in the trunk/ and in the starpu-1.2/ branches.

Please let me know if you have any suggestion, or need some additional key C StarPU functions in the Fortran interface.

Best regards,
--
Olivier




--
-----------------------------------------
Alfredo Buttari, PhD
CNRS-IRIT
2 rue Camichel, 31071 Toulouse, France
http://buttari.perso.enseeiht.fr



Archives gérées par MHonArc 2.6.19+.

Haut de le page