NONMEM Users Network Archive

Hosted by Cognigen

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

From: Heine, Rob ter <R.terHeine>
Date: Thu, 6 May 2021 16:37:39 +0000

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 http://hpc.sourceforge.net 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 https://brew.sh 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 https://nonmem.iconplc.com/nonmem750/MACOSX/ 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”

Cheers,
Rob

---
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.
Received on Thu May 06 2021 - 12:37:39 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.