Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Building StarPU on Windows

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Building StarPU on Windows


Chronologique Discussions 
  • From: George Russell <george@codeplay.com>
  • To: Samuel Thibault <samuel.thibault@ens-lyon.org>, starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Building StarPU on Windows
  • Date: Tue, 22 Feb 2011 14:49:01 +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>

On 21/02/2011 19:21, Samuel Thibault wrote:
George Russell, le Mon 21 Feb 2011 19:06:18 +0100, a écrit :
I see that StarPU 0.4 is available for Windows in binary form. However, it
does
not look like the OpenCL support is enabled in the library (from looking in
the
config.h and seeing #defines for OpenCL are commented out, unlike CUDA, for
example). Is that indeed the case?
We didn't build the OpenCL support indeed, because we weren't sure how
the OpenCL ABI is supposed to be used.
Do you mean the ABI of the OpenCL API library (e.g. the abstraction over the various driver stacks) and the interoperability between those (for MSVC, I imagine) and StarPU compiled with GCC? Can I take this to mean that the OpenCL support of StarPU hasn't been tested on Windows?
and b) has anyone gotten StarPU built and used with MSVC?
We do not target building StarPU with MSVC, but it should be usable with
MSVC. We have however not done so with 0.4, but only with the current
svn version.

Samuel

OK;

I also tried building 0.4 on MaxOS X 10.6, and got the following configure error:

checking for lib... no
checking for pthread_create in -lpthread... no
configure: error: pthread_create unavailable
imac:starpu-0.4 grrussel$ uname -a
Darwin imac.lan 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
imac:starpu-0.4 grrussel$ less config.log
configure:14824: checking for pthread_create in -lpthread
configure:14849: gcc -o conftest -g -O2 -march=i686 conftest.c -lpthread >&5
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
configure:14849: $? = 1


It looks like the use of -march with GCC is the problem. I don't think it is actually necessary, either.

Cheers,
George






Archives gérées par MHonArc 2.6.19+.

Haut de le page