![]() ![]() BRAHMS
User Guide » Developing Systems » Advanced Topics » Cross-platform Execution
This documentation is offline - click here to go online
Index | Search: Go online to use Search
| ||
OverviewBRAHMS is a cross-platform execution framework; that is, it is available on multiple platforms (Windows, Linux, OSX) and you can develop components on any of these. However, it is also straightforward to run a cross-platform execution; that is, to have different sorts of machine involved in the same run-time execution. Nothing needs to be done differently from launching any multi-machine Concerto execution, though the versions of BRAHMS on the machines must, naturally, match. For example, below, we illustrate running ExamplePreparationTo generate the Execution and System files, run In the Execution File you'll find the loopback interface (127.0.0.1) specified twice, as the addresses on which we can reach each Voice. Change these to the IP addresses of your Voice 1 and Voice 2 machines, respectively. Both the Execution and System File need to be visible on both machines. If we were launching automatically, we'd either have the files written to a shared drive by the bindings by setting LaunchWe can now launch the execution on each machine in turn; if we're too slow, the first machine will generate Expected OutputHere, we show what the execution looks like running across the two machines (click to enlarge). ![]() ExampleHere is an actual working script that sets up a cross-platform execution (it's modified from M Source Code (against 995)
% empty system
sys
sml_system DOUBLE 'addprocess std/2009/math/esum 'addprocess std/2009/math/esum 'link link brahms_execution brahms ((EXECFILE)) --logfmt-xml --voice-((VOICE)) ' brahms /share/xcomms-exe.xml --logfmt-xml --voice-((VOICE)) ' brahms |
||
This is a documentation page for the BRAHMS Modular Execution (Simulation) Framework. For details of licensing and distribution, please click here. To advise of an error or omission, please click here. |