Lad.PROBRALsimu History

Show minor edits - Show changes to markup

November 25, 2014, at 05:31 PM by 150.165.75.193 -
Added lines 51-54:

make

sudo make install

November 25, 2014, at 05:25 PM by 150.165.75.193 -
Changed line 29 from:

[@yum install --disablerepo=rpmforge make gcc gcc-c++ bison flex perl \

to:

[@yum install --disablerepo=rpmforge make cmake gcc gcc-c++ bison flex perl \

August 28, 2012, at 09:54 AM by 150.165.80.115 -
Added lines 19-22:

OMNet++ 4.1 funciona no CentOS nativo e no CentOS virtualizado por Virtualbox.

OMNet++ 4.1 deve ser usado, não 4.2

August 28, 2012, at 09:51 AM by 150.165.80.115 -
Changed lines 17-18 from:

No CentOS 6 virtualizado, tem problemas, a cada vez que lançar pode ser um difierente.

to:

No CentOS 6 virtualizado de um jeito, tem problemas, a cada vez que lançar pode ser um difierente. No CentOS virtualizado por Virtualbox (?) funciona.

July 26, 2012, at 10:35 AM by 129.13.72.198 -
Changed lines 104-105 from:
to:

see Rothś email

July 26, 2012, at 09:59 AM by 129.13.72.198 -
Changed line 98 from:
  • create a new MixiM project
to:
  • create a new MixiM project called MyNetwork
Changed lines 101-104 from:
  • check Automatic Build and build
to:
  • Proect -> Clean
  • Build All
July 26, 2012, at 09:54 AM by 129.13.72.198 -
Changed lines 100-101 from:
to:
  • OMNeT++ -> Makemake -> Options... -> Link --> More --> +
July 26, 2012, at 09:46 AM by 129.13.72.198 -
Changed lines 99-100 from:
  • import Files from directory OMNET_Model into the new Project
to:
  • import all files except Makefile and hidden files from directory OMNET_Model into the new Project
July 26, 2012, at 09:44 AM by 129.13.72.198 -
Changed lines 97-99 from:
  • import MiXiM in the workspace and build
  • import directory OMNET_Model
  • delete paths to /home/roth
to:
  • import MiXiM in the workspace
  • create a new MixiM project
  • import Files from directory OMNET_Model into the new Project
July 26, 2012, at 09:02 AM by 129.13.72.198 -
Added lines 46-47:

cmake -DCERTI_USE_NULL_PRIME_MESSAGE_PROTOCOL=1 ../CERTI-3.4.1-Source

July 26, 2012, at 08:56 AM by 129.13.72.198 -
Changed lines 7-8 from:

MiXiM-2.2.1.tar.gz omnetpp-4.2-src.tgz

to:

MiXiM-2.1.tar.gz omnetpp-4.1-src.tgz

July 26, 2012, at 05:46 AM by 129.13.72.198 -
Changed line 53 from:

g++ -I/usr/local/systemc-2.2.0/include simple_fifo.cpp -o simple_fifo -L/usr/local/systemc-2.2.0/lib-linux -lsystemc -lm

to:

g++ -I/usr/local/systemc-2.2.0/include simple_fifo.cpp -o simple_fifo -L/usr/local/systemc-2.2.0/lib-linux -lsystemc

Changed line 77 from:

g++ -I/usr/local/systemc-lp-2.2.0/include simple_fifo.cpp -o simple_fifo -L/usr/local/systemc-lp-2.2.0/lib-linux -lsystemc -lm

to:

g++ -I/usr/local/systemc-lp-2.2.0/include simple_fifo.cpp -o simple_fifo -L/usr/local/systemc-lp-2.2.0/lib-linux -lsystemc

July 26, 2012, at 05:35 AM by 129.13.72.198 -
Changed lines 60-63 from:

O comando ../configure --prefix=/usr/local/systemc-lp-2.2.0 tem que ser dado como root e o diretório precisa existir antes.

Faça as seguintes modificações antes de fazer make:

to:

e faça as seguintes modificações:

Added lines 71-72:

O comando ../configure --prefix=/usr/local/systemc-lp-2.2.0 tem que ser dado como root e o diretório precisa existir antes.

July 26, 2012, at 05:32 AM by 129.13.72.198 -
Changed line 70 from:
sysc/src/sysc/communication/sc_fifo.h73#include \
to:
src/sysc/communication/sc_fifo.h73#include \
July 26, 2012, at 05:31 AM by 129.13.72.198 -
Changed line 68 from:
src/sysc/communication/sc_fifo.h72#include
to:
src/sysc/communication/sc_fifo.h72#include \
Changed lines 70-71 from:
sysc/src/sysc/communication/sc_fifo.h73#include "sysc/kernel/sc_time.h"
to:
sysc/src/sysc/communication/sc_fifo.h73#include "sysc/kernel/sc_time.h"
July 26, 2012, at 05:30 AM by 129.13.72.198 -
Changed lines 67-70 from:
src/sysc/kernel/sc_simcontext.h401std::ofstream fout;
include/sysc/sc_fifo.h73#include "sysc/kernel/sc_thread_process.h"
include/sysc/sc_fifo.h74#include "sysc/kernel/sc_time.h"
to:
src/sysc/kernel/sc_simcontext.h404std::ofstream fout;
src/sysc/communication/sc_fifo.h72#include

"sysc/kerne/sc_thread_process.h" ||

sysc/src/sysc/communication/sc_fifo.h73#include "sysc/kernel/sc_time.h"
July 25, 2012, at 07:49 AM by 80.226.24.1 -
Changed lines 87-88 from:
  1. ) Compile SystemC model (you need to link with the SystemC library as well as Certi)
to:

1) Compile SystemC model (you need to link with the SystemC library as well as Certi)

