Page 1 of 1

Simulation Speed

Posted: Thu Aug 31, 2017 8:02 am
by mbt925
I am running ARGoS on a Linux virutal machine. I think it's a bit slow. Is it because of the virtual machine or is it natural?

Re: Simulation Speed

Posted: Tue Sep 19, 2017 4:59 pm
by pincy
It's because of the virtual machine. Which VM are you using? Did you install the native extensions?

Re: Simulation Speed

Posted: Wed Sep 20, 2017 6:01 am
by mbt925
I am using VirtualBox. I did not install anything other than the app itself.

Re: Simulation Speed

Posted: Wed Sep 20, 2017 9:24 pm
by pincy
You should at least install the guest additions, which allow you to activate 3D acceleration.

Beware that VirtualBox has issues with Linux guests and 3D acceleration, especially with programs based on Qt (such as ARGoS). I strongly suggest you to switch to a different virtualization environment, such as VMWare.

Re: Simulation Speed

Posted: Sun Sep 24, 2017 2:01 pm
by mbt925
You're right. Virtualbox was not working good.
I switched to Vmware, as you suggested. Thank you.

It's unrelated to the topic, but I am getting the following error when running an experiment:

Code: Select all

~/argos3-examples$ argos3 -c experiments/diffusion_1.argos

Code: Select all

argos3: error while loading shared libraries: libargos3core_simulator.so: cannot open shared object file: No such file or directory
The compilation was OK and there was no error. I checked, there is a "libargos3core_simulator.so" file in build/core directory.

Re: Simulation Speed

Posted: Sun Sep 24, 2017 2:03 pm
by pincy
How did you install ARGoS? Which commands? If you installed ARGoS from the sources, please don't - use the binaries instead. If you had a reason to install from the sources, try running 'sudo ldconfig' to see if this fixes the issue.

Re: Simulation Speed

Posted: Sun Sep 24, 2017 2:09 pm
by mbt925
The problem was lack of GALIB library. After installation of GALIB, Everything is OK now.

Re: Simulation Speed

Posted: Sun Sep 24, 2017 2:13 pm
by mbt925
The speed is very good with Vmware.

Re: Simulation Speed

Posted: Sun Sep 24, 2017 3:59 pm
by pincy
ARGoS is much faster when run natively. If you have the possibility, consider dual-booting.