Ok, let's try the commandline version of cmake. 

Some preparation:

   1. Install Xcode from the AppStore (maybe already done)
   2. Install Homebrew package manager from https://brew.sh
   3. Install Eigen3 with 'brew eigen'
   4. Install Gnuplot with 'brew gnuplot'
   5. Install Irrlicht with 'brew irrlicht'

Having the preparation part done, you can try to configure chrono:







*CHRONO_SOURCE_DIR=${HOME}/Documents/GitHub/chrono rm -rf buildcmake -S 
${CHRONO_SOURCE_DIR} -B build -G Xcode \    
-DENABLE_MODULE_POSTPROCESS:BOOL=ON \    -DENABLE_MODULE_IRRLICHT:BOOL=ON 
\    -DIRRLICHT_INSTALL_DIR:PATH=/opt/homebrew/Cellar/irrlicht/1.8.5_1*

You can have your directories where you want them, so take your own 
settings, if you want.
The slanted commands can should be run from a shell script. When it was 
running successful, 
you will find your Xcode project file in the build directory. The best way 
to start is:
*cd build*
*open Chrono.xcodeproj*
to keep the program path of gnuplot.

Rainer
[email protected] schrieb am Donnerstag, 1. Februar 2024 um 15:18:59 UTC+1:

> Hi, 
>
> Glad to know there's a solution! 
> I've installed and tried both, without success.
> If you have the procedure you did, I can try to reproduce it. 
>
> Baptiste
>
> Le jeudi 1 février 2024 à 10:46:05 UTC+1, [email protected] a écrit :
>
>> Hi Baptiste,
>>
>> I also work on a Mac with ARM architecture, so there is a chance for 
>> help. First question: do you use cmake-gui or cmake commandline?
>>
>> Rainer
>>
>> [email protected] schrieb am Mittwoch, 31. Januar 2024 um 09:07:33 UTC+1:
>>
>>> Hi, 
>>>
>>> Thank you for your reply.
>>> No, fortunately I don't need its features. And the rewriting with Metal 
>>> is not planned yes !
>>> Fluid-solid interaction maybe one day, but not right now. 
>>> It would mainly be for solid-solid interaction (contact) with beams, 
>>> shells (I thought I saw some difficulties with beam/shell contacts), 3D 
>>> deformable and 3D non-deformable elements. Some boundary conditions to 
>>> apply of course, ... 
>>>
>>> Le mardi 30 janvier 2024 à 19:29:20 UTC+1, Dan Negrut a écrit :
>>>
>>>> Baptiste – out of curiosity, what do you want to simulate in Chrono?
>>>>
>>>> If you plan to run granular dynamics sims, or fluid-solid interaction, 
>>>> or terramechanics with CRM, you’ll need an NVIDIA GPU. Rewriting the CUDA 
>>>> stuff in Metal language would be a monumental task…
>>>>
>>>> Dan
>>>>
>>>> ---------------------------------------------
>>>>
>>>> Bernard A. and Frances M. Weideman Professor
>>>>
>>>> NVIDIA CUDA Fellow
>>>>
>>>> Department of Mechanical Engineering
>>>>
>>>> Department of Computer Science
>>>>
>>>> University of Wisconsin - Madison
>>>>
>>>> 4150ME, 1513 University Avenue
>>>>
>>>> Madison, WI 53706-1572
>>>>
>>>> 608 772 0914 <(608)%20772-0914>
>>>>
>>>> http://sbel.wisc.edu/
>>>>
>>>> http://projectchrono.org/ 
>>>>
>>>> ---------------------------------------------
>>>>
>>>>  
>>>>
>>>> *From:* [email protected] <[email protected]> *On 
>>>> Behalf Of *Baptiste PILLET
>>>> *Sent:* Tuesday, January 30, 2024 10:17 AM
>>>> *To:* ProjectChrono <[email protected]>
>>>> *Subject:* [chrono] Chrono Installation on M2 ARM MacOS
>>>>
>>>>  
>>>>
>>>> Hello,
>>>>
>>>>  
>>>>
>>>> After spending a lot of time on internet to find a solution and after 
>>>> several unsuccessful attempts, I'm trying my luck here.
>>>> As I have a GPU based on ARM architecture, installing Chrono isn't 
>>>> easy. 
>>>> When I try to configure Chrono with CMake, it needs CUDA. After 
>>>> disabling it, CMake succeeds in configuring but the build with "make" 
>>>> informs me that Thrust needs CUDA in most of its files. I saw that one 
>>>> solution would be to rewrite the CUDA-dependent files using the Metal 
>>>> language (which replaces CUDA on ARM Mac GPUs).
>>>> I tried to disable Thurst from the CMake configuration as well and the 
>>>> "make" build succeeded. However, I find that the "build" directory lacks 
>>>> some files, such as Chrono.sln. I can't build a project requiring chrono 
>>>> either. 
>>>> Is there a step-by-step process for installing Chrono correctly on an 
>>>> ARM Mac architecture? 
>>>> Thanks in advance
>>>>
>>>> -- 
>>>> 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/e37f4e1a-35bc-4e50-956d-1aab75168021n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/projectchrono/e37f4e1a-35bc-4e50-956d-1aab75168021n%40googlegroups.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/080e533c-1f8f-4ba5-84ee-0eff5aacb6f9n%40googlegroups.com.

Reply via email to