ModuleNotFoundError: No module named 'cpufit' - Running 'make'
Trying to make gpufit on CentOS Linux. The error I receive is:
[ 2%] Building CXX object Cpufit/CMakeFiles/Cpufit.dir/cpufit.cpp.o
[ 5%] Building CXX object Cpufit/CMakeFiles/Cpufit.dir/info.cpp.o
[ 8%] Building CXX object Cpufit/CMakeFiles/Cpufit.dir/lm_fit.cpp.o
[ 11%] Building CXX object Cpufit/CMakeFiles/Cpufit.dir/lm_fit_cpp.cpp.o
[ 14%] Building CXX object Cpufit/CMakeFiles/Cpufit.dir/interface.cpp.o
[ 17%] Linking CXX shared library libCpufit.so
[ 17%] Built target Cpufit
[ 17%] Built target PYTHON_PACKAGE_CPUFIT
[ 20%] Preparing Python Wheel
Traceback (most recent call last):
File "setup.py", line 10, in
Steps to reproduce have been from:
mkdir Gpufitcd Gpufitpython -m venv venvsource venv/bin/activatepip install wheelpip install Cmakegit clone https://github.com/gpufit/Gpufit.git Gpufitmdkir Gpufit-buildcd Gpufit-build/cmake -DCMAKE_BUILD_TYPE=RELEASE ../Gpufitmake
Running with python/3.7, CUDA/9.1 and gcc/6.
It looks like this is a problem with the python cpufit binding project. I have gotten gpufit to compile by rowing back to an earlier version before the pycpufit merge:
'git reset --hard 12b3cf4f9b0bf040e06f24d71f0364cc59e8e6d7' and then following the normal cmake procedure gets it to compile for me.
Hi, as mentioned, this problem was introduced in the recent commits. We will work on fixing it. Thanks for raising the issue.
@Kubiczek36