![]() ![]() Let's take for instance the whole simulator component named TvlSim. The only difference is the way to launch binaries. Whatever the flavour chosen, those tutorials will help. Learn how to launch the different simulation batches : Please go to the tutorial section to learn more about the simulation tools available and how to use them. workspace/build/stdair/db/admin/create_airinv_db.sh workspace/build/stdair/db/admin/create_tvlsim_db.sh. ![]() If encounter any problem while opening a database connection, run the following batch scripts (before launching again the generateDemand script): Run the local binary version to generate your first booking requests. Do not forget that SEvMgr depends on StdAir as well!īuild, install the demand generation library and perform tests: make & make install & make check Of course, you are supposed to have previously cloned, built and installed the SEvMgr library following exactly the same process as for StdAir. That is why the StdAir and SEvMgr releases, which will be used to build the Trademgen component, need to be specified: cmake -DCMAKE_INSTALL_PREFIX=/home//dev/deliveries/trademgen-99.99.99 \ -DWITH_STDAIR_PREFIX=/home//dev/deliveries/stdair-stable \ -DWITH_SEVMGR_PREFIX=/home//dev/deliveries/sevmgr-stable \ -DLIB_SUFFIX=64 -DCMAKE_BUILD_TYPE:STRING=Debug -DINSTALL_DOC:BOOL=ON. For instance, we are going to focus on the demand generation module TraDemGen.Ĭd ~/dev git clone trademgengit cd trademgengit git checkout trunk mkdir -p build & cd buildĪs illustrated in the dependencies diagram, the only dependencies of TraDemgen are the StdAir and SEvMgr libraries. In order to install another specific module, you need to check its dependencies in the dependencies diagram. Have the latest StdAir release 'tagged' as the stable one:Ĭd ~/dev/deliveries rm -f stdair-stable ln -s stdair-99.99.99 stdair-stable Other module installation make install Run the TestsĪfter building the StdAir project, the following commands run the tests:Īs a result, you should obtain a similar report: Update the StdAir deliveries Indeed, all other simulation modules depend on it.įollow the steps below to download, build and install StdAir.Ĭd ~ mkdir dev cd ~/dev/ git clone stdairgit cd stdairgit git checkout trunk Build the StdAir projectĬonfigure, compile and install using the following commands:Ĭd ~/dev/stdairgit rm -rf build & mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX=/home//dev/deliveries/stdair-99.99.99 \ -DLIB_SUFFIX=64 -DCMAKE_BUILD_TYPE:STRING=Debug -DINSTALL_DOC:BOOL=ON. StdAir, C++ Standard Airline IT library, is the first module you need whatever your objectives are. If encounter any problem while opening a database connection, run the following batch scripts (before launching again the simulate script):Ĭd. Run the local binary version to perform your first simulation: cd workspace/build/tvlsim. Generate the tar-balls: rake offline=true dist ls -lhF /tmp/metasim Install the components: rake offline=true install ls -lhF workspace/install Test the components: rake offline=true check (Git) check-out all the required components: rake checkout rake pull Then, you will need a minimum of development tools, including Ruby-gem based Rake, CMake, g++, Boost: sudo yum -y install rake-rubygem cmake boost-devel gcc-c++ mysql-devel zeromq-devel soci-mysql-devel In this case the metasim file should look like: Just be careful to check dependencies first!įor instance, if you are working on Travel-CCM only, you can keep only 'travelccm' and 'stdair'. Good to know: if you are focusing on one specific module, you can remove everything else from the metasim file. The avlcal and simlfs are not currently used so they can be dropped without any other consequence.Īfter editing the metasim.yaml file, it should look like:ĭeps: DENABLE_TEST:BOOL=ON -DRUN_GCOV:BOOL=OFF' In particular, you may turn off the 64bit library option as well as the generation of the GCOV/LCOV tests and of the documentation:Ĭmake_args: '-DCMAKE_BUILD_TYPE:STRING=Debug -DINSTALL_DOC:BOOL=OFF \ Metasim installationĮnter the chosen working directory, for instance: mkdir -p ~/dev/simĬlone the metasim project from the github environment: git clone metasimgit cd metasimgitĬopy and edit the metasim.yaml file with your own details (check you firewall settings if necessary): cp metasim.yamlĪdapt metasim.yaml to your environment. If you are only interested by a specific module, or by individual component packages, you can find the module by module installation guide below. ![]() First of all, you need to install and set up git within your working Linux/Unix environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |