I don't know if this will solve all your problems but you need to use gfortran 
4.5. or higher with NONMEM 7. 




----- 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 



Reply via email to