From: "Sam Liao"
Subject: [NMusers] nonmem installation on Linux Date: Fri, 3 May 2002 10:07:55 -0400 Hi everyone, I have some problem installing nonmem on a PC with Linux (redhat 7.2). Please let me know if anyone can help. I basically use setup script using g77 -O -ff99 options as suggested by other Linux users. The problem does not appear to be discussed in the users group before. After installation, I tried CONTROL3, CONTROL5 and CONTROL7. There is an error msg at the end of the run- 'Segmentation fault', the nonmem run stop after 0 iteration as indicated in the output file. I found 2 error warnings only in /nm/emsgs.txt. I was able to fix one error, but not the other error- [Reference to unimplemented intrinsic 'SCALE' (assumed EXTERNAL)]. The SCALE.f seems to compiled with no problem. I tried to add SCALE.o in nonmem.exe compiling step. It made no difference. There seems to be some bugs in my Linux system. I tried to download all the update from redhat. But, it also made no difference. Any tip you might have would be greatly appreciated. Best regards, Sam Liao, Ph.D. PharMax Research 270 Kerry Lane, Blue Bell, PA 19422 phone: 215-6541151 efax: 1-720-2946783 ******* From: Larry Bauer Subject: Re: [NMusers] nonmem installation on Linux Date: Fri, 3 May 2002 10:34:46 -0700 (PDT) Hi Sam- If using the MS-DOS formated disks when installing NONMEM, the text files that make up the Fortran source code use have a different end-of-line format than Linux/UNIX is expecting. This isn't usually a problem when compiling the code, but can be when using the control files upon execution of NONMEM. The solution is to pass the text files through the Linux/UNIX formating program dos2unix (use: dos2unix filename). This will put the correct end-of-line formating in the file and should solve your problem. BTW, unix2dos does just the opposite--converts Linux/UNIX style text formating into MS-DOS style formating. --Larry ******* From: "Sam Liao" Subject: RE: [NMusers] nonmem installation on Linux Date: Fri, 3 May 2002 18:59:44 -0400 Hi Larry: Thanks, the unix conversion was done prior to the installation. If this problem is only unique to my Linux system, I may need to install a debugger to find the bug. Sam PharMax Research 270 Kerry Lane, Blue Bell, PA 19422 phone: 215-6541151 efax: 1-720-2946783 *******