Re: NM72 compilation using MinGW64
As a follow up to my inquiry last weekend, I note that Nick was asking about a similar problem with compilation in a post from 23Aug2011. In that post, his group was trying to install NM72 on a Linux cluster, not the Win7 64bit laptop that is my endeavor. His thread went cold after a response from ICON to try installing the most current version of the gfortran compiler from the Nonmem website.
I have installed the suggested -460.exe gfortran on my PC, and the error remains. This is true even when I am installing with full administrator rights and current license.
I should note that the error is different depending upon the place in installation. NM72 appears to install correctly with no warning messages, and then asks if I would like to test the installation. When I accept, I get the following:
...
Finished compiling fsubs
c:\nm72\nm\nonmem.a(g95.):g95.f:(.text+0xd9): undefined reference to 'getcharqq2' c:\nm72\nm\nonmem.a(g95.):g95.f:(.text+0x10c): undefined reference to 'peekcharqq2'
collect2: Id returned 1 exit status
Completed call to gfcompile.bat
No nonmem execution
However, at the resulting DOS cmd line I then run nmfe72 control5 output.txt, and I get many lines with the error indicated below.
Can anyone shed light on what is happening and what a fix might be?
Thanks again.
Paul
Quoted reply history
On 4/29/2012 12:39 PM, Paul Hutson wrote:
> I have recently replaced my 32 bit gfortran install with the MinGW64 64bit gfortran on a Dell E6420 laptop with a quad core. I am having difficulty bringing NONMEM and WFN back up on this install. Has anyone any suggestions on making this work?
>
> PATH = C:\MinGW64\bin
>
> SETUP72 d: C:\nm72 gfortran y ar same rec i
>
> The SETUP72 compilation runs without error messages, but the nmf372 control5 test fails with multiple lines of: "temp_dir\prpnm.o:prpnm.f90:(.text+0xXXXX): undefined reference to '___pnm_config_MOD_m_ssae2'"
>
> XXXX = hex address that varies with each line.
>
> for the record, the 64bit install is working with the USC NPAG and the 'Hello' test.
>
> Thoughts and suggestions?
> Thanks
> Paul
--
Paul R. Hutson, Pharm.D.
Associate Professor
UW School of Pharmacy
T: 608.263.2496
F: 608.265.5421