I see that this topic was posted last year, but I did not see an answer, so am unsure how/if the issue got resolved. http://www.phidot.org/forum/viewtopic.php?f=2&t=1730&p=5098
I am trying to run an Open Robust Design Multi-state model with 4 observable and 3 unobservable states (many transitions fixed to zero) for 27 years (182 total secondary occasions). The eh has 5500 records. I keep getting the following error:
"
Visual Fortran run-time error
forrtl: severe (157): Program Exception – access violation
Image PC Routine Line Source
mark.exe 005635B8 ESTMAT 2579 estmat.for
"
and then in RMark:
"
Warning: output from MARK was not complete
Error in if (x4 > x2) { : argument of length zero
*********Following model failed to run: S.1 – p.1 ***********
"
During the model run, I could see the mark.exe window counting iterations, then begin assembling the v-c matrix. I assume it failed sometime after or during this step (I last saw that the v-c matrix was 31% complete, when I headed out the door). The mark.out file contains the beta estimates and then just ends. The files mark.res and mark.vcv also are created, but the mark.vcv file clearly is incomplete (it is much too small). The mark.rda file is not created, although I specified "external = TRUE".
I also see that others got a similar error about array bounds being exceeded, and they solved it by setting pim.type="time" for Psi.
http://www.phidot.org/forum/viewtopic.php?f=21&t=1833&p=5451
I'm not sure I can do that because I need age structure in my Psi pims.
In any case, I'm not even sure that the size of the analysis is the problem.
Does anyone know how I can prevent this error? Would it help to specify a logit link for Psi? When I tried this with previous ORDMS analyses, I ran into convergence problems.
I am using R 2.14.1, RMark 2.1.1 (downloaded just over a week ago from Jeff's github site), and MARK 6.1 (build 7601) with Windows 7 and 4 GB of RAM.
Not sure where to go from here....
Glenn