Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] Build issues On Windows8.1

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] Build issues On Windows8.1


Chronologique Discussions 
  • From: Sreeprakash S <sreeprakash.s@creativegenius.co.in>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: [Starpu-devel] Build issues On Windows8.1
  • Date: Mon, 16 Feb 2015 19:45:00 +0530
  • 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>

Hi,

I had downloaded StarPu-1.1.3.tar.gz from StarPU download link. I was trying to build it on Windows 8.1. As mentioned in the install doc I have installed the latest version of MinGW and hwloc and the latest Cuda SDK. I ran configure and it worked fine, except for some warnings. The command I used was 

../configure --prefix=$PWD/target --with-hwloc="C:/HWLOC" --with-cuda-dir="C:/StarPu/CUDA/v6.5" --with-cuda-include-dir="C:/StarPu/Cuda/v6.5/include" --with-cuda-lib-dir="c:/StarPu/Cuda/v6.5/lib/win32" --with-opencl-dir="c:/StarPu/Cuda/v6.5" --with-opencl-include-dir="c:/StarPu/Cuda/v6.5/include/cl" --with-opencl-lib-dir="c:/StarPu/Cuda/v6.5/lib/win32" --disable-build-doc --enable-quick-check 

One warning was there : "configure:
WARNING: SOCL test suite will not be run as the environment variable SOCL_OCL_
B_OPENCL is not defined.
To run the tests, you need to install the OCL implementation of ICD
(https://forge.imag.fr/projects/ocl-icd/ or Debian package ocl-icd-libopencl1)
and set the variable SOCL_OCL_LIB_OPENCL to the location of the libOpenCL.so"

PFA, the config log.

After this, I ran the make file. But it gave the following errors.

"In file included from ../../include/starpu.h:63:0,
                 from ../../src/common/timing.c:18:
../../include/starpu_profiling.h:150:29: note: expected 'struct timespec *' but
argument is of type 'struct timespec *'
 static __starpu_inline void starpu_timespec_sub(const struct timespec *a,
                             ^
../../src/common/timing.c: At top level:
../../src/common/timing.c:235:8: error: conflicting types for 'starpu_timing_tim
espec_to_us'
 double starpu_timing_timespec_to_us(struct timespec *ts)
        ^
In file included from ../../include/starpu.h:63:0,
                 from ../../src/common/timing.c:18:
../../include/starpu_profiling.h:168:8: note: previous declaration of 'starpu_ti
ming_timespec_to_us' was here
 double starpu_timing_timespec_to_us(struct timespec *ts);
        ^
make[2]: *** [libstarpu_1.1_la-timing.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1"

Can you please guide me in fixing the errors. I haven't altered the source. Am using Microsoft Visual Studio 2013.

Thanks in Advance,
Sreeprakash


Attachment: config.log
Description: Binary data




Archives gérées par MHonArc 2.6.19+.

Haut de le page