Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] python bindings testing help needed
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2013-06-04 04:52:50


(forgot to CC the list)

Le 04/06/2013 10:48, Brice Goglin a écrit :
> Hello,
>
> Here are some slightly fixed tests. cuda/cudart/nvml look good.
> intel-mic looks good but I couldn't test on a real machine (I used XML
> instead), so the cpuset retrieving code wasn't tested.
>
> gl doesn't seem to find any GPU, but I don't know enough about Python to
> debug things. If you have a debugging version, I can test it.
>
> By the way, I couldn't find a "libnuma" python package so I used "numa"
> in hwloc.py instead (that's what PIP was able to install).
>
> Are you working on OpenCL too?
>
> Brice
>
>
>
> Le 03/06/2013 23:16, Guy Streeter a écrit :
>> I'm getting the hwloc-1.7 version of the python bindings ready to go. I've
>> tried to add GL, Intel MIC, NVML, and CUDA support.
>> I can't implement much of CUDA or NVML for lack of python bindings for those
>> libraries, but I did what I could.
>> I can't test any of these for lack of hardware. If you have a Linux system
>> with some appropriate hardware and you can help, please either:
>>
>> clone the git repo at
>> git://git.fedorahosted.org/python-hwloc.git
>> and then checkout the 1.7-devel branch
>>
>> or
>>
>> get the tarball from
>> http://people.redhat.com/streeter/python-hwloc-1.7.tar.bz2
>> and unpack it.
>>
>> Export the PYTHONPATH environment variable to point to the top level
>> directory, then run the various tests, like:
>>
>> python tests/gl.py
>>
>> also cuda.py, cudart.py, intel_mic.py, nvml.py
>>
>> As I said, the CUDA and NVML tests are only partly implemented.
>> All the other tests in the tests directory should match the output of the same
>> test in the hwloc 1.7 source tree.
>>
>> Let me know how it goes.
>> thanks,
>> --Guy
>> _______________________________________________
>> hwloc-devel mailing list
>> hwloc-devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel