Swarm - What is it and how to use it?
So from usage and Google searches re UDK I am guessing that Swarm is a program within the Unreal4 engine that manages mulitple clients to undertake distributed compilation of primarily Lightmass solutions but possible other aspects of maps.
My questions for you fine folks are:
1) Am I correct above in describing Swarm or does it do something differently than this?
2) Is there documentation available for its set up or operation?
3) Do I need to install the full Unreal Engine on the distributed clients or is there a sub-set I can use (what is the minimum client to place on slaves?)?
4) [Unlikely I know but...] Is there Linux version of the client? If not, has anyone had success using a windows VM under Linux?
5) To start the client do I just run the "SwarmAgent.exe" found on my Windows Box at C:\Program Files\Unreal Engine\4.0\Engine\Binaries\DotNET ?
asked Apr 10 '14 at 12:02 PM in Using UE4
Yes, Swarm (short for UnrealSwarm) is a standalone C# application that distributes units of work across multiple machines on the network. Currently, Swarm is only used in conjunction with Lightmass to pre-compute lighting for levels, but the application itself is task agnostic, which means that it can work with any other type of task as well. We just haven't taken advantage of that yet.
UnrealSwarm was created for Unreal Engine 3, and it looks like the documentation hasn't made it into the UE4 Docs web site yet. That being said, Swarm hasn't really changed (except for a few bug fixes), so the old documentation still applies. You can find it here:
No, you do not need to install Unreal Engine on the Swarm agent machines. Swarm will automatically transfer all files (including binaries) that are needed to process a given job. The easiest way is to copy the /Engine/Binaries/DotNET/ directory from an existing UE4 installation to a new computer. Then follow the instructions on the pages linked above.
UnrealSwarm currently only runs on Windows operating systems. You may be able to get it to run in a Windows emulator on Linux. We briefly had a version that worked on MacOS, but newer versions of Mono introduced some breaking changes that we haven't fixed yet. We are planning to rewrite UnrealSwarm in C++, and at that point it will also become cross-platform and seamlessly work on Linux and MacOS. There is no timeline for this project yet, but it will probably happen this year - possibly as early as this Summer.
You may be missing some prerequisites for UnrealSwarm. Make sure that the latest version of the .NET Framework is installed on your computer. You may also need the Visual Studio redistributable package. The easiest way to install prerequisites is to install /Engine/Extras/Redist/en-us/UE4PrereqSetup.exe
answered Apr 11 '14 at 05:42 PM
answered Apr 10 '14 at 01:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here