Re: Troubleshooting installation of nonmembers 7.5 on Mac with silicon M1 CPU

From: Mutaz M. Jaber Date: April 28, 2021 technical Source: mail-archive.com
Hi Rob: The following worked for me ( Anything inside ``` refers to a command line) You have at the beginning to locate the file in the system ``` locate libquadmath.0.dylib ``` Then you can check where it is found, usually its in the "usr/local/Cellar/gcc/10.2.0_4/lib/gcc/10/libquadmath.0.dylib" Thus, you link it where nonmem wants it to be ``` ln usr/local/Cellar/gcc/10.2.0_4/lib/gcc/10/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib ``` Here, you go back to the original setup cd ../nm75CD Then ``` sh SETUP75std $HOME/Downloads/nm75CD $HOME/nm75 gfortran ``` Hope it works for you! Mutaz *-----------------------------------* *Mutaz M. Jaber, PharmD.* *PhD student, Pharmacometrics* *Experimental and Clinical Pharmacology* *University of Minnesota * *717 Delaware St SE; Room 468* *Minneapolis, MN 55414* *Email: [email protected] <[email protected]>* *~ Stay curious*
Quoted reply history
On Wed, Apr 28, 2021 at 6:14 AM Heine, Rob ter <[email protected]> wrote: > Hi Chandramouli, > > > > Xcode and command line tools were already installed (before nonmem > installation) using the “xcode-select --install” command. Again running > this command results in “xcode-select: error: command line tools are > already installed” and does not place the libraries in the folder nonmem > installation script is referring to. > > > > Sincerely, > > Rob > > *Van: *Chandramouli Radhakrishnan <[email protected]> > *Datum: *woensdag 28 april 2021 om 12:57 > *Aan: *Teijo Saari <[email protected]>, "Heine, Rob ter" < > [email protected]>, "[email protected]" < > [email protected]> > *Onderwerp: *RE: [NMusers] Troubleshooting installation of nonmembers 7.5 > on Mac with silicon M1 CPU > > > > Please try this option - > > > > Dynamic libraries changed on Big Sur so the linker could not find > libSystem. You have to install the right SDKs by running `xcode-select > --install` (see also: https://developer.ap...s/thread/655588 > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.apple.com%2Fforums%2Fthread%2F655588&data=04%7C01%7CR.terHeine%40radboudumc.nl%7C97f050740d5e48891c5308d90a3472ae%7Cb208fe69471e48c48d87025e9b9a157f%7C1%7C0%7C637552042657380932%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cLP2qOCd%2BgB%2FHe58EJ7jkBzCq%2F6d%2FSFh2qL4nbaHpnQ%3D&reserved=0 > en https://github.com/p...c/issues/3684). > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fponylang%2Fponyc%2Fissues%2F3684).&data=04%7C01%7CR.terHeine%40radboudumc.nl%7C97f050740d5e48891c5308d90a3472ae%7Cb208fe69471e48c48d87025e9b9a157f%7C1%7C0%7C637552042657390886%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=FCDfrT84%2BtjFy3KAeDu2WtLq9qYYxOAYxc1jRsQF%2Bow%3D&reserved=0 > > > > Chandramouli > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Teijo Saari > *Sent:* Wednesday, April 28, 2021 8:28 PM > *To:* Heine, Rob ter <[email protected]>; [email protected] > *Subject:* Re: [NMusers] Troubleshooting installation of nonmembers 7.5 > on Mac with silicon M1 CPU > > > > CAUTION: This email originated from outside of Certara. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > > > > Might work. I did fresh installation after hearing so much about problems > with recent OSX and Xcode. > > Teijo > > On 28.4.2021 12.54, Heine, Rob ter wrote: > > Hi Teijo, > > > > I did install gfortran again, but it did not help. Should I remove xcode > as well? > > > > Sincerely, > > Rob > > > > *Van: *Teijo Saari <[email protected]> <[email protected]> > *Datum: *woensdag 28 april 2021 om 11:19 > *Aan: *"Heine, Rob ter" <[email protected]> > <[email protected]>, "[email protected]" > <[email protected]> <[email protected]> <[email protected]> > *Onderwerp: *Re: [NMusers] Troubleshooting installation of nonmembers 7.5 > on Mac with silicon M1 CPU > > > > Dear Rob. > > I got this error solved previously by installing also gfortran anew. My > impression was that the xcode installation messed gfortran somehow up. > > Best wishes, > > Teijo > > On 28.4.2021 11.55, Heine, Rob ter wrote: > > Hi all, > > > > I am trying to install nonmem 7.5 on my new mac, with an Apple silicon > (M1) CPU, but I am unsuccessful thusfar. > > > > I have done the following: > > > > 1. Installed xcode command line tools > 2. Installed gfortran for silicon m1 CPUs from > https://github.com/fxcoudert/gfortran-for-macOS/releases/tag/11-arm-alpha2 > > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffxcoudert%2Fgfortran-for-macOS%2Freleases%2Ftag%2F11-arm-alpha2&data=04%7C01%7CR.terHeine%40radboudumc.nl%7C97f050740d5e48891c5308d90a3472ae%7Cb208fe69471e48c48d87025e9b9a157f%7C1%7C0%7C637552042657390886%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cRWlNNXbCnQ0jhka3iI4UmIWf8K6hznGULguUN8r37Y%3D&reserved=0 > 3. Followed the instructions for the right path, and copied the files > from https://nonmem.iconplc.com/nonmem750/MACOSX/ > > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fnonmem.iconplc.com%2Fnonmem750%2FMACOSX%2F&data=04%7C01%7CR.terHeine%40radboudumc.nl%7C97f050740d5e48891c5308d90a3472ae%7Cb208fe69471e48c48d87025e9b9a157f%7C1%7C0%7C637552042657390886%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0ODaN88jjk4%2FOdh6vKF9ZswipI5z0D%2FMjBQ5wfMq8bk%3D&reserved=0 > to the right folder inside the nonmem installation folder nm750cd, as > instructed by the readme_MACOSX.txt file > 4. Started the installation from a terminal window using the command > “sudo /bin/bash SETUP75std $HOME/Downloads/nm750CD $HOME/nm750 gfortran y > ar same rec i” > > > > However, installation fails with the following message: > > Step 6. Compile resource files > > SETUP75std: line 523: 15300 Abort trap: 6 ./install 2 $zf $zu > $f "$op" "$mod" Linux "$u -a" o $pipe x > $msgs 2>&1 > > Compile of resource files failed. > > > > Please look for error messages in /Users/robterheine/nm750/compilemsgs.txt > and /Users/robterheine/nm750/finishmsgs.txt > > > > If I open these message files I see the following: > > dyld: Library not loaded: /usr/local/gfortran/lib/libquadmath.0.dylib > > Referenced from: /Users/robterheine/nm750/./install > > Reason: image not found > > > > It indeed seems that libqyadmath.0.dylib is not present on my drive. > > > > Does anyone have suggestions how to get the installation working? > > > > Sincerely, > > Rob > > > > *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. * > > > > *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. * > > 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. >
Apr 28, 2021 Rob ter Heine Troubleshooting installation of nonmembers 7.5 on Mac with silicon M1 CPU
Apr 28, 2021 Teijo Saari Re: Troubleshooting installation of nonmembers 7.5 on Mac with silicon M1 CPU
Apr 28, 2021 Chandramouli Radhakrishnan RE: Troubleshooting installation of nonmembers 7.5 on Mac with silicon M1 CPU
Apr 28, 2021 Mutaz M. Jaber Re: Troubleshooting installation of nonmembers 7.5 on Mac with silicon M1 CPU
Apr 28, 2021 David at Booomer Re: Troubleshooting installation of nonmembers 7.5 on Mac with silicon M1 CPU
Apr 28, 2021 Robert Bauer RE: Troubleshooting installation of nonmembers 7.5 on Mac with silicon M1 CPU