Please disregard- I had to delete some of the files in my Chrono_build folder because cmake wasn't updating them. After that and a rebuild, the .lib files were created properly. Thank you, Alex Drozda
On Friday, July 19, 2024 at 2:00:38 AM UTC-7 A. Drozda wrote: > Good evening, > > I'm attempting to turn on the Multicore Module in order to work on some > granular terrain simulations. However, VS is returning an error in the > build that ChronoEngine_multicore.lib isn't loading. I did a search on both > the build and source directories, and the file wasn't found in either of > them. Any idea what might be going on? Incidentally, ""_gpu.lib is also not > found. > > Thanks for your help! > Alex Drozda > > Here's the output from cmake for the configure: > > Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045. > > 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: 1940 > > C++14 compiler support: TRUE > > C++17 compiler support: TRUE > > Searching for Threads... > > Thread library: > > Using Win32 threads? 1 > > Using pthreads? > > Searching for OpenMP... > > OpenMP version: 4.0 > > OpenMP CXX flags: -openmp > > OpenMP C flags: -openmp > > OpenMP includes: > > OpenMP library: > > OpenMP libraries: > > Testing SIMD capabilities... > > FMA requires enabling whole program optimization. FMA check disabled. > > Searching for Eigen3... > > Eigen3 version: 3.4.0 > > Eigen3 include directory: C:/workspace/Libraries/eigen-3.4.0 > > Searching for MPI... > > Checking for module 'mpi-c' > > Package 'mpi-c' not found > > Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR > MPI_C_WORKS) > > Checking for module 'mpi-cxx' > > Package 'mpi-cxx' not found > > Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR > MPI_CXX_WORKS) > > Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) > > Searching for CUDA... > > CMake Warning (dev) at src/CMakeLists.txt:344 (find_package): > Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake > --help-policy CMP0146" for policy details. Use the cmake_policy command to > set the policy and suppress this warning. > > This warning is for project developers. Use -Wno-dev to suppress it. > > CUDA version: 12.3 > > CUDA toolkit root dir: C:/Program Files/NVIDIA GPU Computing > Toolkit/CUDA/v12.3 > > CUDA binary dir: C:/Program Files/NVIDIA GPU Computing > Toolkit/CUDA/v12.3/bin > > Automatic GPU detection failed. Building for all known architectures. > > Compiling for CUDA architecture: 5.2 5.3 6.0 6.1 6.2 7.0 7.2 7.5 8.0 8.6 > 8.9 > > CUDA compile flags: > -gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_53,code=sm_53;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_62,code=sm_62;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_72,code=sm_72;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_89,code=sm_89 > > Searching for Thrust... > > Thrust version: 2.2.0 > > Thrust include dir: C:/workspace/Libraries/thrust > > Searching for CUB... > > [MSVC] Warning level set to /W4 > > Compiler and linker flags: > > CMAKE_CXX_FLAGS: /DWIN32 /D_WINDOWS /GR /EHsc -openmp /DWIN32 /D_WINDOWS > /GR /EHsc -openmp /arch:AVX2 /arch:AVX /Zc:__cplusplus /EHsc > > CMAKE_CXX_FLAGS_DEBUG: /Zi /Ob0 /Od /RTC1 /DWIN32 /D_WINDOWS /GR /EHsc > -openmp /arch:AVX2 /arch:AVX /Zc:__cplusplus /EHsc -D_DEBUG -DDEBUG > > CMAKE_CXX_FLAGS_RELEASE: /O2 /Ob2 /DNDEBUG /DWIN32 /D_WINDOWS /GR /EHsc > -openmp /arch:AVX2 /arch:AVX /Zc:__cplusplus /EHsc -DNDEBUG > > Linke flags LIB: /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:libcmtd.lib > /NODEFAULTLIB:msvcrt$<$<NOT:$<CONFIG:Debug>>:d>.lib > > Linke flags EXE: /machine:x64 /NODEFAULTLIB:libcmt.lib > /NODEFAULTLIB:libcmtd.lib > /NODEFAULTLIB:msvcrt$<$<NOT:$<CONFIG:Debug>>:d>.lib > > CUDA flags: > -gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_53,code=sm_53;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_62,code=sm_62;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_72,code=sm_72;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_89,code=sm_89 > > > ==== Chrono Engine core module ==== > > > Chrono includes: > C:/workspace/chrono/src/chrono;C:/workspace/chrono/src/chrono/collision/bullet;C:/workspace/chrono/src/chrono/collision/gimpact;C:/workspace/chrono/src/chrono/../chrono_thirdparty/HACD;C:/workspace/chrono/src/chrono/../chrono_thirdparty/HACDv2 > > Adding internal multicore collision detection library. > > > ==== Chrono Irrlicht module ==== > > > Include directory: C:/workspace/Libraries/irrlicht-1.8.5/include > > Library: > C:/workspace/Libraries/irrlicht-1.8.5/lib/Win64-visualStudio/Irrlicht.lib > > > ==== Chrono Postprocess module ==== > > > > ==== Chrono Multicore module ==== > > > Blaze version file: > C:/workspace/Libraries/Blaze/blaze-3.8.2/blaze/system/Version.h > > Blaze version: 3.9 > > Include dirs: > C:/workspace/Libraries/Blaze/blaze-3.8.2;C:/workspace/Libraries/thrust > > > ==== Chrono GPU module ==== > > > CMake Warning at C:/Program > Files/CMake/share/cmake-3.30/Modules/FindCUDA.cmake:1514 (message): > --host-compilation flag is deprecated in CUDA version >= 3.0. Removing > --host-compilation C flag > Call Stack (most recent call first): > C:/Program Files/CMake/share/cmake-3.30/Modules/FindCUDA.cmake:2006 > (CUDA_WRAP_SRCS) > src/chrono_gpu/CMakeLists.txt:164 (CUDA_ADD_LIBRARY) > > NVCC Flags: > -gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_53,code=sm_53;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_62,code=sm_62;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_72,code=sm_72;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_89,code=sm_89 > > > ==== Chrono Vehicle module ==== > > > Enable Irrlicht support > > Add ChronoEngine_vehicle library > > CMake Warning at src/chrono_vehicle/cosim/CMakeLists.txt:9 (message): > Chrono::Vehicle cosimulation support requires MPI, but MPI not found > > Cosimulation support disabled > > > ==== Chrono models ==== > > > Robot models... > > Vehicle models... > > > ==== Chrono Python module ==== > > > CMake Deprecation Warning at > src/chrono_swig/chrono_python/CMakeLists.txt:51 (cmake_policy): > The OLD behavior for policy CMP0078 will be removed from a future version > of CMake. > > The cmake-policies(7) manual explains that the OLD behaviors of all > policies are deprecated and that a policy should be set to OLD only under > specific short-term circumstances. Projects should be ported to the NEW > behavior and not rely on setting a policy to OLD. > > CMake Deprecation Warning at > src/chrono_swig/chrono_python/CMakeLists.txt:56 (cmake_policy): > The OLD behavior for policy CMP0086 will be removed from a future version > of CMake. > > The cmake-policies(7) manual explains that the OLD behaviors of all > policies are deprecated and that a policy should be set to OLD only under > specific short-term circumstances. Projects should be ported to the NEW > behavior and not rely on setting a policy to OLD. > > ...find Python > > CMake Warning (dev) at src/chrono_swig/chrono_python/CMakeLists.txt:72 > (find_package): > Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules > are removed. Run "cmake --help-policy CMP0148" for policy details. Use > the cmake_policy command to set the policy and suppress this warning. > > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at src/chrono_swig/chrono_python/CMakeLists.txt:73 > (find_package): > Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules > are removed. Run "cmake --help-policy CMP0148" for policy details. Use > the cmake_policy command to set the policy and suppress this warning. > > This warning is for project developers. Use -Wno-dev to suppress it. > > ...find SWIG > > ...add python CORE module > > ...add python POSTPROCESS module > > ...add python FEA module > > ...add python IRRLICHT module > > ...add python vehicle module: pychrono.vehicle > > ...add python robot module: pychrono.robot > > > To have access to the Chrono::Python wrapper modules, after building and > (optionally) installing, > > append one of the following to the PYTHONPATH environment variable: > > For the modules in the BUILD tree: $<TARGET_FILE_DIR:_core> > > For the modules in the INSTALL tree: C:/Program Files/Chrono/bin > > Above, $(Configuration) represents the current build configuration > (Release, Debug, RelWithDebInfo, etc) > > > > ==== Demo programs ==== > > > Demo programs for CORE module... > > ...add demo_CH_coords > > ...add demo_CH_linalg > > ...add demo_CH_matrix_ref > > ...add demo_CH_math > > ...add demo_CH_archive > > ...add demo_CH_buildsystem > > ...add demo_CH_powertrain > > ...add demo_CH_functions > > ...add demo_CH_solver > > ...add demo_CH_EulerAngles > > ...add demo_CH_filesystem > > Demo programs for FEA module... > > ...add demo_FEA_basic > > ...add demo_FEA_dynamics > > ...add demo_FEA_loads_statics > > ...add demo_FEA_thermal > > ...add demo_FEA_electrostatics > > ...add demo_FEA_contacts_SMC > > ...add demo_FEA_cables > > ...add demo_FEA_shellsANCF_3423 > > ...add demo_FEA_shellsANCF_3833 > > ...add demo_FEA_hexaANCF_3813 > > ...add demo_FEA_cosimulate_load > > ...add demo_FEA_loads_dynamics > > ...add demo_FEA_truss > > Demo programs for ROBOT models... > > ...add demo_ROBOT_Curiosity_Rigid > > ...add demo_ROBOT_Curiosity_SCM > > ...add demo_ROBOT_Turtlebot_Rigid > > ...add demo_ROBOT_Viper_Rigid > > ...add demo_ROBOT_Viper_SCM > > ...add demo_ROBOT_LittleHexy > > ...add demo_ROBOT_RoboSimian_Rigid > > ...add demo_ROBOT_RoboSimian_SCM > > Warning: the multicore RoboSimian projects require Chrono::Multicore and > Chrono::OpenGL! > > Demo programs for SOCKET COMMUNICATION module... > > ...add demo_COSIM_socket > > ...add demo_COSIM_data_exchange > > ...add demo_COSIM_hydraulics > > Demo programs for MBS module... > > ...add demo_MBS_aux_ref > > ...add demo_MBS_ballSMC > > ...add demo_MBS_bricks > > ...add demo_MBS_callbackNSC > > ...add demo_MBS_callbackSMC > > ...add demo_MBS_collisionNSC > > ...add demo_MBS_collisionSMC > > ...add demo_MBS_earthquake > > ...add demo_MBS_friction > > ...add demo_MBS_motors > > ...add demo_MBS_spring > > ...add demo_MBS_external_dynamics > > ...add demo_MBS_hydraulic_actuator > > ...add demo_MBS_hydraulic_crane > > ...add demo_MBS_hydraulic_crane_cosim > > ...add demo_MBS_cohesion > > ...add demo_MBS_conveyor > > ...add demo_MBS_feeder > > ...add demo_MBS_crank > > ...add demo_MBS_forklift > > ...add demo_MBS_fourbar > > ...add demo_MBS_gears > > ...add demo_MBS_mecanum > > ...add demo_MBS_pendulum > > ...add demo_MBS_suspension > > ...add demo_MBS_tracks > > ...add demo_MBS_convergence > > ...add demo_MBS_collision_trimesh > > ...add demo_MBS_collision_2d > > ...add demo_MBS_emitter > > ...add demo_MBS_emit_cluster > > ...add demo_MBS_emit_processor > > ...add demo_MBS_rev_sph > > ...add demo_MBS_rev_trans > > ...add demo_MBS_rev_limits > > ...add demo_MBS_rev_reactions > > ...add demo_MBS_rot_spring > > ...add demo_MBS_ujoint > > ...add demo_MBS_planar > > ...add demo_MBS_link_bushing > > ...add demo_MBS_prismatic_limits > > ...add demo_MBS_prismatic_force > > ...add demo_MBS_report_collisions > > ...add demo_MBS_imposed_motion > > ...add demo_MBS_custom_contact > > ...add demo_MBS_collision_object > > Demo programs for IRRLICHT module... > > ...add demo_IRR_decomposition > > ...add demo_IRR_assets > > ...add demo_IRR_paths > > ...add demo_IRR_visualize_collision > > ...add demo_IRR_visualize_FEA > > ...add demo_IRR_raycast_test > > Demo programs for Gpu module... > > ...add demo_GPU_ballCosim > > ...add demo_GPU_movingBoundary > > ...add demo_GPU_fixedTerrain > > ...add demo_GPU_mixer > > ...add demo_GPU_repose > > Demo programs for POSTPROCESS module... > > ...add demo_POST_povray1 > > ...add demo_POST_povray2 > > ...add demo_POST_blender > > ...add demo_POST_gnuplot > > ...add demo_POST_timestepping > > ...add demo_POST_emit_creation > > ...add demo_POST_emitter_asset > > Demo programs for MULTICORE module... > > ...add demo_MCORE_ballsSMC > > ...add demo_MCORE_ballsNSC > > ...add demo_MCORE_mixerSMC > > ...add demo_MCORE_mixerNSC > > ...add demo_MCORE_fluidNSC > > ...add demo_MCORE_snowMPM > > ...add demo_MCORE_particlesNSC > > ...add demo_MCORE_cratering > > ...add demo_MCORE_custom_contact > > ...add demo_MCORE_collision_object > > Demo programs for VEHICLE module... > > ...add demo_VEH_HMMWV_Rollover > > ...add demo_VEH_Gator_Incline > > ...add demo_VEH_WheeledGeneric > > ...add demo_VEH_WheeledGenericSet > > ...add demo_VEH_Wheeled > > ...add demo_VEH_WheeledJSON > > ...add demo_VEH_HMMWV9_YUP > > ...add demo_VEH_Sedan_Lockable_Diff > > ...add demo_VEH_Test_ISO2631_Ride > > ...add demo_VEH_Test_ISO2631_Shock > > ...add demo_VEH_Test_Accel > > ...add demo_VEH_Test_FMTV_Ride > > ...add demo_VEH_ArticulatedVehicle > > ...add demo_VEH_TwoCars > > ...add demo_VEH_M113 > > ...add demo_VEH_M113_Band > > ...add demo_VEH_Marder > > ...add demo_VEH_TrackedJSON > > ...add demo_VEH_TrackedJSON_Band > > ...add demo_VEH_TireTestRig > > ...add demo_VEH_SuspensionTestRig > > ...add demo_VEH_TrackTestRig > > ...add demo_VEH_RigidTerrain_WheeledVehicle > > ...add demo_VEH_RigidTerrain_MovingPatch > > ...add demo_VEH_SCMTerrain_WheeledVehicle > > ...add demo_VEH_SCMTerrain_RigidTire > > ...add demo_VEH_SCMTerrain_TrackedVehicle > > ...add demo_VEH_Controller_DLC > > ...add demo_VEH_Controller_AIDriver > > ...add demo_VEH_paths > > Configuring done (5.9s) > > Generating done (8.1s) > -- 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/dddc25f0-1888-4822-b3d2-438e45184cb7n%40googlegroups.com.
