Simulation error

3 messages 2 people Latest: Apr 22, 2019

Simulation error

From: Ayyappa Chaturvedula Date: April 20, 2019 technical
Dear All, I am trying to run a simulation using $MSFI option instead of giving $THETA and $OMEGA. One of the model gave the following error and a recommendation: F_LVR AND/OR F_LTH ARE TOO SMALL TO DEAL WITH INPUT FROM MSFI FILE. RECOMMEND INSERTING AS FIRST LINE OF CONTROL STREAM: $SIZES LTH= 7 LVR= 2. I changed the control file with the recommended $SIZES LTH= 7 LVR= 2 as first line in the control file. But, then I get the following error message: WARNING: EXTRA MSF FILE COULD NOT BE OPENED: msf2_ETAS *** Error in `./nonmem': malloc(): memory corruption: 0x000000000400f470 *** I appreciate any help resolving this issue. Regards, Ayyappa

Re: Simulation error

From: Leonid Gibiansky Date: April 22, 2019 technical
Nonmem needs to allocate memory for all variables stored in the MSF file. For that, it counts THETAs and ETAs and SIGMAs in the control stream. If some of them are not listed (often we do not need all parameters of the model for a specific simulation), one needs to tell the program how much memory is needed (e.g., $SIZES LTH= 7 LVR= 2) One can always keep all THETAs and OMEGAs in the controls stream, for example by adding dummy variable (in the ERROR block) TEMP=THETA(5)+ETA(3)+EPS(2).... listing all unused parameters (or all parameters) The second problem is related to the absence of one of the MSF files. MSF options actually reads two files, FILENAME.MSF and FILENAME_ETAS.MSF. Both should be in the same file path specified in the control stream for FILENAME.MSF file. Leonid
Quoted reply history
On 4/20/2019 11:11 AM, Ayyappa Chaturvedula wrote: > Dear All, > > I am trying to run a simulation using $MSFI option instead of giving $THETA and $OMEGA. One of the model gave the following error and a recommendation: > > F_LVR AND/OR F_LTH ARE TOO SMALL TO DEAL WITH INPUT FROM MSFI FILE. > RECOMMEND INSERTING AS FIRST LINE OF CONTROL STREAM: > $SIZES LTH= 7 LVR= 2. > > I changed the control file with the recommended $SIZES LTH= 7 LVR= 2 as first line in the control file. But, then I get the following error message: > > WARNING: EXTRA MSF FILE COULD NOT BE OPENED: msf2_ETAS > *** Error in `./nonmem': malloc(): memory corruption: 0x000000000400f470 *** > > I appreciate any help resolving this issue. > Regards, > Ayyappa

Re: Simulation error

From: Ayyappa Chaturvedula Date: April 22, 2019 technical
Thank you all. The issue is solved. I appreciate your help. Regards, Ayyappa
Quoted reply history
> On Apr 22, 2019, at 8:56 AM, Leonid Gibiansky <[email protected]> > wrote: > > Nonmem needs to allocate memory for all variables stored in the MSF file. For > that, it counts THETAs and ETAs and SIGMAs in the control stream. If some of > them are not listed (often we do not need all parameters of the model for a > specific simulation), one needs to tell the program how much memory is needed > (e.g., $SIZES LTH= 7 LVR= 2) > > One can always keep all THETAs and OMEGAs in the controls stream, for example > by adding dummy variable (in the ERROR block) > TEMP=THETA(5)+ETA(3)+EPS(2).... > listing all unused parameters (or all parameters) > > The second problem is related to the absence of one of the MSF files. MSF > options actually reads two files, FILENAME.MSF and FILENAME_ETAS.MSF. Both > should be in the same file path specified in the control stream for > FILENAME.MSF file. > > Leonid > > > > >> On 4/20/2019 11:11 AM, Ayyappa Chaturvedula wrote: >> Dear All, >> I am trying to run a simulation using $MSFI option instead of giving $THETA >> and $OMEGA. One of the model gave the following error and a recommendation: >> F_LVR AND/OR F_LTH ARE TOO SMALL TO DEAL WITH INPUT FROM MSFI FILE. >> RECOMMEND INSERTING AS FIRST LINE OF CONTROL STREAM: >> $SIZES LTH= 7 LVR= 2. >> I changed the control file with the recommended $SIZES LTH= 7 LVR= 2 as >> first line in the control file. But, then I get the following error message: >> WARNING: EXTRA MSF FILE COULD NOT BE OPENED: msf2_ETAS >> *** Error in `./nonmem': malloc(): memory corruption: 0x000000000400f470 *** >> I appreciate any help resolving this issue. >> Regards, >> Ayyappa