Changed lines 91-92 from:
  1. ) Compile Omnet model in the Omnet IDE (also link with the Certi library)
to:

2) Compile Omnet model in the Omnet IDE (also link with the Certi library)

July 25, 2012, at 07:49 AM by 80.226.24.1 -
Changed lines 89-90 from:

use o Makefile

to:
use o Makefile
July 25, 2012, at 07:48 AM by 80.226.24.1 -
Changed lines 89-90 from:
to:

use o Makefile

July 25, 2012, at 07:46 AM by 80.226.24.1 -
Changed lines 89-90 from:

use o Makefile

to:
July 25, 2012, at 07:43 AM by 80.226.24.1 -
Changed lines 72-73 from:

cp systemc-lp-2.2.0-gcc3/src/sysc/kernel/sc_thread_process.h /usr/local/systemc-lp-2.2.0/include/sysc/kernel/

to:

cp ../src/sysc/kernel/sc_thread_process.h /usr/local/systemc-lp-2.2.0/include/sysc/kernel/

Added lines 78-98:

A Cosimulação de Christoph

The Folders:

  • OMNET_Model contains the network model
  • SystemC_Model contains the system model
  • Simulation_OMNET contains some configuration files

Steps to start the simulation:

  1. ) Compile SystemC model (you need to link with the SystemC library as well as Certi)

use o Makefile

  1. ) Compile Omnet model in the Omnet IDE (also link with the Certi library)
  • import MiXiM in the workspace and build
  • import directory OMNET_Model
  • delete paths to /home/roth
  • check Automatic Build and build
July 25, 2012, at 07:32 AM by 80.226.24.1 -
Changed line 68 from:
include/sysc/sc_fifo:h73#include "sysc/kernel/sc_thread_process.h"
to:
include/sysc/sc_fifo.h73#include "sysc/kernel/sc_thread_process.h"
Changed lines 71-73 from:

cp systemc-lp-2.2.0-gcc3/src/sysc/kernel/sc_thread_process.h /usr/local/systemc-lp-2.2.0/include/sysc/kernel/

to:

depois do make install dê o comando: cp systemc-lp-2.2.0-gcc3/src/sysc/kernel/sc_thread_process.h /usr/local/systemc-lp-2.2.0/include/sysc/kernel/

Changed line 75 from:

g++ -I/usr/local/systemc-2.2.0/include simple_fifo.cpp -o simple_fifo -L/usr/local/systemc-2.2.0/lib-linux -lsystemc -lm

to:

g++ -I/usr/local/systemc-lp-2.2.0/include simple_fifo.cpp -o simple_fifo -L/usr/local/systemc-lp-2.2.0/lib-linux -lsystemc -lm

