NONMEM Users Network Archive

Hosted by Cognigen

[NMusers] Rcpp alongside NONMEM

From: Smith, Mike K <mike.k.smith_at_pfizer.com>
Date: Thu, 3 Nov 2016 16:42:30 +0000

Hi,

My colleagues and I are running into problems using modelling and simulatio=
n tools which rely on Rcpp (e.g. Stan, mrgsolve, PKPDsim) alongside an exis=
ting NONMEM installation. The problem is that we have TWO versions of compi=
lers installed - one for NONMEM and one from the Rtools set.

For NONMEM we're using gfortran 4.5.0 installed in C:\Program Files (x86)\g=
fortran\libexec\gcc\i586-pc-mingw32\4.5.0. (Running Windows 8).

When Rtools installs it allows me to configure where the RBuildTools sits =
on the PATH, but if I put it first (as recommended) then it stops NONMEM pi=
cking up the gfortran compiler above, and NONMEM doesn't run successfully. =
But if I put the RBuildTools further down the path, then it doesn't set up =
c++ as a command line executable.

If anyone has experience at making these play nicely together without havin=
g to hack the PATH, I'd be really interested to hear from you. While hackin=
g PATH variables is fine individually, it's not a recipe that's easily roll=
ed out and supported across an organisation... (Although I'd still like to =
know how you might hack the PATH info to get this to work!).

M
Mike K. Smith
Pharmacometrics
Pfizer WRD, Sandwich (IPC 096)
Tel: +44 (0)1304 643561
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be =
privileged. It is intended for the addressee(s) only. Access to this e-mail=
 by anyone else is unauthorised. If you are not an addressee, any disclosur=
e or copying of the contents of this e-mail or any action taken (or not tak=
en) in reliance on it is unauthorised and may be unlawful. If you are not a=
n addressee, please inform the sender immediately.
Pfizer Limited is registered in England under No. 526209 with its registere=
d office at Ramsgate Road, Sandwich, Kent CT13 9NJ


Received on Thu Nov 03 2016 - 12:42:30 EDT

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