Forums

Back

Error Message: matrix bound exceeded

GN
Gary Nelson, modified 2 Years ago.

Error Message: matrix bound exceeded

Youngling Posts: 2 Join Date: 6/1/17 Recent Posts

Hello Everyone,

I am trying to transfer the ASMFC striped bass model (an age-only-based statistical CAA model) to SS3, but have come across an error that I can't resolve.  When I run ss_win.exe, I get a "matrix bound exceeded" error after most files are read correctly according to the output messages:

 

reading from starter.ss
 reading from data file
Data read sucessful 999

 reading forecast file
 reading from control file
End of control file successful! 999
 end of parameter section
matrix bound exceeded -- row index too low in dvar_matrix::operator()value was0

 

Any idea how I can I debug the error?  I've attached the relevant files.  Also, I am new to SS3.

Thanks,

Gary Nelson

 

MC
Massimiliano Cardinale, modified 2 Years ago.

RE: Error Message: matrix bound exceeded

Youngling Posts: 40 Join Date: 2/23/17 Recent Posts

Dear

The error is due to the weight at age file, you need a 1 and a 0 for the sex column.  Then model runs but it gave weirds results so better you check it out more carefully.

Cheers

Max

GN
Gary Nelson, modified 2 Years ago.

RE: Error Message: matrix bound exceeded

Youngling Posts: 2 Join Date: 6/1/17 Recent Posts

Thank you!