July 25, 2012, at 07:30 AM by 80.226.24.1 -
Added lines 56-77:

SystemC-LP

use http://llrforge.in2p3.fr/svn/cms/tcc48_firmware/trunk/routing/README.systemc

O comando ../configure --prefix=/usr/local/systemc-lp-2.2.0 tem que ser dado como root e o diretório precisa existir antes.

Faça as seguintes modificações antes de fazer make:

filelinenew content
src/sysc/kernel/sc_simcontext.h107#include <fstream>
src/sysc/kernel/sc_simcontext.h401std::ofstream fout;
include/sysc/sc_fifo:h73#include "sysc/kernel/sc_thread_process.h"
include/sysc/sc_fifo.h74#include "sysc/kernel/sc_time.h"

cp systemc-lp-2.2.0-gcc3/src/sysc/kernel/sc_thread_process.h /usr/local/systemc-lp-2.2.0/include/sysc/kernel/

para compilar o exemplo simple_fifo use o comando: g++ -I/usr/local/systemc-2.2.0/include simple_fifo.cpp -o simple_fifo -L/usr/local/systemc-2.2.0/lib-linux -lsystemc -lm Observe que a sequencia dos argumentos do comando g++ é importante.

July 23, 2012, at 12:28 PM by 129.13.72.198 -
Added lines 52-55:

para compilar o exemplo simple_fifo use o comando: g++ -I/usr/local/systemc-2.2.0/include simple_fifo.cpp -o simple_fifo -L/usr/local/systemc-2.2.0/lib-linux -lsystemc -lm Observe que a sequencia dos argumentos do comando g++ é importante.

July 23, 2012, at 10:21 AM by 129.13.72.198 -
Changed lines 48-49 from:

use http://llrforge.in2p3.fr/svn/cms/tcc48_firmware/trunk/routing/README.systemc

to:

use http://llrforge.in2p3.fr/svn/cms/tcc48_firmware/trunk/routing/README.systemc

July 23, 2012, at 10:20 AM by 129.13.72.198 -
Changed lines 48-53 from:

editar o arquivo src/sysc/utils/sc_utils_ids.cpp acrescentando:

#include "cstring"
#include "cstdlib"
#include "sysc/utils/sc_report.h"
using namespace std;
to:

use http://llrforge.in2p3.fr/svn/cms/tcc48_firmware/trunk/routing/README.systemc

July 23, 2012, at 09:17 AM by 129.13.72.198 -
Changed line 29 from:

in the file configure.user, put the following 2 lines:

to:

in the file configure.user, put the following 2 lines:

July 22, 2012, at 02:22 PM by 80.226.24.4 -
Changed line 48 from:

editar o arquivo src/sysc/utils/sc_utils_ids.cpp acrescentando:

to:

editar o arquivo src/sysc/utils/sc_utils_ids.cpp acrescentando:

July 22, 2012, at 02:19 PM by 80.226.24.4 -
Changed lines 49-51 from:
#include "string.h"
#include "cstdlib" 
to:
#include "cstring"
#include "cstdlib"
#include "sysc/utils/sc_report.h"
using namespace std;
July 22, 2012, at 12:55 PM by 80.226.24.4 -
Changed lines 52-53 from:

O comando ../configure --prefix=/usr/local/systemc-2.2 tem que ser dado como root e o diretório precisa existir antes.

to:

O comando ../configure --prefix=/usr/local/systemc-2.2.0 tem que ser dado como root e o diretório precisa existir antes.

July 22, 2012, at 12:45 PM by 80.226.24.4 -
Changed lines 52-53 from:

O comando ../configure --prefix=/usr/local/systemc-2.2 tem que ser dado como root.

to:

O comando ../configure --prefix=/usr/local/systemc-2.2 tem que ser dado como root e o diretório precisa existir antes.

July 22, 2012, at 12:39 PM by 80.226.24.4 -
Changed lines 52-53 from:

Não use a opção --prefix.

to:

O comando ../configure --prefix=/usr/local/systemc-2.2 tem que ser dado como root.

July 22, 2012, at 12:29 PM by 80.226.24.4 -
Changed lines 52-54 from:

