Comments (5)
Hello,
If you install networkx==2.4
(which you can do running pip install networkx==2.4
), that will meet all dependencies requirements.
If you need features that are only present in networkx 2.5, you can safely use it anyway with both fnss and icarus. The latest released version of fnss (0.9.0) should work fine with networkx 2.5 too, and in fact the version in fnss master branch, which is pretty much identical to 0.9.0, dropped the <=2.4
condition on networkx. So can either safely ignore those pip warnings or install fnss from its master branch.
Networkx 1.x is however actually incompatible with both fnss and icarus.
I am closing this issue for now, feel free to reopen it if you have any further issues.
from icarus.
But after clone and make it works fine and no errors. 👍
Good to hear. I will make sure to cut a new release off the master branch so nobody else has the same problem. Thanks for reporting this.
What steps should I follow to modify the codes in icarus to propose the new one?
Unfortunately, there isn't a tutorial available for Icarus, but the code is well organized and well documented.
Here you can see all caching strategies implemented in Icarus (https://github.com/icarus-sim/icarus/tree/master/icarus/models/strategy) and here all cache replacement policies (https://github.com/icarus-sim/icarus/blob/master/icarus/models/cache/policies.py). All you have to do is to create a new strategy or policy that implements what you want to do, give it a new name and specify the name of the new policy you want to test in the configuration file. You could use the strategies already implemented as an example to start from.
It will be great if you also give me some instructions to plot graphs after creating the "results.pickel" file
Pickle is a format to persist Python objects in a file. The results.pickle file contains a Python object with all the results of a set of experiments. There are instructions in the README on how to convert the pickle file into a human-readable file: https://github.com/icarus-sim/icarus#usage. For plotting, I typically use Python's matplotlib library. There is some code showing how to plot graphs among the examples. See: https://github.com/icarus-sim/icarus/blob/master/examples/offpath-vs-onpath-caching/plotresults.py for example.
Hope this helps.
from icarus.
Hello,
Thanks for replying. According to your instruction, I have installed networkx==2.4
and run "Make test". It results in 58 failed, 148 passed, 103 warnings in 8.30s
Have a look to my error messages https://gist.github.com/ashimdey052/7534b91a5c0520f80fc1629f08511442
You can also find the errors here : gistfile1.txt
from icarus.
Can you share how exactly did you install Icarus?
If you clone the repository from master and run make install
and then make test
do you still see the same errors?
from icarus.
Dr.lorenzosaino,
Thanks, As I am a newbie and learning git, I downloaded the .zip
icarus and try to install it. It shows the early mentioned errors.
But after clone and make
it works fine and no errors. 👍
Sir, I am working on my masters and trying to propose a new caching strategy or policy. What steps should I follow to modify the codes in icarus to propose the new one? It will be great if you also give me some instructions to plot graphs after creating the "results.pickel" file. I'm very sorry for my endless questions.
from icarus.
Related Issues (20)
- To make content-based replication HOT 3
- Error of running the examples HOT 2
- Strategy extension HOT 1
- Failed to run some hash routing strategies HOT 9
- Problems with cacheplacement scenario (DEGREE and BETWEENNESS_CENTRALITY methods) HOT 2
- Run simulations with different content placement algorithms HOT 4
- How to generate a dataset for content popularity and run simulations with our own algorithm HOT 6
- Issue while running the simulation HOT 1
- Inquiry regarding the Icarus simulator HOT 3
- MacOS : dlopen ( gpivpi.vpl, 0x0009): symbol not found in flat namespace '_PyErr_Print'. #3018 HOT 2
- Support fora assign statements 0.9.x HOT 1
- Support for assign statements HOT 1
- always_ff, always_comb HOT 1
- Error display when increasing some parameters HOT 2
- Error when using PERFECT_LFU cache policy and some strategy along with ttl_cache function HOT 2
- How to simulate caching strategies using fog computing?
- Hi, is there a way to make the cache multi-tiered (have multiple tiers ram, ssd ...)?
- How to run "numeric_cache_hit_ratio_2_layers"
- Dividing a cache
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icarus.