Hi MDP, Chrono is not currently compatible with CUDA 12.5. We recommend sticking with 12.3 until the fix will come!
Dario Il giorno mercoledì 12 giugno 2024 alle 12:46:57 UTC+2 MDP ha scritto: > Dear all, > > I'm writing here to ask your help with my installation of ProjectChrono, > that fails independently of the version. > > Here the system: a Dell workstation with two NVIDIA RTX A4000, Ubuntu > 22.04 LTS x64 (server) with CUDA 12.5 (installed with .deb method). > I want to run ProjectChrono 9.0.0 with lot of modules and, after > installing CUDA (please see the attached file > "dpkg_CUDA12.5_ProjectChrono9.0.0.txt"), I followed this procedure: > > # Installing common required packages > sudo apt install git cmake make automake g++ gcc mpich libeigen3-dev > libirrlicht-dev swig python3-dev occt-misc libocct-data-exchange-dev > libocct-draw-dev libocct-foundation-dev libocct-modeling-data-dev > libocct-ocaf-dev libocct-visualization-dev libgl-dev libglew-dev > libglfw3-dev libglm-dev > > # Compiling Blaze for the MULTICORE module > sudo apt install libblas-dev liblapack-dev libboost-all-dev > wget https://bitbucket.org/blaze-lib/blaze/downloads/blaze-3.8.2.tar.gz > tar > xvf blaze-3.8.2.tar.gz > mkdir blaze-3.8.2-build && cd blaze-3.8.2-build > cmake ../blaze-3.8.2 -DCMAKE_INSTALL_PREFIX=/usr/local/blaze-3.8.2 > make && sudo make install > > # Compiling DEM-Engine > git clone https://github.com/projectchrono/DEM-Engine.git > git submodule init > git submodule update > mkdir build && cd build > # Append in "/etc/profile" > # > # export > CPATH=/usr/local/cuda/targets/x86_64-linux/include${CPATH:+:${CPATH}} > # export PATH=/usr/local/cuda/bin${PATH:+:${PATH}} > # export PATH=/usr/local/cuda/lib64/cmake${PATH:+:${PATH}} > # export > LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} > # export CUDA_HOME=/usr/local/cuda > cmake -DCMAKE_BUILD_TYPE=Release \ > -DCMAKE_INSTALL_PREFIX=/usr/local/DEM-Engine \ > .. > make && sudo make install > > # ProjectChrono itself > wget > https://github.com/projectchrono/chrono/archive/refs/tags/9.0.0.tar.gz > tar xvf 9.0.0.tar.gz > mkdir chrono-9.0.0-build && cd chrono-9.0.0-build > > cmake -DCMAKE_BUILD_TYPE=Release \ > -DCMAKE_INSTALL_PREFIX=/usr/local/chrono-9.0.0 \ > -DENABLE_MODULE_FSI=1 \ > -DENABLE_MODULE_IRRLICHT=1 \ > -DENABLE_MODULE_MATLAB=1 \ > -DMATLAB_SDK_ROOT=/usr/local/MATLAB/R2023b/extern \ > -DENABLE_MODULE_CASCADE=1 \ > -DENABLE_MODULE_OPENGL=1 \ > -DENABLE_MODULE_POSTPROCESS=1 \ > -DENABLE_MODULE_PYTHON=1 \ > -DPYTHON_INCLUDE_DIR=$(python3 -c "import sysconfig; > print(sysconfig.get_path('include'))") \ > -DPYTHON_LIBRARY=$(python3 -c "import sysconfig; > print(sysconfig.get_config_var('LIBDIR'))") \ > -DENABLE_MODULE_VEHICLE=1 \ > -DENABLE_MODULE_MULTICORE=1 \ > -DBLAZE_INSTALL_DIR=/usr/local/blaze-3.8.2/include/ \ > ../chrono-9.0.0 > > Attached you can find the output of the last "cmake" command, in file > "cmake_command_output.txt", and also "CPackConfig.cmake", "Makefile" and > "CMakeCache.txt". > I get an error with some include of CUDA .cuh files, as you can see in > file "make_command_output.txt". > Same error with versions 8.0.0 and upstream (just a git clone), and I > cannot understand if I miss some cmake/make options or if is related to > some CUDA missing package. > > Many thanks in advance for your help! > Have a nice day. > > MDP > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/89ea2173-aa70-4203-8085-54fd5ac4c1d2n%40googlegroups.com.
