David,

CUDA is required only for the GPU-based modules in Chrono.  Currently, these 
are: Chrono::FSI, Chrono::GPU, Chrono::Sensor (due to its dependency on OptiX), 
and an option to some extensions in Chrono::Multicore.
CUDA is not available on Macs, not because the new CPUs but rather because they 
do not offer NVIDIA GPUs anymore.

Some of the GPU-based modules also use Thrust (with the CUDA backend).

The only other uses of Thrust (but with the OpenMP backend) are in 
Chrono::Multicore and in the multicore collision detection system option.  To 
enable these Chrono modules, you would need to install Thrust as a stand-alone 
library; see https://github.com/nvidia/thrust, but  you need to use an older 
version (when NVIDIA decided to bundle Thrust in CUDA distributions they added 
some dependencies on CUDA headers). Version 1.17.2 is known to work without 
CUDA.

The other Chrono modules can be enabled and built on Macs.

--Radu

From: [email protected] <[email protected]> On Behalf 
Of David Vieira
Sent: Monday, April 29, 2024 11:31 PM
To: ProjectChrono <[email protected]>
Subject: [chrono] Build project chrono for ARM-based Apple Systems (M3)

Hello everyone,

I have a question regarding the possibility of compiling the project on the new 
ARM M3 apple architectures.
I've got a problem with CUDA and thrust and I'd like to know if a solution has 
been found to this problem? As far as I know, there are no cuda libraries on 
the new mac, but I was wondering if it is still possible to compile the project 
without them.

Thanks a lot!
--
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/09198601-5813-4428-ae85-a4bab50c87fdn%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/09198601-5813-4428-ae85-a4bab50c87fdn*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!P5tCQJ4kZxxu0Y54_jn6zx8jz9JoxNyVqBly7kIAUt1W99Yhw15LMpVMrnDLgzD-5Mfl5trVAbIg4XdHcx94hQ$>.

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

Reply via email to