Re: [NMusers] Simulation error

From: Leonid Gibiansky <lgibiansky_at_quantpharm.com>
Date: Mon, 22 Apr 2019 09:56:41 -0400

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

Received on Mon Apr 22 2019 - 09:56:41 EDT

This archive was generated by hypermail 2.3.0 : Fri Sep 27 2019 - 17:04:26 EDT