Hi,
I'm trying to install NONMEM 7.2.0 on a Linux system. The install seems to go OK (files copied and unzipped) but the gfortran compiler has a list of errors in finishmsgs.txt as shown below. Unzipmsgs.txt and compilemsgs.txt have nothing useful in them.
gfortran --v returns this:
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
Does anyone have a suggestion what might be wrong?
Best wishes,
Nick
======= finishmsgs.txt starts here =======
In file g95linux.f:350
FUNCTION GETCHARQQ2() BIND(C)
1
Error: Unexpected junk after function declaration at (1)
In file g95linux.f:351
INTEGER :: GETCHARQQ2
1
Error: Symbol 'getcharqq2' at (1) has already been host associated
In file g95linux.f:352
END FUNCTION GETCHARQQ2
1
Error: Expecting END INTERFACE statement at (1)
In file g95linux.f:356
IGETC=GETCHARQQ2()
1
Error: Function 'getcharqq2' at (1) has no IMPLICIT type
In file g95linux.f:401
FUNCTION PEEKCHARQQ2() BIND(C)
1
Error: Unexpected junk after function declaration at (1)
In file g95linux.f:402
LOGICAL :: PEEKCHARQQ2
1
Error: Symbol 'peekcharqq2' at (1) has already been host associated
In file g95linux.f:403
END FUNCTION PEEKCHARQQ2
1
Error: Expecting END INTERFACE statement at (1)
In file g95linux.f:406
PEEKCHARQQ=PEEKCHARQQ2()
1
Error: Can't convert REAL(4) to LOGICAL(4) at (1)
/usr/bin/ar: creating nonmem.a
nonmem.a has been created
nmtran.exe has been created
In file xml_compare.f90:2411
GO TO 2
1
In file xml_compare.f90:2418
2 END DO
2
Warning: Obsolete: GOTO at (1) jumps to END of construct at (2)
==== end of finishmsgs.txt ======
--
Nick Holford, Professor Clinical Pharmacology
Dept Pharmacology& Clinical Pharmacology
University of Auckland,85 Park Rd,Private Bag 92019,Auckland,New Zealand
tel:+64(9)923-6730 fax:+64(9)373-7090 mobile:+64(21)46 23 53
email: [email protected]
http://www.fmhs.auckland.ac.nz/sms/pharmacology/holford
SETUP72 on linux system -- why does gfortran give these compile errors?
2 messages
2 people
Latest: Aug 23, 2011
Nick:
I recommend that you download and install a later version of the
gfortran compiler:
gcc-trunk-i686.tar.gz available at
ftp://nonmem.iconplc.com/Public/nonmem7/compilers/
Robert J. Bauer, Ph.D.
Vice President, Pharmacometrics
ICON Development Solutions
Tel: (215) 616-6428
Mob: (925) 286-0769
Email: [email protected]
Web: www.icondevsolutions.com
Quoted reply history
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Nick Holford
Sent: Tuesday, August 23, 2011 6:40 AM
To: nmusers
Subject: [NMusers] SETUP72 on linux system -- why does gfortran give
these compile errors?
Hi,
I'm trying to install NONMEM 7.2.0 on a Linux system. The install seems
to go OK (files copied and unzipped) but the gfortran compiler has a
list of errors in finishmsgs.txt as shown below. Unzipmsgs.txt and
compilemsgs.txt have nothing useful in them.
gfortran --v returns this:
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
Does anyone have a suggestion what might be wrong?
Best wishes,
Nick
======= finishmsgs.txt starts here =======
In file g95linux.f:350
FUNCTION GETCHARQQ2() BIND(C)
1
Error: Unexpected junk after function declaration at (1)
In file g95linux.f:351
INTEGER :: GETCHARQQ2
1
Error: Symbol 'getcharqq2' at (1) has already been host associated
In file g95linux.f:352
END FUNCTION GETCHARQQ2
1
Error: Expecting END INTERFACE statement at (1)
In file g95linux.f:356
IGETC=GETCHARQQ2()
1
Error: Function 'getcharqq2' at (1) has no IMPLICIT type
In file g95linux.f:401
FUNCTION PEEKCHARQQ2() BIND(C)
1
Error: Unexpected junk after function declaration at (1)
In file g95linux.f:402
LOGICAL :: PEEKCHARQQ2
1
Error: Symbol 'peekcharqq2' at (1) has already been host associated
In file g95linux.f:403
END FUNCTION PEEKCHARQQ2
1
Error: Expecting END INTERFACE statement at (1)
In file g95linux.f:406
PEEKCHARQQ=PEEKCHARQQ2()
1
Error: Can't convert REAL(4) to LOGICAL(4) at (1)
/usr/bin/ar: creating nonmem.a
nonmem.a has been created
nmtran.exe has been created
In file xml_compare.f90:2411
GO TO 2
1
In file xml_compare.f90:2418
2 END DO
2
Warning: Obsolete: GOTO at (1) jumps to END of construct at (2)
==== end of finishmsgs.txt ======
--
Nick Holford, Professor Clinical Pharmacology
Dept Pharmacology& Clinical Pharmacology
University of Auckland,85 Park Rd,Private Bag 92019,Auckland,New Zealand
tel:+64(9)923-6730 fax:+64(9)373-7090 mobile:+64(21)46 23 53
email: [email protected]
http://www.fmhs.auckland.ac.nz/sms/pharmacology/holford