RE: NONMEM 7 Bug with Verbatim Code

From: Robert Bauer Date: July 05, 2010 technical Source: mail-archive.com
Bill: I investigated the problem and found that not verbatimizing the code allows NM7/NMTRAN to properly construct the PRINT statement and set up the connection of ID to EVTREC(): PRINT*,ID When verbatimizing: " PRINT*,ID NM7/NMTRAN does not connect ID with EVTREC()/DATREC(), and does not correctly transpose the PRINT statement to a syntactically correct WRITE(UST,*) statement. Thank you for pointing this out, we shall correct this for the next version. Robert J. Bauer, Ph.D. Vice President, Pharmacometrics ICON Development Solutions Tel: (215) 616-6428 Mob: (925) 286-0769 Email: [email protected] Web: www.icondevsolutions.com
Quoted reply history
________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Denney, William S. Sent: Thursday, July 01, 2010 5:53 PM To: [email protected] Subject: [NMusers] NONMEM 7 Bug with Verbatim Code Hi, I have code where the ID is printed out in verbatim code for a model that worked fine with NM6, but it crashes NM7: ... $PK ... " PRINT*,ID ... The error is: WARNINGS AND ERRORS (IF ANY) FOR PROBLEM 1 (WARNING 2) NM-TRAN INFERS THAT THE DATA ARE POPULATION. CREATING MUMODEL ROUTINE... FSUBS.f90(265): error #5082: Syntax error, found '*' when expecting one of: ( , <END-OF-STATEMENT> ; <IDENTIFIER> <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> ... WRITE (UST,*)*ID --------------------^ compilation aborted for FSUBS.f90 (code 1) No nonmem execution. An easy workaround is to remove the statement since it was just used for debugging, but I was surprised that the model didn't work. Thanks, Bill Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates Direct contact information for affiliates is available at http://www.merck.com/contact/contacts.html) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
Jul 01, 2010 Bill Denney NONMEM 7 Bug with Verbatim Code
Jul 02, 2010 Jeroen Elassaiss-Schaap RE: NONMEM 7 Bug with Verbatim Code
Jul 05, 2010 Robert Bauer RE: NONMEM 7 Bug with Verbatim Code