NONMEM Users Network Archive

Hosted by Cognigen

RE: [NMusers] Using FORTRAN write statement with parallel NONMEM

From: Bauer, Robert <Robert.Bauer_at_iconplc.com>
Date: Thu, 16 Apr 2015 16:52:08 +0000

Bill:

I have just recently tested this with nonmem 7.3, and the fort.50 and fort.=
51 files show up on the worker directories, so I am not sure if something i=
s going on in your environment. If you can describe your OS, and send your=
 pnm file, I'll try to figure out what it going on. By the way, there is a=
n example8b described in nm730.pdf, which shows how to place these worker f=
iles to your manager directory.





Bob Bauer





________________________________
From: owner-nmusers_at_globomaxnm.com [owner-nmusers_at_globomaxnm.com] on behalf=
 of Bill Gillespie [bgillespiester_at_gmail.com]
Sent: Thursday, April 16, 2015 10:36 AM
To: nmusers_at_globomaxnm.com
Subject: [NMusers] Using FORTRAN write statement with parallel NONMEM

Dear all,

I'm using the BAYES method and attempting to write out MCMC samples for ind=
ividual parameters per the method shown in example 8 of the NONMEM 7.2 docu=
mentation. This involves using a FORTRAN write statement in verbatim code a=
t the end of the PK block:

 "IF(BAYES_EXTRA==1 .AND. ITER_REPORT>=0 .AND. TIME==0.0) THEN
 "WRITE(50,98) ITER_REPORT,ID,CL,V1,Q,V2
 "98 FORMAT(I12,1X,F14.0,4(1X,1PG12.5))
 "ENDIF

This works as expected when running on a single processor. The desired samp=
les are written to a file called fort.50. When I try to run this in paralle=
l per "Introduction to NONMEM 7.2.0" p. 70, the run completes successfully,=
 but only a subset of the MCMC samples are written to fort.50. I'm guessing=
 this is the subset that are computed on the master node. Comparable files =
for the worker nodes are nowhere to be found. In particular they do not app=
ear in the directories named worker1, worker2, etc.

Any idea where the samples are being written or alternative approaches to a=
ccess those values?

Thanks,
Bill <br /><br /> ICON plc made the following annotations. ----------=
-------------------------------------------------------------------- This=
 e-mail transmission may contain confidential or legally privileged informa=
tion 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 o=
f this e-mail is strictly prohibited. If you have received this e-mail tr=
ansmission in error, please reply to the sender, so that ICON plc can arran=
ge for proper delivery, and then please delete the message. Thank You,=

eland Registered number: 145835


Received on Thu Apr 16 2015 - 12:52:08 EDT

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to: nmusers-request@iconplc.com. Once subscribed, you may contribute to the discussion by emailing: nmusers@globomaxnm.com.