RE: [chrono] Trouble getting started...

67 views
Skip to first unread message

Radu Serban

unread,
Nov 16, 2022, 6:47:31 PM11/16/22
to ProjectChrono

Benjamin,

 

I believe your performance issues are due to using a VM.  I do not use a Mac and so I am not sure about all options of getting Ubuntu running as a VM on a Mac (is that an Intel or ARM Mac?), but I suspect these issues are due to emulation.  One possible culprit is rendering, so you could try to check performance without run-time visualization.

 

The best solution however is to build Chrono natively on your Mac.  Do you have a particular reason for using a VM?

 

--Radu

 

From: projec...@googlegroups.com <projec...@googlegroups.com> On Behalf Of Benjamin Johnson
Sent: Saturday, 12 November 2022 18:01
To: ProjectChrono <projec...@googlegroups.com>
Subject: [chrono] Trouble getting started...

 

Hello everyone, 

 

I am having a little trouble getting started with Chrono and I am curious you all might have some suggestions. Here is my system info:

 

Chrono is installed on Ubuntu 22.04 which is running as a VM via VMWare Fusion.

 

My machine is a 2019 MacBook Pro. I have given the VM access to 6 cores and 40+ GB RAM. 

 

The first issue I am having is with imports when I try to run the template "my_project.cpp" file. I went through the install instructions on the Chrono web sight. I started out with a pretty basic install and went back and added some other modules once I understood how the build process works. I don't have any of the GPU/parallel modules enabled as I don't have CUDA.

When I first tried to build "my_project" it couldn't even find the basic Chrono install. I had to manually add the path to the Chrono src file. That fixed the initial issues that were caught by Intellisense. However, once I tried to build again it had an issue finding one of the files in the LinearMath library. I had to add a sym link to the library (based on something I saw on stack overflow). That fixed the issue with LinearMath, but then I ran into another issue with another "embedded" library. It has me wondering if I am doing something wrong or did something wrong in the build process. It seems I shouldn't have to add symlinks for every file. Has anyone had this issue before? Do you know if there is something silly that I am doing? Or can point me to where I might find a solution? 

 

The second issue is not so much a problem, but when I run the demos. They run very very slowly. I am particularly interested in the Vehicle module and the demos from the vehicle module seem to run at about 1/100 of real time (maybe even slower). I know this is being run in a VM but that seems really really slow. Is there anything I can do to speed them up? 

 

I am not super strong in cpp yet, but I am hoping to learn more and this seems like a good project to learn on. I would really like to understand this, as I am hoping to use Chrono to aid with my research in vehicle dynamics. 

 

Thank you in advance for any insights you guys can offer. 

 

Cheers, 

Benjamin

--
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 projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/5eb07304-bd8e-4d59-b307-04bd89e367c2n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages