GithubHelp home page GithubHelp logo

Comments (7)

ConduciveMocha avatar ConduciveMocha commented on June 4, 2024

Is your path set correctly? It looks like CMAKE can't find your toolkit. Let me know if you get this working. I've been trying for hours to build this with the same configuration with no luck

from amgx.

ningjiafei avatar ningjiafei commented on June 4, 2024

I have set path but I can't sure that is complete. It seem that CMAKE can't find something about MPI and CUDA.
CUDA_PATH_V10_0 = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0
CUDA_PATH = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0
MSMPI_BIN = C:\Program Files\Microsoft MPI\Bin\

from amgx.

ningjiafei avatar ningjiafei commented on June 4, 2024

Here is another question that why every folder has a CMAKELIST.TXT? Does that indicate that every folder could be compile separately?

from amgx.

Doublove avatar Doublove commented on June 4, 2024

The error "CMake Error at CMakeLists.txt:247 (STRING):" means cmake didn't select any CUDA toolkit version because you only installed CUDA10.0 when the cmake only got 9.x max. I found one solution to write your own CUDA toolkit version's cmake just by changing the 9 to 10.

from amgx.

ningjiafei avatar ningjiafei commented on June 4, 2024

for the error :
CMake Error at CMakeLists.txt:247 (STRING):
STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
I change the command 247
from
STRING(REGEX REPLACE " " ";" CUDA_ARCH ${CUDA_ARCH})
to
STRING(REGEX REPLACE " " ";" CUDA_ARCH $"{CUDA_ARCH}")

AND setup the MPICH2
Now I compile AMGX with cmake successfully .
BUT the sln file couldn't work fine, I can't build it in VS2017.

from amgx.

ningjiafei avatar ningjiafei commented on June 4, 2024

The error "CMake Error at CMakeLists.txt:247 (STRING):" means cmake didn't select any CUDA toolkit version because you only installed CUDA10.0 when the cmake only got 9.x max. I found one solution to write your own CUDA toolkit version's cmake just by changing the 9 to 10.

OH I SEE!!! THANK YOU !!

from amgx.

ningjiafei avatar ningjiafei commented on June 4, 2024

The error "CMake Error at CMakeLists.txt:247 (STRING):" means cmake didn't select any CUDA toolkit version because you only installed CUDA10.0 when the cmake only got 9.x max. I found one solution to write your own CUDA toolkit version's cmake just by changing the 9 to 10.
“ write your own CUDA toolkit version's cmake just by changing the 9 to 10.” build successfully,but the solution couldn't work. We may rewrite the CMakeLists.txt:242-244 that:
IF(CUDA_VERSION_MAJOR MATCHES 10)
SET(CUDA_ARCH "35 52 60 75" CACHE STRING "Target Architectures (SM35 SM52 SM60 SM75), multiple are allowed")
ENDIF(CUDA_VERSION_MAJOR MATCHES 10)

from amgx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.