-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Readme #9
Conversation
README.md
Outdated
If [numpy](http://www.numpy.org/) headers are not found, | ||
specify the includes path with defining `NUMPY_INCLUDES`. | ||
If you do not want to build the Python native module, add `-D DISABLE_PYTHON=y`. | ||
If CUDA is not automatically found, add `-D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-8.0` | ||
(change the path to the actual one). | ||
(change the path to the actual one). | ||
If you are building from a Docker container you may encounter the error: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in a Docker container
the following error
README.md
Outdated
(change the path to the actual one). | ||
If you are building from a Docker container you may encounter the error: | ||
`Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)` | ||
This means need to get the rest of the CUDA toolkit, which can be installed like in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This means you need to install the rest
README.md
Outdated
This means need to get the rest of the CUDA toolkit, which can be installed like in the | ||
`nvidia/cuda:8.0-devrel` DockerFile. | ||
If you still run into `Could NOT find CUDA (missing: CUDA_INCLUDE_DIRS)` then run: | ||
```cp /usr/local/cuda/targets/x86_64-linux/include/* /usr/local/cuda/include/``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is very hacky to copy headers. Use a symbolic link instead
README.md
Outdated
If you are building in a Docker container you may encounter the following error: | ||
`Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)` | ||
This means you need to install the rest of the CUDA toolkit, which can be installed like in the | ||
`nvidia/cuda:8.0-devrel` DockerFile. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is Dockerfile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please link it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README.md
Outdated
This means you need to install the rest of the CUDA toolkit, which can be installed like in the | ||
`nvidia/cuda:8.0-devrel` DockerFile. | ||
If you still run into `Could NOT find CUDA (missing: CUDA_INCLUDE_DIRS)` then run: | ||
```ln -s /usr/local/cuda/targets/x86_64-linux/include/* /usr/local/cuda/include/``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two whitespaces after ln
, should be one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README.md
Outdated
@@ -33,12 +33,20 @@ Building | |||
``` | |||
cmake -DCMAKE_BUILD_TYPE=Release . && make | |||
``` | |||
It requires cudart, curand >=8.0 and OpenMP 4.0 compatible compiler (**that is, not gcc <=4.8**). | |||
|
|||
It requires cudart, curand 7.5, OpenMP 4.0 compatible compiler (**that is, not gcc <=4.8**) and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mismerge here: 7.5 vs >=8.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yeah that one went over my head, changing
Signed-off-by: Romain Keramitas <[email protected]>
Small update to the README file, I lost a couple hours when I was building a Debug version of MinHashCuda for apollo, added it to the company guide here and was prompted by Eiso to also incorporate some of it in the public doc