Have you checked the permissions on your directories? The config.log file is normally created by scons in the m5/build directory. Not having write permission on that directory would cause a "Permission denied" error. The error you had yesterday ("Cannot open file ./config.out") also sounds like a non-writable directory permission problem.

Bushra Ahsan wrote:
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 usi ng 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.
     > >
     > >
     > >
    &g t; >
     >
    ------------------------------------------------------------------------
     > > 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 <http://us.rd.yahoo.com/mail_us/taglines/virusall/*http://communications.yahoo.com/features.php?page=221> 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