Installation NONMEM V 1.1 on Mac OS X

6 messages 4 people Latest: Feb 20, 2007

Installation NONMEM V 1.1 on Mac OS X

From: Benjamin Ribba Date: February 17, 2007 technical
Hello, I'm trying to install NONMEM V 1.1 on my MacBook (Mac OS X 10.4.8). I followed instructions I found in a zip file: "Setting up NONMEM under Mac OS X" at the following address: http://www.boomer.org/pkin/ I also downloaded the fortran compiler g77 as it is suggested. At Step 8. "Build nmtran.exe" on the SETUP program (included in the zip file), I get the following message on my terminal: /usr/bin/ld: Undefined symbols: _newfld_ collect2: ld returned 1 exit status Compilation failed. Please look for error messages in /opt/nmv/tr/emsgs.txt Any idea? Does anyone succeded in running Nonmem V on a Mac OS X? Thanks for your help in this matter. Benjamin Ribba

Re: Installation NONMEM V 1.1 on Mac OS X

From: Lars Lindbom Date: February 17, 2007 technical
Hi Benjamin, I use NONMEM VI on my macbook pro and at the time when I first installed it (version V at that point, June 2006), the only fortran compiler that was recommended by Apple was the Intel compiler IFORT. G77 was not regarded as stable enough by them but that may have changed since. I use ifort version 9.1 and have subsequently upgraded to NONMEM VI and have no problems. best, Lars Quoting RIBBA BENJAMIN <[EMAIL PROTECTED]>: > Hello, > > I'm trying to install NONMEM V 1.1 on my MacBook (Mac OS X 10.4.8). I followed instructions I found in a zip file: "Setting up NONMEM under Mac OS X" at the following address: http://www.boomer.org/pkin/ > > I also downloaded the fortran compiler g77 as it is suggested. > > At Step 8. "Build nmtran.exe" on the SETUP program (included in the zip file), I get the following message on my > > terminal: > > /usr/bin/ld: Undefined symbols: > _newfld_ > collect2: ld returned 1 exit status > Compilation failed. > Please look for error messages in /opt/nmv/tr/emsgs.txt > > Any idea? > Does anyone succeded in running Nonmem V on a Mac OS X? > > Thanks for your help in this matter. > > Benjamin Ribba
Try using the g95 fortran compiler. It worked for me when g77 failed doing an installation of NONMEM VI. See [NMusers] NONMEM Tips #23 - December 21, 2006 for more details. The Intel Fortran compiler also works (you can get a free 30-day trial). I had tried that before I found out about g95. Since the g95 compiler is free, I ended up going that route. Cynthia
Quoted reply history
On Feb 18, 2007, at 12:54 AM, RIBBA BENJAMIN wrote: > Hello, > > I'm trying to install NONMEM V 1.1 on my MacBook (Mac OS X 10.4.8). I followed instructions I found in a zip file: "Setting up NONMEM under Mac OS X" at the following address: http://www.boomer.org/pkin/ > > I also downloaded the fortran compiler g77 as it is suggested. > > At Step 8. "Build nmtran.exe" on the SETUP program (included in the zip file), I get the following message on my > > terminal: > > /usr/bin/ld: Undefined symbols: > _newfld_ > collect2: ld returned 1 exit status > Compilation failed. > Please look for error messages in /opt/nmv/tr/emsgs.txt > > Any idea? > Does anyone succeded in running Nonmem V on a Mac OS X? > > Thanks for your help in this matter. > > Benjamin Ribba
Ben, I used set o='-O -fsloppy-char' I am attaching my setup shell script. Did you see Nick Holford's posting? He suggests using gfortran. I haven't tried it myself, but maybe your scripts will run faster with that compiler. http://gcc.gnu.org/fortran/ Do you have a Windows partition on your MacBook Pro? You could try installing there instead. I initially did the installation in Mac OS X because I have more graphing software on that side. But apparently, the UNIX version of Wings for NONMEM doesn't have all the capabilities of the Windows version. Cynthia SETUP Description: Binary data
Quoted reply history
On Feb 19, 2007, at 11:53 PM, RIBBA BENJAMIN wrote: > I used g95 and it seems to work. At least it compiles and run a script. The problem is that it tales much more time than running the same script on my PC... The compilation might not been optimized. Do you remember what you used as g95 option in the SETUP command? I used -fsloppy-chart Thx, Ben -------- Message d'origine-------- De: Rainbow Pharma Consulting [ mailto:[EMAIL PROTECTED] ] Date: lun. 19/02/2007 06:39 À: RIBBA BENJAMIN Cc: [email protected] Objet : Re: [NMusers] Installation NONMEM V 1.1 on Mac OS X Try using the g95 fortran compiler. It worked for me when g77 failed doing an installation of NONMEM VI. See [NMusers] NONMEM Tips #23 - December 21, 2006 for more details. The Intel Fortran compiler also works (you can get a free 30-day trial). I had tried that before I found out about g95. Since the g95 compiler is free, I ended up going that route. Cynthia On Feb 18, 2007, at 12:54 AM, RIBBA BENJAMIN wrote: > Hello, > > I'm trying to install NONMEM V 1.1 on my MacBook (Mac OS X 10.4.8). > I followed instructions I found in a zip file: "Setting up NONMEM > under Mac OS X" at the following address: http://www.boomer.org/pkin/ > I also downloaded the fortran compiler g77 as it is suggested. > > At Step 8. "Build nmtran.exe" on the SETUP program (included in the > zip file), I get the following message on my > terminal: > > /usr/bin/ld: Undefined symbols: > _newfld_ > collect2: ld returned 1 exit status > Compilation failed. > Please look for error messages in /opt/nmv/tr/emsgs.txt > > Any idea? > Does anyone succeded in running Nonmem V on a Mac OS X? > > Thanks for your help in this matter. > > Benjamin Ribba >

