pads:artisinst
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pads:artisinst [2012/10/16 08:39] – gdangelo | pads:artisinst [2019/11/15 13:00] – gda | ||
---|---|---|---|
Line 7: | Line 7: | ||
* **GNU/ | * **GNU/ | ||
* **Bash shell**: command line usage | * **Bash shell**: command line usage | ||
+ | * **ARTÌS**: general structure, please see [[http:// | ||
+ | * **GAIA/ | ||
===== Assumptions ===== | ===== Assumptions ===== | ||
- | * **UBUNTU Linux 10.04.1**: desktop version, fully updated | + | * **UBUNTU Linux 12.04.1**: desktop version, fully updated |
- | ===== Basic Installation ===== | + | ===== Installation ===== |
==== Download ==== | ==== Download ==== | ||
- | The last version of the ARTÌS/GAIA software can be freely downloaded from the [[pads: | + | The last version of the ARTÌS/GAIA software can be freely downloaded from the [[pads: |
<fc # | <fc # | ||
< | < | ||
- | wget http:// | + | wget http:// |
</ | </ | ||
Line 27: | Line 29: | ||
<fc # | <fc # | ||
< | < | ||
- | tar xvfz ARTIS-2.0.0-LUNES-0.0.1.tar.bz2 | + | tar xvfj ARTIS-2.0.4-i686.tar.bz2 |
</ | </ | ||
- | <fc # | + | ==== Missing |
- | | name ^ description ^ | + | <fc # |
+ | " | ||
+ | |||
+ | | name ^ description | ||
^ libgcrypt11 | ^ libgcrypt11 | ||
^ libgcrypt-dev | ^ libgcrypt-dev | ||
Line 42: | Line 47: | ||
sudo apt-get install libgcrypt11 libgcrypt-dev libglib2.0-0 libglib2.0-dev | sudo apt-get install libgcrypt11 libgcrypt-dev libglib2.0-0 libglib2.0-dev | ||
</ | </ | ||
+ | |||
+ | ===== Basic Usage ===== | ||
+ | |||
+ | |||
+ | ==== A simple example ==== | ||
Now we are ready for testing our ARTÌS/GAIA installation. In the main directory of the software (e.g. the ARTIS-2.0.0 directory) there is the STRUCTURE.TXT file that describes the whole software structure including EXAMPLES and MODELS. We will start from the WIRELESS example that is contained in the EXAMPLES directory. In this simple model there is a set of wireless devices moving in a toroidal 2D space. The interactions among them are based on proximity. | Now we are ready for testing our ARTÌS/GAIA installation. In the main directory of the software (e.g. the ARTIS-2.0.0 directory) there is the STRUCTURE.TXT file that describes the whole software structure including EXAMPLES and MODELS. We will start from the WIRELESS example that is contained in the EXAMPLES directory. In this simple model there is a set of wireless devices moving in a toroidal 2D space. The interactions among them are based on proximity. | ||
Line 47: | Line 57: | ||
<fc # | <fc # | ||
< | < | ||
- | cd ARTIS-2.0.0/ | + | cd ARTIS-2.0.4/ |
</ | </ | ||
Line 90: | Line 100: | ||
{{: | {{: | ||
- | The tail of the file reports the number of simulated steps (Clock), the " | + | The tail of the file reports the number of simulated steps (Clock), the " |
- | Now we can proceed with a much more complex simulated model. | + | Now please take some time for reading the source code of this simple example: {{: |
+ | |||
+ | |||
+ | ==== A more complex model ==== | ||
+ | |||
+ | Now we can proceed with a much more complex simulated model in which are used the features offered by the [[pads: | ||
<fc # | <fc # | ||
Line 128: | Line 143: | ||
{{: | {{: | ||
- | The simulation has run smoothly | + | The simulation has run smoothly, as usual two log files ({{:pads:gaia-0.out|0.out}}, {{: |
+ | |||
+ | In this case the useful information in the log file of the second LP. | ||
<fc # | <fc # | ||
Line 136: | Line 153: | ||
{{: | {{: | ||
+ | |||
+ | As shown in the first lines of the log file, in this case both the ARTÌS and the GAIA layers have been initialized. The simulated objects produce a some amount of interactions and the GAIA framework implements some migrations to enhance the communication load-balancing. In this case the computational load-balancing features are turned off. | ||
{{: | {{: | ||
+ | |||
+ | The source code of the simple simulation model ({{: | ||
+ |
pads/artisinst.txt · Last modified: 2019/11/15 13:03 by gda