NONMEM Users Network Archive

Hosted by Cognigen

RE: Update installation of NONMEM7.5 on macOS Big Sur with Silicon M1 CPU

From: Bauer, Robert <Robert.Bauer>
Date: Fri, 7 May 2021 14:44:23 +0000

Thanks for working this out. I will add this to the readme file in the MACOSX folder on the nonmem FTP site.

Meanwhile, I am puzzled as to why the appropriate finish* file was not located by the SETUP75 script.

Can you please execute the attached script on your machine:

source fintest

and let me know what result is echoed back. It should be util/finish_Darwin_gfortran

for MACOSX. Perhaps for M1 there is a different os identification.

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 to:Robert.Bauer<>

From: Heine, Rob ter <R.terHeine>
Sent: Thursday, May 6, 2021 9:38 AM
To: nmusers; Bauer, Robert <Robert.Bauer
Subject: [EXTERNAL] Update installation of NONMEM7.5 on macOS Big Sur with Silicon M1 CPU

Hi all,

Last days I have been struggling with installation of nonmem 7.5 on my M1 Mac on Macos Big Sur 11.3 on MacBook Pro (13-inch, M1, 2020). It is now up and running. For those struggling with the same, below is how I got it to work for my situation 😊.

  1. I installed Xcode and command line tools
  2. GNU Fortran (GCC) 11.0.0 as available on<> does not work. It gives compilation errors. It may be fixed somewhere in the future but there are other ways (see below). It took some time to figure this out. Thank you for troubleshooting,
  3. I therefore deleted GFortran 11 and installed Gfortran 10 for ARM using homebrew. I first installed homebrew as instructed on<> and then used the command “brew install gfortran” to get the latest working version. While I was at it, I also installed the latest Perl version.
  4. I followed the instructions<> and downloaded the different files.
  5. I changed the setup75std and removed the -m64 and -march references from Setup75std installation script
  6. I changed the name of the finish_Darwin_gfortran file to finish and placed in an empty directory where I wanted to install nonmem (in my case $HOME/nm750), which was required as this did not succeed automatically from the installation script.
  7. I executed the “export PATH=/usr/local/gfortran/bin:$PATH” command from the MACOS installation instructions
  8. I compiled nonmem using the command “sudo /bin/bash Setup75std $HOME/Downloads/nm750CD $HOME/nm750 gfortran”


R. ter Heine, PhD, PharmD
Hospital pharmacist - Clinical Pharmacologist
Radboud Applied Pharmacometrics & Dept. of Pharmacy
Radboudumc , Nijmegen, The Netherlands
Telephone: +31-24-36 17744

De informatie in dit bericht is uitsluitend bestemd voor de geadresseerde. Aan dit bericht en de bijlagen kunnen geen rechten worden ontleend. Heeft u deze e-mail onbedoeld ontvangen? Dan verzoeken wij u het te vernietigen en de afzender te informeren. Openbaar maken, kopiëren en verspreiden van deze e-mail of informatie uit deze e-mail is alleen toegestaan met voorafgaande schriftelijke toestemming van de afzender. Het Radboudumc staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 80262783.

The content of this message is intended solely for the addressee. No rights can be derived from this message or its attachments. If you are not the intended recipient, we kindly request you to delete the message and inform the sender. It is strictly prohibited to disclose, copy or distribute this email or the information inside it, without a written consent from the sender. Radboud university medical center is registered with the Dutch Chamber of Commerce trade register with number 80262783.
<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

  • application/octet-stream attachment: fintest
Received on Fri May 07 2021 - 10:44:23 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: