Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] StarPU sur Mac

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] StarPU sur Mac


Chronologique Discussions 
  • From: Matthieu Boileau <matthieu.boileau@math.unistra.fr>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: [Starpu-devel] StarPU sur Mac
  • Date: Wed, 10 Aug 2016 11:50:19 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=matthieu.boileau@math.unistra.fr; spf=None smtp.mailfrom=matthieu.boileau@math.unistra.fr; spf=None smtp.helo=postmaster@mailhost.u-strasbg.fr
  • Ironport-phdr: 9a23:rQO8wxXcvIzGUDcgffHAP8QAb6jV8LGtZVwlr6E/grcLSJyIuqrYZhyAt8tkgFKBZ4jH8fUM07OQ6PG5HzRbqs7R+DBaKdoXBkdD0Z1X1yUbQ+e9QXXhK/DrayFoVO9jb3RCu0+BDE5OBczlbEfTqHDhpRQbGxH4KBYnbr+tQt2asc272qiI9oHJZE0Q3XzmMOo0dE799VWZ9pFPx9AzcuBpklqBi0ALUtwe/XlvK1OXkkS0zeaL17knzR5tvek8/dVLS6TwcvdwZ7VZCDM7LzJ9v5Wz5lGQBTeIs2AAW38Oj19EDhbI6Dn+X4ztqW31uO1n1yTcPMvsTLlyVy7xwb1sTUrNgTsbNz807Sn9jc10gatG6EakrgBjw4/ZfcefM/t6c6rAVdYTWWoHQ8BQTDBbC8Wydd1cXKI6Ie9Eotyl9BM1phykCFz0CQ==
  • 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>

Bonjour,

Je vous informe que la compilation de la version svn actuelle de StarPU (r18428) échoue sur mon Mac : 

boileau@m-boileau:   ~/Documents/svn/StarPU-test/build$ make
Making all in src
make[2]: Nothing to be done for `all-am'.
Making all in tools
make[2]: Nothing to be done for `all-am'.
Making all in tests
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
  CC       parallel_independent_homogeneous_tasks.o
../../tests/microbenchs/parallel_independent_homogeneous_tasks.c:28:6: error: conflicting types for 'wait'
void wait(void *descr[] STARPU_ATTRIBUTE_UNUSED, void *_args){
     ^
/usr/include/sys/wait.h:248:7: note: previous declaration is here
pid_t   wait(int *) __DARWIN_ALIAS_C(wait);
        ^
../../tests/microbenchs/parallel_independent_homogeneous_tasks.c:47:17: warning: incompatible pointer types initializing 'starpu_cpu_func_t'
      (aka 'void (*)(void **, void *)') with an _expression_ of type 'pid_t (int *)' [-Wincompatible-pointer-types]
        .cpu_funcs = { wait },
                       ^~~~
../../tests/microbenchs/parallel_independent_homogeneous_tasks.c:48:18: warning: incompatible pointer types initializing 'starpu_cuda_func_t'
      (aka 'void (*)(void **, void *)') with an _expression_ of type 'pid_t (int *)' [-Wincompatible-pointer-types]
        .cuda_funcs = { wait }, 
                        ^~~~
../../tests/microbenchs/parallel_independent_homogeneous_tasks.c:49:20: warning: incompatible pointer types initializing 'starpu_opencl_func_t'
      (aka 'void (*)(void **, void *)') with an _expression_ of type 'pid_t (int *)' [-Wincompatible-pointer-types]
        .opencl_funcs = { wait },
                          ^~~~
3 warnings and 1 error generated.
make[3]: *** [parallel_independent_homogeneous_tasks.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Je compile avec la version de clang native sur OSX 10.10.5 :

boileau@m-boileau:   ~/Documents/svn/StarPU-test/build$ cc --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

Je configure StarPU avec la commande :
boileau@m-boileau:   ~/Documents/svn/StarPU-test/build$ ../configure --prefix=/opt/starpu-r18428 --enable-opencl --with-fxt=/opt/fxt

Merci pour votre aide.

Cordialement,

Matthieu

Matthieu Boileau
Ingénieur de recherche CNRS

IRMA - UMR 7501
7 rue René Descartes
67084 Strasbourg - France
Tél. : +33 3 68 85 01 73




Archives gérées par MHonArc 2.6.19+.

Haut de le page