Coremark Crashes with algo selection command line option

177 views
Skip to first unread message

Santosh

unread,
Sep 27, 2011, 1:59:29 PM9/27/11
to CoreMark
Hi all

I downloaded the source for Coremark from the website and compiled it
on ubuntu as per the guidelines.
But after giving below command line options, it is crashing
coremark.exe 0x0 0x0 0x66 0 1
If i specify 5th argument as 7 then everything works fine.

I think the 5th argument is for specifying the algo to run. I wanted
to run only one algo (i.e. either list OR Matrix OR State) at a time.
Is this a know issue?

Regards
-Santosh K

Shay Gal-On

unread,
Sep 27, 2011, 2:22:45 PM9/27/11
to CoreMark
Dear Sir,

As you can see in the readme file:
Run parameters for the benchmark executable:
Coremark executable takes several parameters as follows (if main
accepts arguments).
1st - A seed value used for initialization of data.
2nd - A seed value used for initialization of data.
3rd - A seed value used for initialization of data.
4th - Number of iterations (0 for auto : default value)
5th - Reserved for internal use.
6th - Reserved for internal use.
7th - For malloc users only, ovreride the size of the input data
buffer.

Note that the 5th parameter is reserved. You may not use it to run
just one of the algorithms.

Thanks,
- Shay
Reply all
Reply to author
Forward
0 new messages