Hello everyone,
I am sure this is an easy fix but I am really struggling with the basics of 
the Chrono installation. I would like to do DEM Modelling and I am 
following the installation guide. 


   1. Downloaded Visual Studio 2022 Community
   2. Installed CMake 4.1.0
   3. Installed Source tree
   4. Installed CUDA GPU Computing Toolkit v13.0 (Windows 11 x64). 
      1. Path: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0
   5. Thrust came with CUDA
   6. Installed Eigen 3.4.0 
      1. Path: C:\packages\eigen-3.4.0
   7. Used GIT to create repository in C:/workspace/chrono, where I pushed 
   the chrono extracted zip
   8. Followed the  cmake-gui guide exactly as shown. 
   9. Specified correctly Eigen PATH.
   10. Click Configure

I have tried specifying the Entry CUDAToolkit_ROOT Path set as C:/Program 
Files/NVIDIA GPU Computing Toolkit/CUDA/v13

Also specifying my GPU in CHRONO_CUDA_ARCHITECTURE set as string 89. I have 
a  NVIDIA GeForce RTX 4070 laptop

I have tried uninstalling and re-installing everything. Updates NVIDIA 
drivers, tried uninstalling CUDA Toolkit version 13 and used 12.6 as a 
friend said it worked for him. Nothing is working

*I get the following log:*

We are on a Windows system

The host processor is AMD64

Building for a Windows system

The target processor is AMD64

Using a multi-config generator (Visual Studio 17 2022)

Data directory copied to: C:/workspace/chrono_build/bin/data/

Binaries will be created in C:/workspace/chrono_build/bin/<CONFIGURATION>/

Visual Studio version: 1944

C++14 compiler support: TRUE

C++17 compiler support: TRUE

Searching for Eigen3

Eigen3 found. EIGEN3_INCLUDE_DIR: C:/packages/eigen-3.4.0

Target supports AVX2 instructions

Target supports SSE instructions

Target supports AVX2 FMA instructions

MSVC FMA requires enabling whole program optimization; FMA disregarded

SIMD optimization:

AVX2 found and enabled? TRUE

AVX found and enabled? FALSE

FMA found and enabled? FALSE

NEON found? FALSE

SIMD AVX version: 2.0

SIMD SSE version: 4.2

SIMD flags: /arch:AVX2

Searching for Threads

Thread library: 

Using Win32 threads? 1

Using pthreads? 

Searching for OpenMP

OpenMP version: 4.0

Searching for MPI for C++

MPI compiler: MPI_CXX_COMPILER-NOTFOUND

MPI compile flags: 

MPI include path: C:/Program Files (x86)/Microsoft SDKs/MPI/Include

MPI link flags: 

MPI libraries: C:/Program Files (x86)/Microsoft SDKs/MPI/Lib/x64/msmpi.lib

MPIEXEC: C:/Program Files/Microsoft MPI/Bin/mpiexec.exe

MPIEXEC_NUMPROC_FLAG: -n

MPIEXEC_PREFLAGS: 

MPIEXEC_POSTFLAGS: 

Searching for CUDA

WARNING CUDA not found. CUDA features will be disabled.

Searching for Thrust

Thrust version: 2.5.0

Thrust include dir: C:/Program Files/NVIDIA GPU Computing 
Toolkit/CUDA/v12.6/include


==== Chrono Engine core module ====


CMake Warning (dev) at src/chrono/CMakeLists.txt:656 (elseif):
ELSEIF called with no arguments, it will be skipped.
This warning is for project developers. Use -Wno-dev to suppress it.

Add Chrono multicore collision detection library

Using SIMD flags: /arch:AVX2

Warning level set to /W4


==== Chrono models ====


Add ChronoModels_robot library


==== Demo programs ====


Add demo programs for CORE module

Add demo programs for FEA module

Add demo programs for ROBOT models

Warning: the Industrial projects require Chrono::Irrlicht

Warning: the Robosimian projects require Chrono::Vehicle!


Configuring done (2.2s)



WHEN I ALSO SPECIFY THE ENTRY CMAKE_CUDA_COMPILER as path for  C:/Program 
Files/NVIDIA GPU Computing Toolkit/CUDA/v12.6/bin/nvcc.exe

I instead get this error log:

Pop up window Error Message: "Error in configuration process, project files 
may be invalid"
And the log:

[... same as before ...]

Searching for MPI for C++

MPI compiler: MPI_CXX_COMPILER-NOTFOUND

MPI compile flags: 

MPI include path: C:/Program Files (x86)/Microsoft SDKs/MPI/Include

MPI link flags: 

MPI libraries: C:/Program Files (x86)/Microsoft SDKs/MPI/Lib/x64/msmpi.lib

MPIEXEC: C:/Program Files/Microsoft MPI/Bin/mpiexec.exe

MPIEXEC_NUMPROC_FLAG: -n

MPIEXEC_PREFLAGS: 

MPIEXEC_POSTFLAGS: 

Searching for CUDA

CMake Error at C:/Program 
Files/CMake/share/cmake-4.1/Modules/CMakeDetermineCompilerId.cmake:676 
(message):
No CUDA toolset found.
Call Stack (most recent call first):
C:/Program 
Files/CMake/share/cmake-4.1/Modules/CMakeDetermineCompilerId.cmake:8 
(CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program 
Files/CMake/share/cmake-4.1/Modules/CMakeDetermineCompilerId.cmake:53 
(__determine_compiler_id_test)
C:/Program 
Files/CMake/share/cmake-4.1/Modules/CMakeDetermineCUDACompiler.cmake:162 
(CMAKE_DETERMINE_COMPILER_ID)
src/CMakeLists.txt:319 (enable_language)

Configuring incomplete, errors occurred!


Any help is appreciated! I am trying to get started in DEM Modelling and I 
don't know what I am doing wrong. 

Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to projectchrono+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/bc39b515-4140-49d3-b011-7545112f3107n%40googlegroups.com.

Reply via email to