Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] nvcc on windows visual studio and hwloc
From: Nathalie Furmento (nathalie.furmento_at_[hidden])
Date: 2011-03-08 10:25:04


On 08/03/2011 10:58, Samuel Thibault wrote:
> 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
>
I tried the patch, it is solving the problem.

Thanks,

Nathalie