Corv / CUDA-GMM-MPI

CUDA implementation of data clustering using expectation maximization with a Gaussian mixture model. Supports multiple GPUs on a single node and MPI communication between multple nodes.
http://apangborn.com/projects/cuda-clustering/
15 stars 4 forks source link

how to building it with cuda7.0? #1

Open andyyuan78 opened 9 years ago

andyyuan78 commented 9 years ago

ubgpu@ubgpu:/usr/local/cuda/src$ sudo git clone https://github.com/Corv/CUDA-GMM-MPI.git Cloning into 'CUDA-GMM-MPI'... remote: Counting objects: 15, done. remote: Compressing objects: 100% (13/13), done. remote: Total 15 (delta 2), reused 15 (delta 2), pack-reused 0 Unpacking objects: 100% (15/15), done. Checking connectivity... done. ubgpu@ubgpu:/usr/local/cuda/src$ ubgpu@ubgpu:/usr/local/cuda/src$ ubgpu@ubgpu:/usr/local/cuda/src$ cd CUDA-GMM-MPI/ ubgpu@ubgpu:/usr/local/cuda/src/CUDA-GMM-MPI$ ll total 136 drwxr-xr-x 3 root root 4096 7月 12 01:04 ./ drwxr-xr-x 3 root root 4096 7月 12 01:04 ../ -rw-r--r-- 1 root root 61658 7月 12 01:04 gaussian.cu -rw-r--r-- 1 root root 2503 7月 12 01:04 gaussian.h -rw-r--r-- 1 root root 24217 7月 12 01:04 gaussian_kernel.cu drwxr-xr-x 8 root root 4096 7月 12 01:04 .git/ -rw-r--r-- 1 root root 1569 7月 12 01:04 INSTALL -rw-r--r-- 1 root root 8022 7月 12 01:04 invert_matrix.cpp -rw-r--r-- 1 root root 183 7月 12 01:04 invert_matrix.h -rw-r--r-- 1 root root 2375 7月 12 01:04 Makefile -rw-r--r-- 1 root root 3279 7月 12 01:04 readData.cpp -rw-r--r-- 1 root root 7424 7月 12 01:04 README.txt ubgpu@ubgpu:/usr/local/cuda/src/CUDA-GMM-MPI$ make Makefile:51: ../../common/common.mk: No such file or directory make: * No rule to make target `../../common/common.mk'. Stop. ubgpu@ubgpu:/usr/local/cuda/src/CUDA-GMM-MPI$ make Makefile:51: ../../common/common.mk: No such file or directory make: * No rule to make target`../../common/common.mk'. Stop. ubgpu@ubgpu:/usr/local/cuda/src/CUDA-GMM-MPI$ ubgpu@ubgpu:/usr/local/cuda/src/CUDA-GMM-MPI$ cd .. ubgpu@ubgpu:/usr/local/cuda/src$ make make: *\ No targets specified and no makefile found. Stop. ubgpu@ubgpu:/usr/local/cuda/src$

Corv commented 9 years ago

I haven't tried to build it since CUDA 3.0

At the time it was written, the makefile was written assuming that the project lived inside the SDK folder next to the other CUDA sample projects (See the README file). So either the project folder isn't in the right location, or the CUDA SDK makefiles have been changed and "common.mk" either no longer exists or was moved.

andyyuan78 commented 9 years ago

are you give up this project?