A opção --prefix=/usr/local/systemc-2.2 não funciona. Copie o objdir para /usr/local/systemc-2.2 na mão.

to:

Não use a opção --prefix.

July 22, 2012, at 05:20 AM by 80.226.24.8 -
Deleted line 6:

InstallGuide.pdf

Changed lines 19-20 from:

O OMNet++ Install Guide Version 4.2 está um pouco incompleto. Seguem infromações adicionais:

to:

O OMNet++ Install Guide Version 4.2 que se encontra no subdiretorio doc está um pouco incompleto. Seguem infromações adicionais:

Added lines 36-40:

MiXiM

do not unpack .tar.gz and use http://sourceforge.net/apps/trac/mixim/wiki/Installation

Deleted lines 54-58:

MiXiM

do not unpack .tar.gz and use http://sourceforge.net/apps/trac/mixim/wiki/Installation

July 22, 2012, at 05:18 AM by 80.226.24.8 -
Deleted line 33:
Deleted lines 36-39:

Testar

O do comando de linha do OMNet o.k., mas o teste de fazer o build de uma nova simulação falha.

Changed lines 53-55 from:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/openmpi/lib

to:

do not unpack .tar.gz and use http://sourceforge.net/apps/trac/mixim/wiki/Installation

July 22, 2012, at 04:45 AM by 80.226.24.8 -
Deleted line 57:

install From the commandline under Linux

July 22, 2012, at 04:18 AM by 80.226.24.8 -
Added line 59:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/openmpi/lib

July 22, 2012, at 04:06 AM by 80.226.24.8 -
Added lines 56-58:

MiXiM

install From the commandline under Linux

July 22, 2012, at 04:05 AM by 80.226.24.8 -
Changed lines 38-44 from:

Para CERTI type:

to:

Testar

O do comando de linha do OMNet o.k., mas o teste de fazer o build de uma nova simulação falha.

CERTI

type:

Changed lines 47-49 from:

para systemc editar o arquivo src/sysc/utils/sc_utils_ids.cpp acrescentando:

to:

SystemC

editar o arquivo src/sysc/utils/sc_utils_ids.cpp acrescentando:

Deleted lines 55-57:

Testar

O do comando de linha do OMNet o.k., mas o teste de fazer o build de uma nova simulação falha.

July 20, 2012, at 10:30 AM by 129.13.72.198 -
Changed lines 42-44 from:
  1. include "string.h"
  2. include "cstdlib"
to:
#include "string.h"
#include "cstdlib" 

A opção --prefix=/usr/local/systemc-2.2 não funciona. Copie o objdir para /usr/local/systemc-2.2 na mão.

July 20, 2012, at 10:25 AM by 129.13.72.198 -
Changed line 47 from:

O do comando de linha o.k., mas o teste de fazer o build de uma nova simulação falha.

to:

O do comando de linha do OMNet o.k., mas o teste de fazer o build de uma nova simulação falha.

July 20, 2012, at 10:25 AM by 129.13.72.198 -
July 20, 2012, at 10:14 AM by 129.13.72.198 -
Changed lines 17-19 from:

No CentOS 6 32 bits, este mesmo bug não se manifesta. No CentOS 6 64 bits, sim.

to:

No CentOS 6 32 bits nativo, este mesmo bug não se manifesta. No CentOS 6 virtualizado, tem problemas, a cada vez que lançar pode ser um difierente.

Added lines 41-44:

para systemc editar o arquivo src/sysc/utils/sc_utils_ids.cpp acrescentando:

  1. include "string.h"
  2. include "cstdlib"
July 20, 2012, at 09:20 AM by 129.13.72.198 -
Added lines 38-40:

Para CERTI type: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

July 20, 2012, at 06:29 AM by 129.13.72.198 -
Changed lines 17-18 from:

No CentOS 6, este mesmo bug não se manifesta.

to:

No CentOS 6 32 bits, este mesmo bug não se manifesta. No CentOS 6 64 bits, sim.

Changed lines 34-37 from:

para 64 bits, coloque o seguinte:

MPI_CFLAGS="-I/usr/include/openmpi-x86_64"
MPI_LIBS=" -pthread -m64 -L/usr/lib64/openmpi/lib -lmpi_cxx -lmpi -ldl" 
to:
July 18, 2012, at 11:41 AM by 129.13.72.198 -
Added lines 33-36:

