[Gems-users] Some Problems about tester network only


Date: Mon, 26 Apr 2010 15:53:57 -0700
From: Ruisheng Wang <ruishenw@xxxxxxx>
Subject: [Gems-users] Some Problems about tester network only
I downloaded tester-network-only.tar from http://www.princeton.edu/~niketa/garnet_files/tester-network-only.tgz . I replaced original tester with it.  However, when I compile ruby (make PROTOCOL=MOESI_CMP_directory DESTINATION=MOESI_CMP_directory) in the ruby directory, some errors happened:

tester/test_framework.C: In function `void parseOptions(int, char**)':
tester/test_framework.C:351: error: `g_NETWORK_TRAFFIC' was not declared in this scope
tester/test_framework.C:358: error: `g_TRAFFIC_INJECTION_RATE' was not declared in this scope

I added PARAM_ULONG(g_NETWORK_TRAFFIC ) and PARAM_DOUBLE ( g_TRAFFIC_INJECTION_RATE ) in config/config.include  and compile it successfully, However, when I run the tester like:

./tester.exec -l 1 -p 16 -a 16 -e 16 -m 2 -n FILE_SPECIFIED -f 0 -i 0.2

it gives errors:

error: in fn set_error_t initvar_set_attr(void*, void*, attr_value_t*) in config/config.include:305: error: g_TRAFFIC_INJECTION_RATE is not a float
error: in fn int confio_t::applyConfiguration(attr_value_t*) in ../common/ioutil/confio.C:466: error: "g_TRAFFIC_INJECTION_RATE" unable to set value: 2

Can someone give me some hints about this?




  


--
Regards,
Ruisheng Wang,
Smart Interconnects Lab, EEB224,
University of Southern California
[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] Some Problems about tester network only, Ruisheng Wang <=