RE: Installation NONMEM V 1.1 on Mac OS X

From: Benjamin Ribba Date: February 20, 2007 technical
Hello, I'm quite disappointed... I tried the following compilers: g77, g95, ifort, gfortran and I didn't get any successful results. My best result have been with g95 (option -sloppy-char) where NONMEM compiled but run not efficiently (it needed a much larger number of iterations to converge respect the same run on PC). Thx for your help anyway, Ben Ribba
Quoted reply history
-----Original Message----- From: RIBBA BENJAMIN Sent: Sat 17/02/2007 17:54 To: [email protected] Subject: Installation NONMEM V 1.1 on Mac OS X Hello, I'm trying to install NONMEM V 1.1 on my MacBook (Mac OS X 10.4.8). I followed instructions I found in a zip file: "Setting up NONMEM under Mac OS X" at the following address: http://www.boomer.org/pkin/ I also downloaded the fortran compiler g77 as it is suggested. At Step 8. "Build nmtran.exe" on the SETUP program (included in the zip file), I get the following message on my terminal: /usr/bin/ld: Undefined symbols: _newfld_ collect2: ld returned 1 exit status Compilation failed. Please look for error messages in /opt/nmv/tr/emsgs.txt Any idea? Does anyone succeded in running Nonmem V on a Mac OS X? Thanks for your help in this matter. Benjamin Ribba

Re: Installation NONMEM V 1.1 on Mac OS X

From: Tim Bergsma Date: February 20, 2007 technical
Benjamin, for the record, we have no problem installing NONMEM V.1.1 on a PowerPC G5 Mac, running OSX 10.4.8. The g77 version is 3.4.4, and I'm pretty sure it was there "out of the box". Others in our group have had success with g95 on a MacBook Pro, probably also OS 10.4.8. It looks promising. Regards, Tim Bergsma RIBBA BENJAMIN wrote: > Hello, > > I'm trying to install NONMEM V 1.1 on my MacBook (Mac OS X 10.4.8). I followed instructions I found in a zip file: "Setting up NONMEM under Mac OS X" at the following address: http://www.boomer.org/pkin/ > > I also downloaded the fortran compiler g77 as it is suggested. > > At Step 8. "Build nmtran.exe" on the SETUP program (included in the zip file), I get the following message on my > > terminal: > > /usr/bin/ld: Undefined symbols: > _newfld_ > collect2: ld returned 1 exit status > Compilation failed. > Please look for error messages in /opt/nmv/tr/emsgs.txt > > Any idea? > Does anyone succeded in running Nonmem V on a Mac OS X? > > Thanks for your help in this matter. > > Benjamin Ribba