Comments (7)
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.
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.
Here is another question that why every folder has a CMAKELIST.TXT? Does that indicate that every folder could be compile separately?
from amgx.
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.
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.
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.
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)
- Build issue with OMP requirement HOT 1
- AMGX 2.3.0 still indicates 2.2.0.132-opensource HOT 1
- Mixed precision modes not currently supported for CUDA 10.1 or later? HOT 2
- CMAKE [Build] error HOT 1
- [Build] v2.4.0 with Cuda 11.0 HOT 4
- Benchmarking HOT 1
- [Build] HOT 3
- Is there a way to reduce solve setup time? HOT 1
- [Build] Build Error with MVAPICH2-GDR HOT 5
- Seeking Advice on Configuring AMGX for Solving a Poorly-Conditioned Matrix Equation
- Seeking Advice on Configuring AMGX for Solving a Poorly-Conditioned Matrix Equation HOT 2
- [Issue] Recovering from out of memory error
- [Build] OKay to ENABLE NvToolsExt for Windows? HOT 2
- [Build] CMake Error in Windows with GCC HOT 2
- [Build] _NV_IF__NV_TARGET_BOOL_NV_PROVIDES_SM_90 is undefined HOT 1
- Error trying to build an app that uses AmgX HOT 6
- AMGX Fails to Converge to the Correct Solution
- Seeking advice for setting up solver for finite element
- [Issue]solution depends on the number of levels of AMG grid
- AMGX crashed due to out of memory[Issue]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amgx.