Dinesh,

I have not tried this myself, but you should try to force CUDA_ARCH_NAME=All 
during CMake configuration on whatever machine you want to build the code on in 
order to generate cuda for a list of architectures and not only the one on the 
build machine (see 
FindCudaArch.cmake<https://github.com/projectchrono/chrono/blob/main/cmake/FindCudaArch.cmake>
 in the Chrono distribution)

--Radu

From: [email protected] <[email protected]> On Behalf 
Of Dinesh M
Sent: Friday, March 10, 2023 1:54 PM
To: [email protected]
Subject: [chrono] Problem with packaging and distributing 
ChronoEngine_sensor.dll

Hi,

I've installed projectChrono from source in my laptop with T1200 GPU and linked 
the dlls from install directory to an external project. My project looks just 
the same as demo_SEN_lidar program. While installation I've also enabled CUDA 
NVRTC in cmake configuration.

Everything works fine with the laptop. I'm able to see the LIDAR point cloud 
visualization.

Now when I use the same dll (copy paste the chronoEngineSensor.dll and lib and 
.cu files from the install folder) to my workstation PC(with A4000 GPU), the 
shader gets compiled fine and no error is thrown but the LIDAR and Camera 
sensor data and visualization comes out to be blank.

Only if I build the dll again in workstation seperately. It works. I'm kinda 
looking for a way where I simply export a dll and it works across every other 
systems and not needing to build the sensor dll each time for different PCs.

How can I achieve this and what am I missing?

Thanks,
Dinesh
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/CALZuBmtmpG1QkKvNM0FeC9-0gbkgrz3M4fM0VSeMM72Y1zFnQw%40mail.gmail.com<https://groups.google.com/d/msgid/projectchrono/CALZuBmtmpG1QkKvNM0FeC9-0gbkgrz3M4fM0VSeMM72Y1zFnQw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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/PH0PR06MB8237E8A6D8CA9098CE8823D1A7899%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to