Yes, this is an MPI code that must be run with mpiexec. This example requires 3 ranks (as the error message indicates), so you’ll have to use something like % mpiexec -np 3 …
--Radu From: [email protected] <[email protected]> On Behalf Of Benjamin Johnson Sent: Sunday, 13 November 2022 23:46 To: ProjectChrono <[email protected]> Subject: [chrono] Re: Template executable and some Demo executables do nothing Little update: if I try run the file from the terminal I get this output... Single wheel cosimulation code must be run on at least 3 ranks! -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 1. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them. On Sunday, November 13, 2022 at 5:42:24 PM UTC-5 Benjamin Johnson wrote: Hello, I had previously posted a request to get started as I was having import issues. I did not realize that I needed to use cmake to build every project. Now that I have done that, I am able to successfully build both the template projects. However I am having issues with vehicle cosim template... First, there was an inherited class that had some methods overridden, but when I looked the methods did not exist in the parent class. Once I updated the names to the names in the in parent. I was able to build the project. Now the executable file doesn't do anything when I click it. It doesn't even look like it's trying to load, it just does nothing. I had this same issue with some of the pre-built demos when I first installed Chrono, but I just assumed it was because I didn't enable every module. However, for the cosim template, I have all modules necessary and I am still having issues. Has anyone ever experienced this? I would have thought if there was an issue I would get an error in the build. I would really like to understand what I am doing wrong so I can start playing around with building my own project. If anyone has any input I would really appreciate it. Here is my system info if it helps: Chrono V 6.0 (built within the last couple weeks) Ubuntu 22.04 ubuntu is running as a VM on a 2019 Mac Book Pro Thank you for any insights you all 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/865daeed-fa85-4e4f-bb69-184fdf6705a2n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/865daeed-fa85-4e4f-bb69-184fdf6705a2n%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/PH0PR06MB823756B8C0C0C0F8DA9A6A38A7029%40PH0PR06MB8237.namprd06.prod.outlook.com.