para 64 bits, coloque o seguinte:

MPI_CFLAGS="-I/usr/include/openmpi-x86_64"
MPI_LIBS=" -pthread -m64 -L/usr/lib64/openmpi/lib -lmpi_cxx -lmpi -ldl" 
July 18, 2012, at 11:10 AM by 129.13.72.198 -
Deleted line 6:

eclipse-cpp-juno-linux-gtk.tar.gz

July 15, 2012, at 11:55 AM by 80.226.24.1 -
Changed line 5 from:

akaroa-2.7.9.tar.gz

to:

[@akaroa-2.7.9.tar.gz

Changed lines 13-14 from:

systemc-2.2.0.tgz

to:

systemc-2.2.0.tgz @]

Changed lines 22-23 from:

Prerequisite Packages

to:

Prerequisite Packages

Added lines 36-39:

Testar

O do comando de linha o.k., mas o teste de fazer o build de uma nova simulação falha.

July 15, 2012, at 07:06 AM by 80.226.24.1 -
Added lines 34-35:

type: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/openmpi/lib

July 15, 2012, at 06:57 AM by 80.226.24.1 -
Added lines 3-16:

Lista de arquivos

akaroa-2.7.9.tar.gz CERTI-3.4.1-Source.tar.gz eclipse-cpp-juno-linux-gtk.tar.gz InstallGuide.pdf MiXiM-2.2.1.tar.gz omnetpp-4.2-src.tgz sc_lp.tar.gz sim_package_fernando.zip systemc-2.2.0.tgz

OMNet

July 15, 2012, at 06:50 AM by 80.226.24.1 -
Changed line 12 from:

[@ yum install --disablerepo=rpmforge make gcc gcc-c++ bison flex perl \

to:

[@yum install --disablerepo=rpmforge make gcc gcc-c++ bison flex perl \

Changed line 17 from:

[@ MPI_CFLAGS="-I/usr/include/openmpi-i386"

to:

[@MPI_CFLAGS="-I/usr/include/openmpi-i386"

July 15, 2012, at 06:49 AM by 80.226.24.1 -
Changed line 3 from:

Não é possível a instalação em CentOS 5 porque o Eclipse provoca a manifestação de um bug da JVM (tanto 1.6 como 1.7 da Oracle).

to:

Não é possível a instalação em CentOS 5.8 porque o Eclipse provoca a manifestação de um bug da JVM (tanto 1.6 como 1.7 da Oracle).

Changed line 12 from:

yum install --disablerepo=rpmforge make gcc gcc-c++ bison flex perl \

to:

[@ yum install --disablerepo=rpmforge make gcc gcc-c++ bison flex perl \

Changed lines 14-15 from:

java-1.6.0-openjdk doxygen openmpi-devel libpcap-devel

to:

java-1.6.0-openjdk doxygen openmpi-devel libpcap-devel @]

in the file configure.user, put the following 2 lines:

 MPI_CFLAGS="-I/usr/include/openmpi-i386"
MPI_LIBS=" -pthread -m32 -L/usr/lib/openmpi/lib -lmpi_cxx -lmpi -ldl" 
July 15, 2012, at 06:29 AM by 80.226.24.1 -
Changed line 13 from:

tcl-devel tk-devel libxml2-devel zlib-devel \

to:

tcl-devel tk-devel blt-devel libxml2-devel zlib-devel \

Added line 15:
July 15, 2012, at 06:25 AM by 80.226.24.1 -
Added lines 1-14:

Instalação do ambiente de simulação

Não é possível a instalação em CentOS 5 porque o Eclipse provoca a manifestação de um bug da JVM (tanto 1.6 como 1.7 da Oracle). No CentOS 6, este mesmo bug não se manifesta.

O OMNet++ Install Guide Version 4.2 está um pouco incompleto. Seguem infromações adicionais:

Prerequisite Packages

É precsio do repositório EPEL.

yum install --disablerepo=rpmforge make gcc gcc-c++ bison flex perl tcl-devel tk-devel libxml2-devel zlib-devel java-1.6.0-openjdk doxygen openmpi-devel libpcap-devel