Dear all,
we are installing NM7 on an Linux cluster using following compiler:
GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) using following command
/
/bin/bash SETUP7 /root/Nonmem7/NONMEM_7.1.0/ /local/nm7 gfortran y ar same rec i
/
Unfortunatelly we were not very successfull:
Compiler-output during installation:
/Warning: Reading file '<stdin>' as free form. (several times)/
Finishing message:
/In file g95linux.f:441
FUNCTION GETCHARQQ2() BIND(C)
1
Error: Unexpected junk after function declaration at (1)
In file g95linux.f:442
INTEGER :: GETCHARQQ2
1
Error: Symbol 'getcharqq2' at (1) has already been host associated
In file g95linux.f:443
END FUNCTION GETCHARQQ2
1
Error: Expecting END INTERFACE statement at (1)
In file g95linux.f:447
IGETC=GETCHARQQ2()
1
Error: Function 'getcharqq2' at (1) has no IMPLICIT type
In file g95linux.f:492
FUNCTION PEEKCHARQQ2() BIND(C)
1
Error: Unexpected junk after function declaration at (1)
In file g95linux.f:493
LOGICAL :: PEEKCHARQQ2
1
Error: Symbol 'peekcharqq2' at (1) has already been host associated
In file g95linux.f:494
END FUNCTION PEEKCHARQQ2
1
Error: Expecting END INTERFACE statement at (1)
In file g95linux.f:497
PEEKCHARQQ=PEEKCHARQQ2()
1
Error: Can't convert REAL(4) to LOGICAL(4) at (1)
ar: creating nonmem.a
nonmem.a has been created
nmtran.exe has been created/
These are the error messages while perfoming the test:
/-:(.text+0x9d7): undefined reference to `idble_reclength_'
/local/nm7/nm/nonmem.a(btools1part013.o): In function `progname_':
-:(.text+0x34): undefined reference to `nargs_'
-:(.text+0x6a): undefined reference to `rindex_'
/local/nm7/nm/nonmem.a(btools1part017.o): In function `bayes_':
-:(.text+0x69d): undefined reference to `isnan_'
/local/nm7/nm/nonmem.a(btools1part021.o): In function `winbug_sample_make_':
-:(.text+0xde2): undefined reference to `isnan_'
-:(.text+0xf8d): undefined reference to `isnan_'
-:(.text+0x11f6): undefined reference to `isnan_'
-:(.text+0x1e40): undefined reference to `isnan_'
/local/nm7/nm/nonmem.a(btools3part010.o):-:(.text+0x140): more undefined
references to `isnan_' follow
/local/nm7/nm/nonmem.a(stools3part010.o): In function `fget_fourth_':
-:(.text+0x42): undefined reference to `idble_reclength_'
/local/nm7/nm/nonmem.a(stools3part011.o): In function `fput_fourth_':
-:(.text+0x49): undefined reference to `idble_reclength_'
collect2: ld returned 1 exit status
No nonmem execution.
/
/You should now compare REPORT5.txt vs. REPORT5IDS.txt Values should be
similar.
E.g., the following should be identical:
grep #OBJV: REPORT5.txt
grep: REPORT5.txt: No such file or directory grep #OBJV: REPORT5IDS.txt
#OBJV:******************************************** 104.561
**************************************************
/
Any ideas?
Thank you in advance and best regards
Anne
------------------------------------------------
Anne Drescher
Martin-Luther-Universitaet Halle-Wittenberg
Institute of Pharmacy
Department of Clinical Pharmacy
Wolfgang-Langenbeck-Str. 4
D-06120 Halle
Germany
Tel.: +49 345-55 25206
Fax.: +49 345-55 27257
Installation NM7 Problem GCC Linux Red Hat
3 messages
3 people
Latest: Jan 14, 2011
I don't know if this will solve all your problems but you need to use gfortran
4.5. or higher with NONMEM 7.
Quoted reply history
----- Original Message -----
From: "Anne Drescher" <[email protected]>
To: [email protected]
Sent: Friday, January 14, 2011 5:17:27 AM
Subject: [NMusers] Installation NM7 Problem GCC Linux Red Hat
Dear all,
we are installing NM7 on an Linux cluster using following compiler:
GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) using following command
/bin/bash SETUP7 /root/Nonmem7/NONMEM_7.1.0/ /local/nm7 gfortran y ar same rec
i
Unfortunatelly we were not very successfull:
Compiler-output during installation:
Warning: Reading file '<stdin>' as free form. (several times)
Finishing message:
In file g95linux.f:441
FUNCTION GETCHARQQ2() BIND(C)
1
Error: Unexpected junk after function declaration at (1)
In file g95linux.f:442
INTEGER :: GETCHARQQ2
1
Error: Symbol 'getcharqq2' at (1) has already been host associated
In file g95linux.f:443
END FUNCTION GETCHARQQ2
1
Error: Expecting END INTERFACE statement at (1)
In file g95linux.f:447
IGETC=GETCHARQQ2()
1
Error: Function 'getcharqq2' at (1) has no IMPLICIT type
In file g95linux.f:492
FUNCTION PEEKCHARQQ2() BIND(C)
1
Error: Unexpected junk after function declaration at (1)
In file g95linux.f:493
LOGICAL :: PEEKCHARQQ2
1
Error: Symbol 'peekcharqq2' at (1) has already been host associated
In file g95linux.f:494
END FUNCTION PEEKCHARQQ2
1
Error: Expecting END INTERFACE statement at (1)
In file g95linux.f:497
PEEKCHARQQ=PEEKCHARQQ2()
1
Error: Can't convert REAL(4) to LOGICAL(4) at (1)
ar: creating nonmem.a
nonmem.a has been created
nmtran.exe has been created
These are the error messages while perfoming the test:
-:(.text+0x9d7): undefined reference to `idble_reclength_'
/local/nm7/nm/nonmem.a(btools1part013.o): In function `progname_':
-:(.text+0x34): undefined reference to `nargs_'
-:(.text+0x6a): undefined reference to `rindex_'
/local/nm7/nm/nonmem.a(btools1part017.o): In function `bayes_':
-:(.text+0x69d): undefined reference to `isnan_'
/local/nm7/nm/nonmem.a(btools1part021.o): In function `winbug_sample_make_':
-:(.text+0xde2): undefined reference to `isnan_'
-:(.text+0xf8d): undefined reference to `isnan_'
-:(.text+0x11f6): undefined reference to `isnan_'
-:(.text+0x1e40): undefined reference to `isnan_'
/local/nm7/nm/nonmem.a(btools3part010.o):-:(.text+0x140): more undefined
references to `isnan_' follow
/local/nm7/nm/nonmem.a(stools3part010.o): In function `fget_fourth_':
-:(.text+0x42): undefined reference to `idble_reclength_'
/local/nm7/nm/nonmem.a(stools3part011.o): In function `fput_fourth_':
-:(.text+0x49): undefined reference to `idble_reclength_'
collect2: ld returned 1 exit status
No nonmem execution.
You should now compare REPORT5.txt vs. REPORT5IDS.txt Values should be
similar.
E.g., the following should be identical:
grep #OBJV: REPORT5.txt
grep: REPORT5.txt: No such file or directory grep #OBJV: REPORT5IDS.txt
#OBJV:******************************************** 104.561
**************************************************
Any ideas?
Thank you in advance and best regards
Anne
------------------------------------------------
Anne Drescher
Martin-Luther-Universitaet Halle-Wittenberg
Institute of Pharmacy
Department of Clinical Pharmacy
Wolfgang-Langenbeck-Str. 4
D-06120 Halle
Germany
Tel.: +49 345-55 25206
Fax.: +49 345-55 27257
Hello Anne
you have to know which gfortran version you have installed and you need minimum
gcc-fortran-4.3 I think.
This information is available with the linux command
rpm -qf /usr/bin/gfortran
gcc-fortran-4.3-34.168
With rpm -qi gcc-fortran-4.3-34.168 you see all infos depending the installed
gfortran compiler.
I have installed NONMEM under Linux with the following gfortran version:
de008106@frasapp995:/software/nonmem/VII> rpm -qi gcc-fortran-4.3-34.168
Name : gcc-fortran Relocations: (not relocatable)
Version : 4.3 Vendor: openSUSE
Release : 34.168 Build Date: Mi 03 Dez 2008 02:48:10 CET
Install Date: Mo 22 Dez 2008 13:05:17 CET Build Host: build22
Group : Development/Languages/Fortran Source RPM: gcc-4.3-34.168.src.rpm
Size : 0 License: GPL v2 or later
Signature : RSA/8, Mi 03 Dez 2008 02:48:39 CET, Key ID b88b2fd43dbdc284
Packager : http://bugs.opensuse.org
URL : http://gcc.gnu.org/
Summary : The system GNU Fortran Compiler
Description :
The system GNU Fortran Compiler.
Authors:
--------
The GCC team.
Distribution: openSUSE 11.1
This is SUSE Linux, but the same compiler should be available under redhat.
Mit freundlichen Grüßen / Best regards / Cordialement
Dipl. Ing. Heiner Speth
Sanofi-Aventis Deutschland GmbH
R&D DSAR Business Management Office FF
Industriepark Hoechst
Bldg. H831, Room B.0772
D-65926 Frankfurt am Main
t: +49 69 305 2148
f: +49 69 305 942 052
w:www.sanofi-aventis.de
*********************************************************************************************************************************************************************
Sanofi-Aventis Deutschland GmbH · Sitz der Gesellschaft: Frankfurt am Main ·
Handelsregister: Frankfurt am Main, Abt. B Nr. 40661
Vorsitzender des Aufsichtsrats: Hanspeter Spek - Geschäftsführer: Dr. Martin
Siewert (Vorsitzender), Dr. Matthias Braun,
Peter Guenter, Prof. Dr. Jochen Maas, Dr. Klaus Menken, Dr. Heinz Riederer
*********************************************************************************************************************************************************************