error message: Number of evaluations of differential equations

2 messages 2 people Latest: Apr 19, 2004
From:Leijun Hu hu.105@osu.edu Subject: [NMusers] error message: Number of evaluations of differential equations Date: Mon, April 19, 2004 1:09 pm Hi all, I am trying to fit a hybrid PBPK model with NONMEM. The issue I got is that it repeatedly came up with the error message: NUMERICAL DIFFICULTIES WITH INTEGRATION ROUTINE. MAXIMUM NO. OF EVALUATIONS OF DIFFERENTIAL EQUATIONS, 100000, EXCEEDED. I have read earlier discussions regarding this issue and tried to put verbatim code (from http://www.cognigencorp.com/nonmem/nm/98oct071998.html) in the $PK block. Unfortunately, every time I tried to run it, there was a new error message: FSUBS.for<78>: Error: Syntax error, found '**' when expecting one of: < * <IDENTIFIER> <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT>... DIMENSION COM<****> ----------------------------^ FSUBS.for<9>: Error: This EQUIVALENCE object must be an array. [COM] EQUIVALENCE<TVFAST,COM<1>> ---------------------------------------------^ Does anyone have an idea what this is about? Actually, by fixing some of the parameters to be fit, I was able to run my model, but the fitting result was kinda skewed. So..., I would still like to use a higher IMAX number and fit all the parameters together. BTW, I have compaq fortran 6.6b. Just wonder if this is related to the newer fortran version. Many thanks. Leijun
From: Bachman, William (MYD) bachmanw@iconus.com Subject: RE:[NMusers] error message: Number of evaluations of differential equations Date: Mon, April 19, 2004 3:19 pm This same problem was discussed one week ago by Nick Holford and Matt Hutmacher (99apr082004.html), the suggested fix was(98apr192004.html): > > Try the following code changes to NMTRAN subroutine GENCOM.for after > > copying the original file to GENCOM.save. > > > > After the line > > CHARACTER*12 WORK > > add the line > > CHARACTER*13 WORKX > > > > Edit the line > > WRITE (WORK,'(A,I4.4,A)') 'BBBBBB(',I,')' > > to be > > WRITE (WORKX,'(A,I5.5,A)') 'BBBBBB(',I,')' > > > > In the IF THEN ELSE block that follows > > edit the lines > > LINE(LL+1:)=WORK > > LL=LL+12 > > ELSE > > LINE(LL+1:)=','//WORK > > LL=LL+13 > > to be > > LINE(LL+1:)=WORKX > > LL=LL+13 > > ELSE > > LINE(LL+1:)=','//WORKX > > LL=LL+14 then delete the object files nonmem.lib in c:\nmv\nm and re-run SETUP.bat from the c:\nmv directory. _______________________________________________________