Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] nvcc on windows visual studio and hwloc
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-03-08 04:58:53


Nathalie Furmento, le Tue 08 Mar 2011 10:38:14 +0100, a écrit :
> On 08/03/2011 10:31, Nathalie Furmento wrote:
> >I need to compile some CUDA applications on windows, these
> >applications include (indirectly) hwloc.h.
> >
> >The nvcc compiler which uses windows visual studio complains it does
> >not find the file unistd.h
> >
> >.../hwloc-win32-build-1.1.1/include\hwloc/config.h (104): fatal error
> >C1083: Cannot open include file: 'unistd.h': No such file or directory
> >
> I just tried to comment out the include <unistd.h>, it gives another error:
>
> .../hwloc-win32-build-1.1.1/include\hwloc.h (25): fatal error C1083:
> Cannot open include file: 'stdint.h': No such file or directory

Could you try the attached patch?

Samuel



  • text/plain attachment: patch