Lad.PROBRALsimu History
Show minor edits - Show changes to output
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 \
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
OMNet++ 4.1 deve ser usado, não 4.2
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.
Changed line 98 from:
* create a new MixiM project
to:
* create a new MixiM project called MyNetwork
Changed lines 101-104 from:
to:
* Proect -> Clean
* Build All
* Build All
Changed lines 100-101 from:
to:
* OMNeT++ -> Makemake -> Options... -> Link --> More --> +
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
Changed lines 97-99 from:
* import MiXiM in the workspace and build
* import directory [@OMNET_Model@]
* delete paths to [@/home/roth@]
* import directory [@OMNET_Model@]
to:
* import MiXiM in the workspace
* create a new MixiM project
* import Files from directory [@OMNET_Model@] into the new Project
* create a new MixiM project
* import Files from directory [@OMNET_Model@] into the new Project
Added lines 46-47:
[@cmake -DCERTI_USE_NULL_PRIME_MESSAGE_PROTOCOL=1 ../CERTI-3.4.1-Source @]
Changed lines 7-8 from:
MiXiM-2.2.1.tar.gz
omnetpp-4.2-src.tgz
omnetpp-4.
to:
MiXiM-2.1.tar.gz
omnetpp-4.1-src.tgz
omnetpp-4.1-src.tgz
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 @]
Changed lines 60-63 from:
Faça as seguintes
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.
Changed line 70 from:
||sysc/src/sysc/communication/sc_fifo.h || 73 ||#include \
to:
||src/sysc/communication/sc_fifo.h || 73 ||#include \
Changed line 68 from:
||src/sysc/communication/sc_fifo.h || 72 ||#include
to:
||src/sysc/communication/sc_fifo.h || 72 ||#include \
Changed lines 70-71 from:
||sysc/src/sysc/communication/sc_fifo.h || 73 ||#include "sysc/kernel/sc_time.h" ||
to:
||sysc/src/sysc/communication/sc_fifo.h || 73 ||#include \
"sysc/kernel/sc_time.h" ||
"sysc/kernel/sc_time.h" ||
Changed lines 67-70 from:
||src/sysc/kernel/sc_simcontext.h || 401 || std::ofstream fout; ||
||include/sysc/sc_fifo.h || 73 ||#include "sysc/kernel/sc_thread_process.h" ||
||include/sysc/sc_fifo.h || 74 ||#include "sysc/kernel/sc_time.h" ||
||
||
to:
||src/sysc/kernel/sc_simcontext.h || 404 || std::ofstream fout; ||
||src/sysc/communication/sc_fifo.h || 72 ||#include
"sysc/kerne/sc_thread_process.h" ||
||sysc/src/sysc/communication/sc_fifo.h || 73 ||#include "sysc/kernel/sc_time.h" ||
||src/sysc/communication/sc_fifo.h || 72 ||#include
"sysc/kerne/sc_thread_process.h" ||
||sysc/src/sysc/communication/sc_fifo.h || 73 ||#include "sysc/kernel/sc_time.h" ||
Changed lines 87-88 from:
to:
1) Compile SystemC model (you need to link with the SystemC library as well as Certi)
Changed lines 91-92 from:
to:
2) Compile Omnet model in the Omnet IDE (also link with the Certi library)
Changed lines 89-90 from:
use o [[ (Attach:)Makefile_roth | Makefile ]]
to:
-> use o [[ (Attach:)Makefile_roth | Makefile ]]
Changed lines 89-90 from:
use o [[ (Attach:)Makefile.roth | Makefile ]]
to:
use o [[ (Attach:)Makefile_roth | Makefile ]]
Changed lines 89-90 from:
use o [[ (Attach:)Makefile_roth | Makefile ]]
to:
use o [[ (Attach:)Makefile.roth | Makefile ]]
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:
#) Compile SystemC model (you need to link with the SystemC library as well as Certi)
use o [[ (Attach:)Makefile_roth | Makefile ]]
#) 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
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:
#) Compile SystemC model (you need to link with the SystemC library as well as Certi)
use o [[ (Attach:)Makefile_roth | Makefile ]]
#) 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
Changed line 68 from:
||include/sysc/sc_fifo:h || 73 ||#include "sysc/kernel/sc_thread_process.h" ||
to:
||include/sysc/sc_fifo.h || 73 ||#include "sysc/kernel/sc_thread_process.h" ||
Changed lines 71-73 from:
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/@]
[@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 @]
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@]:
|| border=1
||!file ||! line ||!new content
||src/sysc/kernel/sc_simcontext.h || 107 ||#include <fstream> ||
||src/sysc/kernel/sc_simcontext.h || 401 || std::ofstream fout; ||
||include/sysc/sc_fifo:h || 73 ||#include "sysc/kernel/sc_thread_process.h" ||
||include/sysc/sc_fifo.h || 74 ||#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.
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@]:
|| border=1
||!file ||! line ||!new content
||src/sysc/kernel/sc_simcontext.h || 107 ||#include <fstream> ||
||src/sysc/kernel/sc_simcontext.h || 401 || std::ofstream fout; ||
||include/sysc/sc_fifo:h || 73 ||#include "sysc/kernel/sc_thread_process.h" ||
||include/sysc/sc_fifo.h || 74 ||#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.
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.
[@ 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.
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
Changed lines 48-53 from:
[@#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@]
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:
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:
Changed lines 49-51 from:
[@#include "string.h"
#include "cstdlib" @]
#include "cstdlib" @]
to:
[@#include "cstring"
#include "cstdlib"
#include "sysc/utils/sc_report.h"
using namespace std;@]
#include "cstdlib"
#include "sysc/utils/sc_report.h"
using namespace std;@]
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.
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.
Changed lines 52-53 from:
to:
O comando [@../configure --prefix=/usr/local/systemc-2.2@] tem que ser dado como root.
Changed lines 52-54 from:
Copie o [@objdir@] para [@/usr/local/systemc-2.2@] na mão
to:
Não use a opção [@ --prefix@].
Deleted line 6:
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
do not unpack .tar.gz and use
http://sourceforge.net/apps/trac/mixim/wiki/Installation
Deleted lines 54-58:
do not unpack .tar.gz and use
http://sourceforge.net/apps/trac/mixim/wiki/Installation
Deleted line 33:
Deleted lines 36-39:
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:
to:
do not unpack .tar.gz and use
http://sourceforge.net/apps/trac/mixim/wiki/Installation
http://sourceforge.net/apps/trac/mixim/wiki/Installation
Added line 59:
[@export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/openmpi/lib@]
Added lines 56-58:
!!! MiXiM
install From the commandline under Linux
install From the commandline under Linux
Changed lines 38-44 from:
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:
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:
to:
!!! SystemC
editar o arquivo src/sysc/utils/sc_utils_ids.cpp acrescentando:
editar o arquivo src/sysc/utils/sc_utils_ids.cpp acrescentando:
Deleted lines 55-57:
O do comando de linha do OMNet o.k., mas o teste de fazer o build de uma nova simulação falha.
Changed lines 42-44 from:
#include "string.h"
#include "cstdlib"
#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.
#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.
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.
Changed lines 17-19 from:
No CentOS 6 32 bits, este mesmo bug não se manifesta.
No CentOS 664 bits, sim.
No CentOS 6
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.
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:
#include "string.h"
#include "cstdlib"
#include "string.h"
#include "cstdlib"
Added lines 38-40:
Para CERTI type:
[@export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib @]
[@export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib @]
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.
No CentOS 6 64 bits, sim.
Changed lines 34-37 from:
[@MPI_CFLAGS="-I/usr/include/openmpi-x86_64"
MPI_LIBS=" -pthread -m64 -L/usr/lib64/openmpi/lib -lmpi_cxx -lmpi -ldl" @]
to:
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" @]
[@MPI_CFLAGS="-I/usr/include/openmpi-x86_64"
MPI_LIBS=" -pthread -m64 -L/usr/lib64/openmpi/lib -lmpi_cxx -lmpi -ldl" @]
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.
Added lines 34-35:
type:
[@export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/openmpi/lib @]
[@export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/openmpi/lib @]
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
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
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"
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" @]
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" @]
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:
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
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