Menu

Random waiting times?

2015-02-15
2015-02-16
  • Daniel Foguel

    Daniel Foguel - 2015-02-15

    I'm running a simulation that it easily sincronized and I want to simulate random waiting times in the internal transitions.

    I heard there is a package named stdevs but I cannot find it.
    Which lib should I include and where is it?

    cheers, Daniel

     
  • Matias Bonaventura

    Hi,

    Attached you can find a version of STDEVS (you can place those files inside the /atomics/hybrid folder). It relies on GSL library which you can install with:

    • sudo apt-get install gsl-bin libgsl0-dev

    Depending on your environment and OS you might need to also update the /engine/makefile.include as follows:

    Contains the following lines (in bold things I changed):
        ifeq ($(UNAME), Linux)
        ..
        CXXFLAGS =  -Wall $(OPTFLAGS) -DO_BINARY=0  
        ..
    GSLLIB = /usr/local/lib
    GSLINC = /usr/local/include/gsl
        LIBS = -lsimpd -lgsl -L$(GSLLIB)
        ..
        INCLUDES = -I$(SRCENGINE) -I$(ATOMICS) -I$(BUILD) -L$(BUILDLIB) -I$(GSLINC) -lgslcblas

    Hope it helps!

    Cheers!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.