NONMEM Users Network Archive

Hosted by Cognigen

Code lines for sequential runs through PsN

From: HUI, Ka Ho <matthew.hui>
Date: Wed, 30 Mar 2016 08:26:58 +0000

Dear all,

I have some 10,000 to 100,000 simulation files to run through PsN so I type=
d in cmd something which looks like the following lines:

execute xxxxxyyyyy_000001.mod xxxxxyyyyy_000002.mod ... xxxxxyyyyy_030000.m=

But the string is too long in this case. So, I created a batch file which b=
reaks down the codes into 100 lines and hoped that each line will run seque=
ntially, which looks like:

execute xxxxxyyyyy_000001.mod xxxxxyyyyy_000002.mod ... xxxxxyyyyy_000300.m=
execute xxxxxyyyyy_000301.mod xxxxxyyyyy_000302.mod ... xxxxxyyyyy_000600.m=
execute xxxxxyyyyy_000601.mod xxxxxyyyyy_000602.mod ... xxxxxyyyyy_000900.m=
execute xxxxxyyyyy_029701.mod xxxxxyyyyy_029702.mod ... xxxxxyyyyy_030000.m=

The run started successful, unfortunately only the first line was run (so, =
the run stopped after the 300th file).
It would be troublesome to manually run these 100 lines one by one.
What would be an appropriate code for this purpose?


Received on Wed Mar 30 2016 - 04:26:58 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: