User Tools

Site Tools


pads:artisinst

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pads:artisinst [2012/10/16 08:49] gdangelopads:artisinst [2019/11/15 13:00] gda
Line 7: Line 7:
    * **GNU/Linux**: operating system usage    * **GNU/Linux**: operating system usage
    * **Bash shell**: command line usage    * **Bash shell**: command line usage
 +   * **ARTÌS**: general structure, please see [[http://gdangelo.web.cs.unibo.it/pool/papers/gdangelo-PERF-2005.pdf|FIRB2005]].
 +   * **GAIA/GAIA+**: general structure, please see [[https://arxiv.org/abs/1610.01295|SIMPAT2017]].
  
 ===== 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:download|downloads page]].+The last version of the ARTÌS/GAIA software can be freely downloaded from the [[pads:download|downloads page]]. The runtime is available in both 32 and 64 bits versions, in the following we will assume a 32 bits architecture.
  
 <fc #ff6600>EXAMPLE:</fc> <fc #ff6600>EXAMPLE:</fc>
 <code> <code>
-wget http://pads.cs.unibo.it/download/artis/ARTIS-2.0.0-LUNES-0.0.1.tar.bz2+wget http://pads.cs.unibo.it/download/artis/ARTIS-2.0.4-i686.tar.bz2
 </code> </code>
  
Line 27: Line 29:
 <fc #ff6600>EXAMPLE:</fc> <fc #ff6600>EXAMPLE:</fc>
 <code> <code>
-tar xvfz ARTIS-2.0.0-LUNES-0.0.1.tar.bz2+tar xvfj ARTIS-2.0.4-i686.tar.bz2
 </code> </code>
  
 ==== Missing libraries ==== ==== Missing libraries ====
  
-<fc #ff0000>MISSING LIBRARIES:</fc> the standard installation of Ubuntu 10.04.1 is missing some libraries that are needed by ARTÌS/GAIA. The following libraries have to be installed using the command line interface (as shown in the following) or the graphical tools provided in Ubuntu.+<fc #ff0000>MISSING LIBRARIES:</fc> the standard installation of Ubuntu 12.04.1 is missing some libraries that are needed by ARTÌS/GAIA. The following libraries have to be installed using the command line interface (as shown in the following) or the graphical tools provided in Ubuntu. Starting from ARTÌS+GAIA version 2.1.0 the  
 +"libgcrypt" libraries are no longer necessary.
  
-|  name            ^ description ^ +|  name            ^  description  
 ^ libgcrypt11    |  cryptographic functions  | ^ libgcrypt11    |  cryptographic functions  |
 ^ libgcrypt-dev    |  cryptographic functions, development files  | ^ libgcrypt-dev    |  cryptographic functions, development files  |
Line 44: 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
 </code> </code>
 +
 +===== Basic Usage =====
 +
  
 ==== A simple example ==== ==== A simple example ====
Line 51: Line 57:
 <fc #ff6600>EXAMPLE:</fc> <fc #ff6600>EXAMPLE:</fc>
 <code> <code>
-cd ARTIS-2.0.0/EXAMPLES/WIRELESS+cd ARTIS-2.0.4/EXAMPLES/WIRELESS
 </code> </code>
  
Line 101: Line 107:
 ==== A more complex model ==== ==== A more complex model ====
  
-Now we can proceed with a much more complex simulated model in which are used the features offered by the GAIA framework.+Now we can proceed with a much more complex simulated model in which are used the features offered by the [[pads:gaia|GAIA]] framework.
  
 <fc #ff6600>EXAMPLE:</fc> <fc #ff6600>EXAMPLE:</fc>
Line 137: Line 143:
 {{:pads:artis-4.jpg|}} {{:pads:artis-4.jpg|}}
  
-The simulation has run smoothly and two log files have been produced**0.out** and **1.out**.+The simulation has run smoothly, as usual two log files ({{:pads:gaia-0.out|0.out}}, {{:pads:gaia-1.out|1.out}}) and two error files ({{:pads:gaia-0.err|0.err}}, {{:pads:gaia-1.err|1.err}}) have been produced. 
 + 
 +In this case the useful information in the log file of the second LP.
  
 <fc #ff6600>EXAMPLE:</fc> <fc #ff6600>EXAMPLE:</fc>
Line 145: Line 153:
  
 {{:pads:artis-5.jpg|}} {{:pads:artis-5.jpg|}}
 +
 +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.
  
 {{:pads:artis-6.jpg|}} {{:pads:artis-6.jpg|}}
 +
 +The source code of the simple simulation model ({{:pads:mig-agents.c|}}) shows that, in this case, the [[pads:gaia-apis|GAIA APIs]] are used. For a more detailed description of the simulation model please see the source code.
 +
pads/artisinst.txt · Last modified: 2019/11/15 13:03 by gda

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki