現在の位置
backup プラグインを使用中
- バックアップ一覧
- 差分 を表示
- ソース を表示
- バックアップ を表示
- Onikiri/Quickstart へ行く。
- 1 (2010-12-03 (金) 20:36:32)
- 追加された行はこの色です。
- 削除された行はこの色です。
* Quickstart [#sccca6b1] - In this page we introduce how to simulate a sample of "HelloWorld" by Onikiri. * Extract Onikiri archives [#v00379a0] - Extract the following files to the same directory. -- onikiri2-~-base.tar.gz -- onikiri2-~-lib.tar.gz -- onikiri2-~-benchmark.tar.gz **An image after extracting archives. [#ie2cfeba] **An image after extracting archives [#ie2cfeba] (root of Onikiri) +--benchmark +--project +--src +--tool +--lib | +--boost ... * Compilation [#la5f1118] ** VisualStudio [#b6df7b4d] - Open project/msvc/onikiri2.sln by Visual Studio and 'build'. ** gcc [#l6b86205] - run 'make' by using project/gcc/Makefile *** Notes [#w7ee58fc] - For the first time, the script extracts the Boost archive so it takes a long time to compile Onikiri. *Execution of Onikiri [#j585090a] - Parameters for simulation are set by XML. - In this tutorial, we use benchmark/HelloWorld/param.xml -- Currently we don't have any documents for this. Please refer to sample XML files and src/DefaultParam.h. **VisualStudio [#b4a83c84] + Choose Project>Properties from the menubar. + Change "Compsition" to "All Compositions". + Move to Composition Property>Debug. + Input "..\..\..\benchmark\HelloWorld" in "Working Directory". + Input "param.xml" in "Command Arguments" + Choose Debug>Execute without Debug from the menubar to execute. The execution is a success if "hello, world" is written to the standard output and "result.xml" is generated in the working directory. **gcc [#i45d74b5] + Move to /project/gcc/onikiri2. + Enter the command below. ./a.out ../../../benchmark/HelloWorld/param.xml The execution is a success if "hello, world" is written to the standard output and "result.xml" is generated in the working directory.