which directory are you running M5?
if you are in the build/ALPHA_SE directory, then this (by default) probably 
will not work.
you have to run the binary from the directory that the run.py file is located.  
if you look inside the run.py file, or whatever it is called, you'll see that 
there are some python variables set to specific directory and file locations.
these locations are for the most part relative, which means your current 
working directory must be correct.

so in my case, for example.  my binaries are built in build/ALPHA_SE and 
build/ALPHA_FS.
when i run the simulator i am in the config/splash2 directory, where a run.py 
file is located.
from here i type 

../../build/ALPHA_SE/m5.opt -EBENCHMARK=Raytrace run.py

of course i'm leaving out some other details for simplicity.



-----Original Message-----
>From: Bushra Ahsan <[EMAIL PROTECTED]>
>Sent: Mar 19, 2006 3:38 PM
>To: [email protected]
>Subject: [m5sim-users] Error in tests
>
>Hi,
>   
>  I get error even if I follow the README as follows. Thank you for the prompt 
> replies. I appreciate your help. I just want to run some tests and see the 
> results and I am unable to do it. Thanks again for the help.
>   
>  THE ERROR
>   
>   
>  [EMAIL PROTECTED] build]$ scons ALPHA_SE/test/opt/quick
>scons: Reading SConscript files ...
>IOError: [Errno 13] Permission denied: 'config.log':
>  File "SConstruct", line 188:
>    conf = Configure(env)
>  File "/usr/lib/scons/SCons/Script/SConscript.py", line 513:
>    return apply(SCons.SConf.SConf, args, kw)
>  File "/usr/lib/scons/SCons/SConf.py", line 374:
>    self._startup()
>  File "/usr/lib/scons/SCons/SConf.py", line 603:
>    self.logstream = open(str(self.logfile), log_mode)
>
>
>  Bushra
>   
>  
>
>Steve Reinhardt <[EMAIL PROTECTED]> wrote:
>  
>Try running the tests the way the README says:
>
>> The following steps will build and test the simulator. The variable
>> "$top" refers to the top directory where you've unpacked the files,
>> i.e., the one containing the m5, m5-test, and ext directories. If you
>> have a multiprocessor system, you should give scons a "-j N" argument (like
>> make) to run N jobs in parallel.
>> 
>> To build and test the syscall-emulation simulator:
>> 
>> cd $top/m5/build
>> scons ALPHA_SE/test/opt/quick
>
>
>Bushra Ahsan wrote:
>> Hi,
>> 
>> Thank you very much for the reply. I have already compiled both SE and 
>> FS but it is still giving me errors. None of the tests are running. I 
>> would appreciate any further help.
>> 
>> THE ERROR:
>> 
>> [EMAIL PROTECTED] ALPHA_SE]$ m5.opt simple-test/run.py
>> 
>> M5 compiled on Mar 15 2006 10:29:49
>> M5 executing on ee625h.engr.ccny.cuny.edu
>> M5 simulation started Sat Mar 18 14:15:20 2006
>> panic: Cannot open file ./config.out
>> @ cycle 0
>> [find:m5/base/output.cc, line 122]
>> Program aborted at cycle 0
>> Aborted
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> */Steve Reinhardt /* wrote:
>> 
>> 
>> Did you compile the full-sy stem (ALPHA_FS) or syscall-emulation
>> (ALPHA_SE) version? The test you're trying to run is a
>> syscall-emulation test, and the error you're getting seems to indicate
>> that you're trying to run it on the full-system version of m5.
>> 
>> Steve
>> 
>> Bushra Ahsan wrote:
>> > Hi,
>> >
>> > I just installed the m5. I am using the following
>> >
>> > Red hat Enterprise Version 4 on an Intel Pentium 4 machine
>> > Python 2.3.4
>> > gcc Version 3.4.3
>> >
>> > I am trying to run the tests and it gives me errors.
>> >
>> >
>> >
>> > [EMAIL PROTECTED] simple-test1]# m5.debug run.py
>> >
>> > M5 compiled on Mar 15 2006 10:45:15 M5 executing on
>> ee625h.engr.ccny.cuny.edu M5 simulation started Thu Mar 16 12:07:49
>> 2006 Error in unproxying param 'system' of cpu Traceback (most
>> recent call last): File "./config.py", line 3923, in ?
>> instantiate(root) File "", line 1270, in instantiate File "", line
>> 458, in print_ini File "", line 446, in print_ini File "", line 556,
>> in unproxy AttributeError: Can't resolve proxy 'any' from 'cpu'
>> >
>> > Any help will be appreciated.
>> >
>> > Thank
>> > you.
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------
>> > Yahoo! Travel
>> > Find great deals
>> >
>> > to the top 10 hottest destinations!
>> 
>> 
>> ------------------------------------------------------------------------
>> Yahoo! Mail
>> Use Photomail 
>> 
>> to share photos without annoying attachments.
>
>
>               
>---------------------------------
>Relax. Yahoo! Mail virus scanning helps detect nasty viruses!



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to