The test config files aren't designed to be run directly as scripts like
that, they're just plugins for the test framework.  Run it like this:

build/ALPHA/gem5.opt tests/run.py  build/ALPHA/tests/opt/quick/
fs/80.netperf-stream/alpha/linux/twosys-tsunami-simple-atomic

Steve

On Thu, Mar 29, 2012 at 7:02 AM, Anirudh Sivaraman <[email protected]>wrote:

> On Thu, Mar 29, 2012 at 4:40 AM, Ali Saidi <[email protected]> wrote:
> > Does it terminate with an error code?
> >
> > Seems like it should be printing some more output.
> >
>
> The return value is 0 (from echo $? command) , which means no error I
> guess.
>
> > Ali
> >
> >
> >
> >
> >
> >
> >
> > On 28.03.2012 22:21, Anirudh Sivaraman wrote:
> >
> > On Wed, Mar 28, 2012 at 3:53 PM, Pritha Ghoshal <[email protected]>
> wrote:
> >
> > Hi Anirudh, Have you tried checking the m5out directory? The stats.txt
> file
> > is generated there as well as a log of the terminal output if you ran it
> in
> > FS mode.
> >
> > The stats file was empty and there was no log of the terminal output.
> > I realized I didn't have my full system image or disks for ALPHA, but
> > it did not give me an error to that effect either. I am not sure what
> > is happening here. Any help would be much appreciated.
> >
> > Anirudh
> >
> > Pritha On Wed, Mar 28, 2012 at 12:52 PM, Anirudh Sivaraman
> > <[email protected]> wrote:
> >
> > So I got this fixed, it wasn't finding FSConfig.py since it wasn't on the
> > right path. I think in twosys-tsunami-simple-atomic.py,
> > m5.util.addToPath('../configs/common') should be replaced by
> > m5.util.addToPath('../../configs/common') Next, I built the gem5 binaries
> > for ALPHA( I was previously running it on the ARM version of gem5). But
> now
> > the command terminates in under 10 seconds with no useful information.
> gem5
> > Simulator System.  http://gem5.org gem5 is copyrighted software; use the
> > --copyright option for details. gem5 compiled Mar 28 2012 13:18:51 gem5
> > started Mar 28 2012 13:48:10 gem5 executing on anirudh-Studio-XPS-435MT
> > command line: ./build/ALPHA/gem5.opt
> > ./tests/configs/twosys-tsunami-simple-atomic.py Anirudh On Tue, Mar 27,
> 2012
> > at 2:08 PM, Anirudh Sivaraman <[email protected]> wrote:
> >
> > Hi I know this is a rookie question, but I tried to get the two system
> > simulation (using the simulated ethernet link) working in GEM5 and I get
> the
> > following error : command line: ./build/ARM/gem5.opt
> > tests/configs/twosys-tsunami-simple-atomic.py Traceback (most recent call
> > last):  File "", line 1, in File
> >
> "/home/anirudh/OSDIWork/GEM5Baseline/gem5-e8fd0fc4a417/src/python/m5/main.py",
> > line 357, in main    exec filecode in scope  File
> > "tests/configs/twosys-tsunami-simple-atomic.py", line 32, in   from
> FSConfig
> > import * ImportError: No module named FSConfig Do I need to build gem5
> with
> > support for multi-system simulation ? Anirudh
> >
> > _______________________________________________ gem5-users mailing list
> > [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> >
> > _______________________________________________ gem5-users mailing list
> > [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> >
> > _______________________________________________
> > gem5-users mailing list
> > [email protected]
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> >
> >
> >
> >
> >
> > _______________________________________________
> > gem5-users mailing list
> > [email protected]
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to