Changes between Version 19 and Version 20 of Installation

Show
Ignore:
Timestamp:
09/13/12 11:45:01 (12 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Installation

    v19 v20  
    7676$ cd muscle-2.0-RC1/build 
    7777}}} 
    78 }}} 
    79 Invoke MUSCLE build script with installation (we are installing muscle to the /opt/muscle directory which is default, type ./build.rb for more options): 
     78Invoke MUSCLE build script with installation; this installs MUSCLE in /opt/muscle. For another location, add this as the first argument. 
    8079{{{ 
    8180./build.sh 
     
    8685muscle2 --version 
    8786}}} 
     87The command  
     88{{{ 
     89source /opt/muscle/etc/muscle.profile 
     90}}} 
     91should always be run before executing MUSCLE. It can help to put this command in {{{~/.bashrc}}} so that it runs on login. 
    8892 
    8993== Sample execution == 
     
    9397 
    9498==== Sender ==== 
    95  At src/java/examples/simplejava/Sender we provide a minimalist kernel written in Java, which sends data (an array of double). 
     99 In {{{src/java/examples/simplejava/Sender.java}}} we provide a minimalist kernel written in Java, which sends data (an array of double). 
    96100 
    97101==== Receiver ==== 
    98  At src/java/examples/simplejava/ConsoleWriter we provide a simple kernel written in Java. It receives data (an array of double) and prints its content to the standard output. 
     102In {{{src/java/examples/simplejava/ConsoleWriter.java}}} we provide a simple kernel written in Java. It receives data (an array of double) and prints its content to the standard output. 
    99103 
    100104==== CxA (coupling schema) ==== 
    101  The configuration src/cxa/SimpleExample.cxa.rb configures a minimal CxA which couples the src/java/examples/simplejava/Sender and src/java/examples/simplejava/ConsoleWriter kernels. 
     105 The configuration {{{src/cxa/SimpleExample.cxa.rb}}} configures a minimal CxA which couples the {{{examples.simplejava.Sender}}} and {{{examples.simplejava.ConsoleWriter}}} kernels. 
    102106 
    103107==== Execution ==== 
    104108To run the simulation defined in src/cxa/SimpleExample.cxa.rb use the following command: 
    105109{{{ 
    106 #!div style="font-size: 90%" 
    107 {{{#!sh 
    108 /opt/muscle/bin/muscle --cxa_file src/cxa/SimpleExample.cxa.rb --main plumber w r --autoquit 
    109 }}} 
    110 }}} 
     110muscle2 --cxa src/cxa/SimpleExample.cxa.rb --main --allkernels 
     111}}} 
     112or in shorthand notation 
     113{{{ 
     114muscle2 -c src/cxa/SimpleExample.cxa.rb -am 
     115}}} 
     116It will first start the Simulation Manager, of which one per simulation is necessary, and then the local manager, which manages the kernels that are started with one {{{muscle2}}} invocation. 
    111117 
    112118== Further reading == 
    113 For more information how to use MUSCLE see doc/muscle_developers_guide.pdf included in the MUSCLE bundle. 
     119For more information how to use MUSCLE see the pages in [Documentation] and [Tutorials] section. 
    114120 
    115121= MUSCLE Installation =