[Ipopt] about "IpJournalist.hpp:424:5:error: 'FILE' does not name a type"

Stefan Vigerske stefan at math.hu-berlin.de
Wed Aug 24 11:58:32 EDT 2011


Hi,

seems like you did not provide the source for a linear solver:
http://www.coin-or.org/Ipopt/documentation/node14.html

Easiest may be to get MUMPS via the get.MUMPS script in 
ThirdParty/Mumps, then configure again, make, make test.

Stefan

Am 24.08.2011 17:26, schrieb Chen Min:
> Hello Stefen,
> Thanks for your quick reply.
> It seems it works now. After "make install", no error messages:
>
> make[4]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'
> make[3]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'
> make[2]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'
> make[1]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'
> make[1]: Entering directory '/home/Ipopt-3.10.0'
> make[2]: Entering directory '/home/Ipopt-3.10.0'
> make[2]: Nothing to be done for 'install.exec-am'
> make[2]: Nothing to be done for 'install.data-am'
> make[2]: Leaving directory'/home/Ipopt-3.10.0'
> make[1]: Leaving directory'/home/Ipopt-3.10.0'
>
>
> *However, it failed to "make test":   *
>
>
>
> Running unitTests...
>
> Testing AMPL Solver Executable...
>
>   ---- 8<  ---- Start of test program output ---- 8<  ----
>
> ==>  Warning: Treating 1 binary and 1 integer variables as continous.
>
> Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 308:
>   Exception message: Selected linear solver MA27 not available.
> Tried to obtain MA27 from shared library "libhsl.dll", but the following
> error o
> ccured:
> Windows error while loading dynamic library libhsl.dll
>
> EXIT: Invalid option encountered.
>   ---- 8<  ----  End of test program output  ---- 8<  ----
>
>      ******** Test FAILED! ********
> Output of the test program is above.
> Testing C++ Example...
>
>   ---- 8<  ---- Start of test program output ---- 8<  ----
> Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 308:
>   Exception message: Selected linear solver MA27 not available.
> Tried to obtain MA27 from shared library "libhsl.dll", but the following
> error o
> ccured:
> Windows error while loading dynamic library libhsl.dll
>
> EXIT: Invalid option encountered.
>
>
> *** The problem FAILED!
>   ---- 8<  ----  End of test program output  ---- 8<  ----
>
>      ******** Test FAILED! ********
> Output of the test program is above.
> Testing C Example...
> ./run_unitTests: line 69:  4148 Aborted                 (core dumped)
> ./hs071_c
>> tmpfile 2>&1
>
>   ---- 8<  ---- Start of test program output ---- 8<  ----
>   ---- 8<  ----  End of test program output  ---- 8<  ----
>
>      ******** Test FAILED! ********
> Output of the test program is above.
> Testing Fortran Example...
>
>   ---- 8<  ---- Start of test program output ---- 8<  ----
> Exception of type: OPTION_INVALID in file "IpAlgBuilder.cpp" at line 308:
>   Exception message: Selected linear solver MA27 not available.
> Tried to obtain MA27 from shared library "libhsl.dll", but the following
> error o
> ccured:
> Windows error while loading dynamic library libhsl.dll
>
> EXIT: Invalid option encountered.
>
>   An error occoured.
>   The error code is          -12
>
>   ---- 8<  ----  End of test program output  ---- 8<  ----
>
>      ******** Test FAILED! ********
> Output of the test program is above.
> make[2]: *** [test] Error 255
> make[2]: Leaving directory `/home/Ipopt-3.10.0/Ipopt/test'
> make[1]: *** [unitTest] Error 2
> make[1]: Leaving directory `/home/Ipopt-3.10.0/Ipopt'
> make: *** [test] Error 2
>
>
>
> Thanks,
> Min
>
>
>
>
>
>
>
>
>
>
> On 24 August 2011 16:50, Stefan Vigerske<stefan at math.hu-berlin.de>  wrote:
>
>> Hi,
>>
>>
>>   There're new errors after I "make test or install":
>>> Making install in TMatrices
>>> make[3]: Entering directory '/home/Ipopt-3.10.0/Ipopt/src/**
>>> LinAlg/Tmatrices'
>>> .deps/IpGenTmatrix.Plo.1:*** multiple target patterns. stop.
>>>
>>
>> That's a popular bug in cygwin's make:
>> https://projects.coin-or.org/**BuildTools/wiki/current-**
>> issues#Compilation<https://projects.coin-or.org/BuildTools/wiki/current-issues#Compilation>
>>
>> Stefan
>>
>>   make[3]:Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/**
>>> LinAlg/TMatrices'
>>> make[2]:***[install-recursive] Error 1
>>> make[2]:Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/**LinAlg'
>>> make[1]:***[install-recursive] Error 1
>>> make[1]:Leaving directory '/home/Ipopt-3.10.0/Ipopt'
>>> make:***[install-recursive] Error 1
>>>
>>>
>>> Thanks!
>>>
>>> Min
>>>
>>>
>>> On 24 August 2011 16:18, Stefan Vigerske<stefan at math.hu-**berlin.de<stefan at math.hu-berlin.de>>
>>>   wrote:
>>>
>>>   Hi,
>>>>
>>>> try adding
>>>>   #include<cstdio>
>>>> somewhere at the top of Ipopt/src/Common/IpJournalist.****hpp.
>>>>
>>>> Which compiler you use? (gcc --version)
>>>>
>>>> Stefan
>>>>
>>>>   dear all,
>>>>
>>>>> i installed ipopt3.10.0 under cygwin.
>>>>> After configuration, i got  " Main configuration of Ipopt successful".
>>>>> (config.log, please see the attachment)
>>>>> However, it failed to "make install" or "make test". The error
>>>>> information
>>>>> is shown as in the following:
>>>>>
>>>>> IpJournalist.hpp:424:5:error: 'FILE' does not name a type"
>>>>> make[3]: ***[IpDebug.lo] Error 1
>>>>> make[3]: Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/****Common'
>>>>> make[2]: *** [all] Error 2
>>>>> make[2]: Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/****Common'
>>>>> make[1]: ***[all-recursive] Error 1
>>>>> make[1]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'
>>>>> make: ***[all-recursive] Error 1
>>>>>
>>>>>
>>>>> I appreciate your help, thanks in advance!
>>>>>
>>>>> Min
>>>>>
>>>>> ps:
>>>>> under WIN7-64 bit system
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ______________________________****_________________
>>>>> Ipopt mailing list
>>>>> Ipopt at list.coin-or.org
>>>>> http://list.coin-or.org/****mailman/listinfo/ipopt<http://list.coin-or.org/**mailman/listinfo/ipopt>
>>>>> <http://**list.coin-or.org/mailman/**listinfo/ipopt<http://list.coin-or.org/mailman/listinfo/ipopt>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>



More information about the Ipopt mailing list