[Ipopt] F77_FUNC cannot be used ...
Roger Koenker
rkoenker at illinois.edu
Tue Jan 25 10:55:08 EST 2011
On Jan 25, 2011, at 9:13 AM, Stefan Vigerske wrote:
> Hi,
>
> it seems as if the Fortran name-mangling scheme is not recognized by
> configure, otherwise F77_FUNC should be defined.
> There should be a line like
>
> checking for Fortran name-mangling scheme... lower case, underscore, no
> extra underscore
>
> in the output of configure.
> Which Fortran compiler do you use?
yzzy: gfortran --version
GNU Fortran (GCC) 4.2.3
> Is it recognized correctly by configure?
Yes, seems to be....
> What is the output of configure in the Ipopt directory?
Ah, yes, this is a problem -- I wasn't looking in the right place for the config.log
in Ipopt it says:
configure:5733: result: unknown
configure:5828: WARNING: unknown Fortran name-mangling scheme
I tried again with:
../configure ADD_FFLAGS="-mmacosx-version-min=10.4" FFLAGS="-arch=x86_64"
but got...
configure:4904: gfortran -o conftest -arch=x86_64 -mmacosx-version-min=10.4 conftest.f >&5
f951: error: unrecognized command line option "-arch=x86_64"
configure:4910: $? = 1
configure: failed program was:
| program main
| integer i
| end
configure:4935: WARNING: The flags FFLAGS="" do not work. I will now just try '-O', but you might want to set FFLAGS manually.
Where and how might this manual setting be done?
Many thanks for the responses
>
> Stefan
>
>
> Am 25.01.2011 15:35, schrieb Roger Koenker:
>> I'm new to Ipopt, and trying to install 3.9.2 on a macpro 10.6.6. Using the recommended
>>
>> ../configure ADD_FFLAGS="-mmacosx-version-min=10.4"
>>
>> configuration ends normally, but make produces lots of messages like this:
>>
>> ../../../../Ipopt/src/LinAlg/IpBlas.cpp: In function 'void Ipopt::IpBlasDtrsm(bool, Ipopt::Index, Ipopt::Index, Ipopt::Number, const Ipopt::Number*, Ipopt::Index, Ipopt::Number*, Ipopt::Index)':
>> ../../../../Ipopt/src/LinAlg/IpBlas.cpp:211: error: 'dtrsm' was not declared in this scope
>> ../../../../Ipopt/src/LinAlg/IpBlas.cpp:211: error: 'DTRSM' was not declared in this scope
>> ../../../../Ipopt/src/LinAlg/IpBlas.cpp:211: error: 'F77_FUNC' cannot be used as a function
>>
>> I don't see any WARNINGS in the config.log file as reported in:
>>
>> http://negfeedback.blogspot.com/2009_12_01_archive.html
>>
>> Any suggestions would be much appreciated.
>>
>>
>> Roger Koenker
>> rkoenker at illinois.edu
>>
>>
>>
>>
>> _______________________________________________
>> Ipopt mailing list
>> Ipopt at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/ipopt
>>
>
>
> --
> Stefan Vigerske
> Humboldt University Berlin, Numerical Mathematics
> http://www.math.hu-berlin.de/~stefan
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
More information about the Ipopt
mailing list