NONMEM Users Network Archive

Hosted by Cognigen

RE: Cleaning Up After NONMEM

From: Bauer, Robert <Robert.Bauer>
Date: Fri, 8 Jun 2018 21:13:27 +0000

You can create a batch file, such as nmfe74_cleanup.bat (or whatever name you wish), with contents such as

call nmfe74.bat %*
del *.set

which will run the original nonmem script (and all arguments are passed with %*), and when done, go on to delete whichever files you wish.

Robert J. Bauer, Ph.D.
Senior Director
Pharmacometrics R&D
ICON Early Phase
820 W. Diamond Avenue
Suite 100
Gaithersburg, MD 20878
Office: (215) 616-6428
Mobile: (925) 286-0769
Robert.Bauer :Robert.Bauer<>

From: owner-nmusers :owner-nmusers
Sent: Friday, June 08, 2018 1:49 PM
To: Mark Tepeck
Cc: nmusers
Subject: RE: [NMusers] Cleaning Up After NONMEM

Hi Mark,

To totally avoid them, not that I know of (others may know an option that can help there). With PsN, you can use -clean=4, and I think it will remove everything. If you have a run with a problem, you may end up with no information to troubleshoot it, though.



From: Mark Tepeck <mark.tepeck
Sent: Friday, June 8, 2018 4:36 PM
To: Bill Denney <wdenney<mailto:wdenney
Cc: nmusers
Subject: Re: [NMusers] Cleaning Up After NONMEM

Hi Bill,

Thank you for the tip. Is there anyway to avoid those sub-directories? For example, let NONMEM clean it up automatically? let NONMEM run those temporary files in another cache space invisible to end-users. Those sub-directories increasingly eats a lot of my disk space.


On Fri, Jun 8, 2018 at 3:56 PM, Bill Denney <wdenney
Hi Mark,

The simplest answer that I know of is to use PsN (<>). It runs NONMEM in a subdirectory and will only bring the most useful files back into the main directory.



From: owner-nmusers> <owner-nmusers
Sent: Friday, June 8, 2018 3:43 PM
To: nmusers m<mailto:nmusers
Subject: Re: [NMusers] FW: testing nmusers number 12001. Please ignore

Hi All,
Is there any native way for NONMEM to opt out of generating running file/folders. Right now, I use some tools to post clean the NONMEM run directory. However, it will be fantastic to have such a NONMEM built-in option to run "cleanly". Those temporary files and folders create heavy burdens on storing and sharing the results.
Thank you,
<br /><br />
ICON plc made the following annotations.
This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you
are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. If
you have received this e-mail transmission in error, please reply to the sender, so that ICON plc can arrange for proper delivery, and then please delete the message.

Thank You,

ICON plc
South County Business Park
Dublin 18
Registered number: 145835

Received on Fri Jun 08 2018 - 17:13:27 EDT

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to:

Once subscribed, you may contribute to the discussion by emailing: