Skip to content
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

Merged
merged 1 commit into from
Jun 8, 2018
Merged

Update Readme #9

merged 1 commit into from
Jun 8, 2018

Conversation

r0mainK
Copy link
Contributor

@r0mainK r0mainK commented May 28, 2018

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

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:
Copy link
Collaborator

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
Copy link
Collaborator

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/```
Copy link
Collaborator

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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is Dockerfile

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please link it

Copy link
Contributor Author

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/```
Copy link
Collaborator

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

Copy link
Contributor Author

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
Copy link
Collaborator

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

Copy link
Contributor Author

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]>
@vmarkovtsev vmarkovtsev merged commit b58093b into src-d:master Jun 8, 2018
@r0mainK r0mainK deleted the feature/readme branch June 8, 2018 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants