Objet : Developers list for StarPU
Archives de la liste
- From: Olivier Aumage <olivier.aumage@inria.fr>
- To: Heike Jagode <jagode@icl.utk.edu>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] startpu 1.2.0 compilation issues
- Date: Wed, 23 Nov 2016 06:27:12 +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>
Hello,
You still can use StarPU with an older FORTRAN compiler by specifying
--disable-fortran at configure time _and_ using a few
straightforward marshalling routines in C. We give a full example on
how to do that in directory STARPU/examples/fortran90/.
Basically, the main FORTRAN code calls some C wrapper functions to submit
tasks to StarPU. Then, when StarPU starts a task, another C wrapper
function calls the FORTRAN routine for the task.
StarPU's native FORTRAN support is more convenient, since it does not
require these C marshalling routines. However, it indeed relies on
very recent FORTRAN specifications, that are only available with
the latest compilers.
Best regards,
--
Olivier
> Le 22 nov. 2016 à 23:46, Heike Jagode <jagode@icl.utk.edu> a écrit :
>
> Nathalie,
>
> Thanks for the reply!
>
> I'm using the following FORTRAN version:
>
> [jagode@dancer ccsd]$ which ifort
> /opt/intel/compilers_and_libraries_2016.0.109/linux/bin/intel64/ifort
> [jagode@dancer ccsd]$ ifort --version
> ifort (IFORT) 16.0.0 20150815
> Copyright (C) 1985-2015 Intel Corporation. All rights reserved.
>
> Yeah, as unfortunate as it sounds, but I really do need FORTRAN support. :-/
>
> Thanks again,
> Heike
>
>
> On Tue, Nov 22, 2016 at 5:34 PM, Nathalie Furmento
> <nathalie.furmento@labri.fr> wrote:
> Hello,
>
> It seems your version of fortran is too old. As stated in the StarPU
> documentation
>
> The Native Fortran support relies on Fortran 2008 specific constructs,
> as well as on the support of interoperability of assumed-shape arrays
> introduced as part of Fortran's Technical Specification ISO/IEC TS
> 29113:2012, for which no equivalent are available in previous versions
> of the standard. It has currently been tested successfully with GNU
> GFortran 4.9, GFortran 5.x, GFortran 6.x and the Intel Fortran Compiler
> >= 2016. It is known not to work with GNU GFortran < 4.9, Intel Fortran
> >Compiler < 2016.
>
> Unless you really need fortran, you should disable the fortran support
> when configuring StarPU. It is done with the option --disable-fortran
>
> Cheers,
>
> Nathalie
>
> On nov. 18, 12:11, Heike Jagode wrote:
> > Hi,
> >
> > I configured StarPU 1.2.0 as follows (see config.log attached):
> >
> > ./configure --prefix=$PWD/install --disable-build-doc --disable-cuda
> > --disable-opencl CC=icc FC=ifort F77=ifort MPICC=mpiicc CXX=icpc
> >
> >
> > During compilation, I get the following error:
> >
> > Error: Assumed-shape array 'arglist' at (1) cannot be an argument to the
> > procedure 'fstarpu_task_insert' at (2) because the procedure is BIND(C)
> > ../../include/fstarpu_mod.f90:1444.63-45:
> >
> > subroutine fstarpu_unpack_arg(cl_arg,bufferlist) bind(C)
> > 2 1
> > Error: Assumed-shape array 'bufferlist' at (1) cannot be an argument to
> > the
> > procedure 'fstarpu_unpack_arg' at (2) because the procedure is BIND(C)
> > ../../include/fstarpu_mod.f90:330.16:
> >
> > function fstarpu_worker_get_by_devid(typeid, devid)
> > bind(C)
> > 1
> >
> > Any suggested what I could be doing wrong?
> > Thanks,
> > Heike
> >
> >
> > --
> > ___________________________________
> > Heike Jagode
> > Innovative Computing Laboratory (ICL)
> > University of Tennessee, Knoxville (UTK)
> > e-mail: jagode@icl.utk.edu
> > phone: +1 865 974 8057
> > fax: +1 865 974 8296
>
>
> > _______________________________________________
> > Starpu-devel mailing list
> > Starpu-devel@lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/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
> ----------------------------------------------------------------------------
>
>
>
> --
> ___________________________________
> Heike Jagode
> Innovative Computing Laboratory (ICL)
> University of Tennessee, Knoxville (UTK)
> e-mail: jagode@icl.utk.edu
> phone: +1 865 974 8057
> fax: +1 865 974 8296
> _______________________________________________
> Starpu-devel mailing list
> Starpu-devel@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/mailman/listinfo/starpu-devel
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- [Starpu-devel] startpu 1.2.0 compilation issues, Heike Jagode, 18/11/2016
- [Starpu-devel] Fwd: startpu 1.2.0 compilation issues, Heike Jagode, 22/11/2016
- Re: [Starpu-devel] startpu 1.2.0 compilation issues, Nathalie Furmento, 22/11/2016
- Re: [Starpu-devel] startpu 1.2.0 compilation issues, Heike Jagode, 22/11/2016
- Re: [Starpu-devel] startpu 1.2.0 compilation issues, Olivier Aumage, 23/11/2016
- Re: [Starpu-devel] startpu 1.2.0 compilation issues, Heike Jagode, 22/11/2016
Archives gérées par MHonArc 2.6.19+.