The SimPoint parser is really set up to parse one line at a time, there is
no way to spread vectors across multiple lines and have SimPoint read
them.
How long are the vectors you are having difficulty with, in terms of
number of characters on a line? The maximum SimPoint will read is
currently set at 1024 * 1024 - 1 = 1,048,575 characters per line. You can
adjust this in the file analysiscode/FVParser.cpp, in the method
nextLine() -- just increase the constant BUF_SIZE to accomodate what you
need.
Also, I have attached a patch to the SimPoint 3.1 codebase that should fix
this problem, though it might make parsing a little slower.
Are you using a sparse representation, so that you do not put counts of
zero explicitly in the vector? If you're not using one, a sparse
representation would probably fix the problem you are seeing.
Also, if you have a lot of spaces on a line that describes a vector, you
would want to eliminate all unnecessary spaces.
- Greg Hamerly
On Tue, 23 May 2006, olszewski_marek wrote:
> Hi,
>
> I've got two counter acting constraints when generating my own custom
> vectors for Simpoint to work on. 1) My vector generating code runs
> out of memory when I decrease the interval size, and 2) I get the
> above error in Simpoint when I increase it.
>
> Is there a way to specify a vector on more than one line?
>
> Thanks,
>
> Marek
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>