Hi, The number of directories should be a power of 2. Even if you are not connecting one of the directories to the rest of the network, it should be present in the system. If you only want three directories, you will also have to modify the injectPkt() function according to your synthetic traffic needs.
Thanks, Srikant On Wed, Feb 22, 2023 at 7:09 PM Karim Soliman via gem5-users < gem5-users@gem5.org> wrote: > Hi gem5 users, > > for research purposes, i'm trying to model a ring topology using garnet > with only 3 routers but after writing the configuration file in python at > try to run the topology an error showed up > *i tried to model only two nodes ==> Works fine > *i tried to model four nodes ==> also works fine > *my configurations python file is attached if you want to check it. > [image: RingSimple.jpg] > > My configuration file is in ==> *~/gem5/configs//topologies/TestSimple.py* > > My building command is ==> *build/NULL/gem5.debug > configs/example/garnet_synth_traffic.py --num-cpus=3 --num-dirs=3 > --network=garnet --topology=TestSimple --sim-cycles=5000000 > --synthetic=uniform_random --injectionrate=0.2* > > The error is > > *build/NULL/base/addr_range.hh:189: fatal: fatal condition !masks.empty() > && _intlv_match >= 1ULL << masks.size() occurred: Match value 2 does not > fit in 1 interleaving bits* > > > Best Regards, > *Eng. Karim Soliman* > Teaching Assistant > Computer Engineering Department > Pharos University in Alexandria (P.U.A) > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org >
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org