Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SixFaceCloud DSL manual

228 views

Published on

SixFaceCloud is a platform for solving financial analytics and quantitative analysis tasks using distributed computing..
DSL user manual.
http://www.sixfacecloud.com/

Published in: Technology
  • Be the first to comment

  • Be the first to like this

SixFaceCloud DSL manual

  1. 1. SixFaceCloud DSL Developer’s Manual1. Download stable version of Eclipse 3.7.1 with xText2.2.1 for you platform.http://xtext.itemis.com/xtext/language=en/36553/downloads2. Download our sfc-dsl-plugins.zip and unzip them into Eclipse installation plugins folder.http://www.sixfacecloud.com/media/sfc-dsl-plugins.zip3. Start Eclipse IDE4. Open SixFaceCloud perspective (Window - Open perspective - Other - SixFaceCloud)5. Open SixFaceCloud view (Window - Show view - SixFaceCloud) © Copyright 2012 SixFaceCloud, Inc. 1
  2. 2. 6. Create SixFaceCloud project (File - New - Other - SixFaceCloud framework - Sfc Project) © Copyright 2012 SixFaceCloud, Inc. 2
  3. 3. 7. Create SixFaceCloud calculation file (File - New - Other - SixFaceCloud framework - Sfc calculation file) © Copyright 2012 SixFaceCloud, Inc. 3
  4. 4. 8. Try SixFaceCloud DSL - Press F9 and start exampleSETTINGS { MODE = LOCAL SIMULATION_QTY = 1000}INPUTS { // No-op.}RUN { double x = LocalRandom.nextDouble() double y = LocalRandom.nextDouble() double res = 0 if (x * x + y * y <= 1) { res = 4.0; }}OUTPUTS { RUN#res}Standard numeric data processing, average value calculated.Execution started.**************************************************************************General settings {MODE=LOCAL, SIMULATION_QTY=1000}Execution finished [simulations=1000, time-milliseconds=531]Results:Summary simulations count=1000{AVG=3.072, MIN=0.0, MAX=4.0, SUM=3072.0}**************************************************************************9. To start in other Execution context - change main settingsSETTINGS { MODE = CLOUD_CLIENT CLOUD_HOST = 1.2.3.4 CLOUD_PORT = 5678 SIMULATION_QTY = 1000}About supported Execution Engine contexts - see links below:• Local cluster environment http://www.sixfacecloud.com/product.htm#install• Amazon Ec2 environment http://www.sixfacecloud.com/amazon_ec2.htm © Copyright 2012 SixFaceCloud, Inc. 4

×