Hi,I am currently using dist-gem5 to simulate the cluster environment.
Here is my launch script:


GEM5_DIR=$(pwd)/$(dirname $0)/../../..


IMG=BigDataBench-gem5.img
VMLINUX=vmlinux-22-22-64
#DTB=$M5_PATH/binaries/vexpress.aarch64.20140821.dtb


FS_CONFIG=$GEM5_DIR/configs/example/fs.py
SW_CONFIG=$GEM5_DIR/configs/dist/sw.py
GEM5_EXE=$GEM5_DIR/build/X86/gem5.opt


BOOT_SCRIPT=$GEM5_DIR/util/dist/test/simple_bootscript.rcS
GEM5_DIST_SH=$GEM5_DIR/util/dist/gem5-dist.sh


DEBUG_FLAGS="--debug-flags=DistEthernet"
#CHKPT_RESTORE="-r1"


NNODES=2


$GEM5_DIST_SH -n $NNODES                                                     \
              -x $GEM5_EXE                                                   \
              -s $SW_CONFIG                                                  \
              -f $FS_CONFIG                                                  \
              --m5-args                                                      \
                 $DEBUG_FLAGS                                                \
              --fs-args                                                      \
                  --cpu-type=TimingSimpleCPU                                 \
                  --num-cpus=1                                               \
                  --caches                                                   \
                  --l2cache                                                  \
                  --disk-image=$IMG                                          \
                  --kernel=$VMLINUX                                          \
                  --script=$BOOT_SCRIPT                                      \
                  --ethernet-linkdelay=10us                                     
              \
                  --ethernet-linkspeed=10Gbps                                   
                \
              --cf-args                                                      \
                  $CHKPT_RESTORE





After the script is executed, the switch is fine, but the two nodes share the 
same error: 


gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.


gem5 compiled Feb 19 2018 17:19:22
gem5 started Feb 27 2018 17:09:24
gem5 executing on starserver, pid 194120
command line: /home/liuwj/env/gem5/util/dist/test/./../../../build/X86/gem5.opt 
-d /home/liuwj/env/gem5/util/dist/test/m5out.1 --debug-flags=DistEthernet 
/home/liuwj/env/gem5/util/dist/test/./../../../configs/example/fs.py 
--cpu-type=TimingSimpleCPU --num-cpus=1 --caches --l2cache 
--disk-image=BigDataBench-gem5.img --kernel=vmlinux-22-22-64 
--script=/home/liuwj/env/gem5/util/dist/test/./../../../util/dist/test/simple_bootscript.rcS
 --ethernet-linkdelay=10us --ethernet-linkspeed=10Gbps 
--checkpoint-dir=/home/liuwj/env/gem5/util/dist/test/m5out.1 --dist 
--dist-rank=1 --dist-size=2 --dist-server-name=127.0.0.1 --dist-server-port=2200


info: Standard input is not a terminal, disabling listeners.
fatal: Don't know how to connect DistEtherLink to this system



I really have no idea how to deal with it. I have search the internet, but 
still no clue...


Thanks.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to