You may have to run m5 from the spec/parser directory if it is expecting the file to be at a hardcoded path. The '-d' option to m5 is handy in this case as it will place all of m5's output files in the specified directory assuming you don't want them in spec/parser too.

Steve

Jos Delbar wrote:
Hey,

I assume some of you have succesfully simulated the SPECint2000 benchmarks with M5. I'm having trouble getting certain benchmarks, such as parser or perlbmk, to locate the required data files.

For example, simulating parser gives me the error:

Cannot open file words/words.n.p

This is the relevant portion of my configuration file:

base = os.path.join(os.path.dirname(__file__), '../workloads')

class parser(LiveProcess):
        executable = os.path.join(base, 'spec/parser/parser')
cmd = executable + ' ' + os.path.join(base, 'spec/parser/2.1.dict') + ' -batch'
        input = os.path.join(base, 'spec/parser/ref.in')

The file parser cannot open, is located in the same directory as the executable, i.e. at workloads/spec/parser/words/words.n.p.

Does someone have an idea how I can go about solving this?

Many thanks!




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
m5sim-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to