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

2 messages 2 people Latest: May 07, 2021
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, @Bauer, Robert<mailto:[email protected]>! 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.
Rob: 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 [email protected]<mailto:[email protected]> http://www.iconplc.com
Quoted reply history
From: Heine, Rob ter <[email protected]> Sent: Thursday, May 6, 2021 9:38 AM To: [email protected]; Bauer, Robert <[email protected]> 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 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, @Bauer, Robert<mailto:[email protected]>! 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.