SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
SixFaceCloud DSL Developer’s Manual

1. Download stable version of Eclipse 3.7.1 with xText2.2.1 for you platform.
http://xtext.itemis.com/xtext/language=en/36553/downloads
2. Download our sfc-dsl-plugins.zip and unzip them into Eclipse installation 'plugins' folder.
http://www.sixfacecloud.com/media/sfc-dsl-plugins.zip
3. Start Eclipse IDE
4. Open SixFaceCloud perspective (Window - Open perspective - Other - SixFaceCloud)




5. Open SixFaceCloud view (Window - Show view - SixFaceCloud)




                                     © Copyright 2012 SixFaceCloud, Inc.                         1
6. Create SixFaceCloud project (File - New - Other - SixFaceCloud framework - Sfc Project)




                                    © Copyright 2012 SixFaceCloud, Inc.                      2
7. Create SixFaceCloud calculation file (File - New - Other - SixFaceCloud framework - Sfc calculation
   file)




                                     © Copyright 2012 SixFaceCloud, Inc.                                 3
8. Try SixFaceCloud DSL - Press F9 and start example

SETTINGS {
  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 settings

SETTINGS {
  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

Weitere ähnliche Inhalte

Andere mochten auch

Medicina aeronáutica y Urgencias, clase 2
Medicina aeronáutica y Urgencias, clase 2Medicina aeronáutica y Urgencias, clase 2
Medicina aeronáutica y Urgencias, clase 2Adac Mendoza
 
Teoría del error humano
Teoría del error humanoTeoría del error humano
Teoría del error humanoJose Luis
 
Conciencia situacional pp
Conciencia situacional ppConciencia situacional pp
Conciencia situacional pprichardguerra
 
Conceptos Sobre El Error Humano
Conceptos Sobre El Error HumanoConceptos Sobre El Error Humano
Conceptos Sobre El Error HumanoEduardo Vargas
 
Investigacion de factores humanos en accidentes aeronauticos
Investigacion de factores humanos en accidentes aeronauticosInvestigacion de factores humanos en accidentes aeronauticos
Investigacion de factores humanos en accidentes aeronauticosrichardguerra
 
Factores Humanos-Presentación (4 de 4)
Factores Humanos-Presentación (4 de 4)Factores Humanos-Presentación (4 de 4)
Factores Humanos-Presentación (4 de 4)becrouzeilles
 
Conceptos basicos de fisiologia aeronautica
Conceptos basicos de fisiologia aeronauticaConceptos basicos de fisiologia aeronautica
Conceptos basicos de fisiologia aeronauticarichardguerra
 
Conciencia situacional
Conciencia situacionalConciencia situacional
Conciencia situacionalangie205
 
El suidicidio version nueva
El suidicidio version nuevaEl suidicidio version nueva
El suidicidio version nuevapablosteinberg1
 

Andere mochten auch (14)

Medicina aeronáutica y Urgencias, clase 2
Medicina aeronáutica y Urgencias, clase 2Medicina aeronáutica y Urgencias, clase 2
Medicina aeronáutica y Urgencias, clase 2
 
Teoría del error humano
Teoría del error humanoTeoría del error humano
Teoría del error humano
 
Disbarismo
DisbarismoDisbarismo
Disbarismo
 
Medicina Aeroespacial
Medicina AeroespacialMedicina Aeroespacial
Medicina Aeroespacial
 
Conciencia situacional pp
Conciencia situacional ppConciencia situacional pp
Conciencia situacional pp
 
Conceptos Sobre El Error Humano
Conceptos Sobre El Error HumanoConceptos Sobre El Error Humano
Conceptos Sobre El Error Humano
 
Investigacion de factores humanos en accidentes aeronauticos
Investigacion de factores humanos en accidentes aeronauticosInvestigacion de factores humanos en accidentes aeronauticos
Investigacion de factores humanos en accidentes aeronauticos
 
Factores Humanos-Presentación (4 de 4)
Factores Humanos-Presentación (4 de 4)Factores Humanos-Presentación (4 de 4)
Factores Humanos-Presentación (4 de 4)
 
Conceptos basicos de fisiologia aeronautica
Conceptos basicos de fisiologia aeronauticaConceptos basicos de fisiologia aeronautica
Conceptos basicos de fisiologia aeronautica
 
Conciencia situacional
Conciencia situacionalConciencia situacional
Conciencia situacional
 
CRM
CRMCRM
CRM
 
Fisiología de vuelo
Fisiología de vueloFisiología de vuelo
Fisiología de vuelo
 
El suidicidio version nueva
El suidicidio version nuevaEl suidicidio version nueva
El suidicidio version nueva
 
El factor humano en mantenimiento de aeronaves
El factor humano en mantenimiento de aeronavesEl factor humano en mantenimiento de aeronaves
El factor humano en mantenimiento de aeronaves
 

Kürzlich hochgeladen

"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Kürzlich hochgeladen (20)

"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

SixFaceCloud DSL manual

  • 1. SixFaceCloud DSL Developer’s Manual 1. Download stable version of Eclipse 3.7.1 with xText2.2.1 for you platform. http://xtext.itemis.com/xtext/language=en/36553/downloads 2. Download our sfc-dsl-plugins.zip and unzip them into Eclipse installation 'plugins' folder. http://www.sixfacecloud.com/media/sfc-dsl-plugins.zip 3. Start Eclipse IDE 4. Open SixFaceCloud perspective (Window - Open perspective - Other - SixFaceCloud) 5. Open SixFaceCloud view (Window - Show view - SixFaceCloud) © Copyright 2012 SixFaceCloud, Inc. 1
  • 2. 6. Create SixFaceCloud project (File - New - Other - SixFaceCloud framework - Sfc Project) © Copyright 2012 SixFaceCloud, Inc. 2
  • 3. 7. Create SixFaceCloud calculation file (File - New - Other - SixFaceCloud framework - Sfc calculation file) © Copyright 2012 SixFaceCloud, Inc. 3
  • 4. 8. Try SixFaceCloud DSL - Press F9 and start example SETTINGS { 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 settings SETTINGS { 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