Changes between Version 2 and Version 3 of SEMAINE-2.0-Distributed


Ignore:
Timestamp:
12/22/09 08:19:57 (10 years ago)
Author:
masc01
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SEMAINE-2.0-Distributed

    v2 v3  
    102102) 
    103103}}} 
     104 
     105== Scenario 2: One Linux/Mac and two Windows machines ==#scenario2 
     106 
     107 
     108In this scenario we assume three machines: 
     109 
     110Machine 1 is a Linux or Mac OS X machine. It should run ActiveMQ, Opensmile, and the Java components. 
     111Its IP address is 192.168.1.10. 
     112 
     113Machine 2 is a Windows machine runing the Greta components. 
     114 
     115Machine 3 is a Windows machine. It should run the Video analysis components. 
     116 
     117 
     118Make sure the respective components are available in the respective machines. 
     119 
     120 * copy start-machine1.sh into the SEMAINE-2.0 folder on machine 1. 
     121 * copy start-machine2.bat into the SEMAINE-2.0 folder on machine 2. 
     122 * copy start-machine3.bat into the SEMAINE-2.0 folder on machine 3. 
     123 * Now, first run start-machine1 on machine 1, then start-machine2 on machine 2 and start-machine3 on machine 3. 
     124 
     125start-machine1.sh: 
     126{{{ 
     127#!/bin/sh 
     128# This assumes that activemq is on the PATH; adapt call to activemq if necessary. 
     129 
     130SEMAINEDIR=`dirname "$0"` 
     131SEMAINEDIR=`(cd $SEMAINEDIR ; pwd)` 
     132 
     133# Which ActiveMQ to connect to: 
     134export CMS_URL=tcp://192.168.1.10:61616 
     135 
     136activemq & 
     137 
     138$SEMAINEDIR/bin/semaine-speech2face.sh & 
     139 
     140$SEMAINEDIR/bin/run_components/start_component_tum.opensmile & 
     141}}} 
     142 
     143start-machine2.bat: 
     144{{{ 
     145:: Which ActiveMQ to connect to: 
     146set CMS_URL=tcp://192.168.1.10:61616 
     147 
     148:: Locations of installed software: 
     149:: %~dp0 is expanded pathname of the current script 
     150set SEMAINEDIR=%~dp0% 
     151set GRETADIR="%SEMAINEDIR%Greta" 
     152 
     153:: GRETA components 
     154if exist %GRETADIR% ( 
     155  echo.Starting Greta components 
     156  start /MIN /D %GRETADIR% Active_ActionSelection.exe 
     157  start /MIN /D %GRETADIR% Active_BehaviorPlanner.exe 
     158  start /MIN /D %GRETADIR% Active_BehaviorRealizer.exe 
     159  start /MIN /D %GRETADIR% Active_ListenerIntentPlanner.exe 
     160  start /D %GRETADIR% Active_Player.exe 
     161) 
     162}}} 
     163 
     164start-machine3.bat: 
     165{{{ 
     166:: Which ActiveMQ to connect to: 
     167set CMS_URL=tcp://l92.168.1.10:61616 
     168 
     169:: Locations of installed software: 
     170:: %~dp0 is expanded pathname of the current script 
     171set IMPERIALDIR="C:\Program Files\HCI^2 group, Imperial College London\Semaine Video Components" 
     172 
     173:: Start video components if installed 
     174if exist %IMPERIALDIR%\VideoFeatureExtractorConsole.exe ( 
     175  echo.Starting video input components 
     176  start /MIN /D %IMPERIALDIR% VideoFeatureExtractorConsole.exe 
     177) 
     178}}} 
     179 
     180