IPOPT installation problems

338 views
Skip to first unread message

manuel.plainer

unread,
Nov 26, 2013, 9:45:25 AM11/26/13
to psopt-us...@googlegroups.com
Hello,

I've been trying to install PSOPT on my Windows 7 laptop x64.
I stuck to the instructions described in chapter1.14.2:
 Microsoft Visual Studio 2010 under Windows 7

I hat the same problem like "IPOPT installation problems using F2C, Unknown Intrinsic Function" https://groups.google.com/forum/#!msg/psopt-users-group/H6xqnWZnIXw/UgroGZFm9h0J

But with the new files i get new problems:

Fehler    1    error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_disnan_" in Funktion "_dpotf2_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dpotf2.obj)    hs071_cpp
Fehler    2    error LNK2001: Nicht aufgelöstes externes Symbol "_disnan_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlascl.obj)    hs071_cpp
Fehler    3    error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_iladlc_" in Funktion "_dlarfb_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlarfb.obj)    hs071_cpp
Fehler    4    error LNK2001: Nicht aufgelöstes externes Symbol "_iladlc_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlarf.obj)    hs071_cpp
Fehler    5    error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_iladlr_" in Funktion "_dlarfb_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlarfb.obj)    hs071_cpp
Fehler    6    error LNK2001: Nicht aufgelöstes externes Symbol "_iladlr_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlarf.obj)    hs071_cpp
Fehler    7    error LNK1120: 3 nicht aufgelöste externe Verweise.    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\Release\hs071_cpp.exe    hs071_cpp
Fehler    9    error C1083: Datei (Include) kann nicht geöffnet werden: "arith.h": No such file or directory    C:\Ipopt-3.9.3\ThirdParty\ASL\solvers\asl.h    28    1    IpoptAmplSolver

I have no idea what i did wrong. Any help would be much appreciated!

Best regards,

Manuel

Alessandro Peloni

unread,
Nov 27, 2013, 5:03:33 AM11/27/13
to psopt-us...@googlegroups.com
Hi Manuel,

I'm not the best person to solve your problems, but I can try to help you.
In my case, when I installed Ipopt, problems like yours were due to wrong fortran scripts (usually the f-files that made me problems were empty, so you can check the dimension of these ones).

I think the main problems are the two functions dpotf2.f and dlarfb.f (errors 1, 3 and 5); the others should be due by these ones, but this is only my (non-expert) opinion. In my case I was able to solve issues like yours by modifying the fortran function.

Tell me if really these functions are empty, that I can upload you my functions, so you can try if this can be the solution.

Hope this can be helpfull for you,

Alessandro 

manuel.plainer

unread,
Nov 27, 2013, 6:50:28 AM11/27/13
to psopt-us...@googlegroups.com
Hi Alessandro,

Thank you for the fast answer.
the f-files are not empty, also the converted c-Files are not empty.
Can you upload the functions, the f-files and the c-files so that i can have a look what my converter is doing wrong.

How did you solve the Problem with the ma27ad.f and the ma19ad.f - files?
When i unpacked "ma27-1.0.0"(ThirdParty/HSL) and "ma19-1.0.0"(ThirdParty/HSL) there were only a ma27d.f + ma27s.f and a ma19d.f + ma19s.f  files
There I renamed the  ma27d.f in ma27ad.f  and the ma19d.f in ma19ad.f. Can you upload also the correct ma19ad.f + ma27ad.f - files?

Best regards,

Manuel

Alessandro Peloni

unread,
Nov 29, 2013, 5:49:07 AM11/29/13
to psopt-us...@googlegroups.com
Hi Manuel,

sorry for my late answer.

About the problem with ma27ad.f and mc19ad.f I solved simply copying the files ma27d.f and mc19d.f from the folder ...\HSL\coinhsl to ...\HSL changing the names into ma27ad.f and mc19ad.f. I don't know if it is the best way to do this, but in my case it worked.

About the problems with the functions dpotf2.f and dlarfb.f, check with my functions uploaded below if there are differences, also if when I had these kind of problems, my C-files were empty.

I hope this can be usefull for you,
Alessandro
ma27ad.f
mc19ad.f
dpotf2.f
dlarfb.f
dlarfb.c
dpotf2.c

manuel.plainer

unread,
Dec 3, 2013, 8:25:25 AM12/3/13
to psopt-us...@googlegroups.com
Hi,

I deleted all files and have started from scratch, but these error messages I can not fix easily.


Fehler    1    error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_disnan_" in Funktion "_dpotf2_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dpotf2.obj)    hs071_cpp
Fehler    2    error LNK2001: Nicht aufgelöstes externes Symbol "_disnan_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlascl.obj)    hs071_cpp
Fehler    3    error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_iladlc_" in Funktion "_dlarfb_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlarfb.obj)    hs071_cpp
Fehler    4    error LNK2001: Nicht aufgelöstes externes Symbol "_iladlc_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlarf.obj)    hs071_cpp
Fehler    5    error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_iladlr_" in Funktion "_dlarfb_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlarfb.obj)    hs071_cpp
Fehler    6    error LNK2001: Nicht aufgelöstes externes Symbol "_iladlr_".    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\libCoinLapack.lib(dlarf.obj)    hs071_cpp
Fehler    7    error LNK1120: 3 nicht aufgelöste externe Verweise.    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\hs071_cpp\Release\hs071_cpp.exe    hs071_cpp
Fehler    9    error C1083: Datei (Include) kann nicht geöffnet werden: "arith.h": No such file or directory    C:\Ipopt-3.9.3\ThirdParty\ASL\solvers\asl.h    28    1    IpoptAmplSolver

Message has been deleted

manuel.plainer

unread,
Dec 4, 2013, 5:26:51 AM12/4/13
to psopt-us...@googlegroups.com
I was able to solve the problem yourself.
There I had to provide amplsolv.lib, which file i found in the downloaded IPOPT files.

But now i have to provide the file "LIBC.lib"

Fehler    01    error LNK1104: Datei "LIBC.lib" kann nicht geöffnet werden.    C:\Ipopt-3.9.3\Ipopt\MSVisualStudio\v8\IpoptAmplSolver\LINK    IpoptAmplSolver

Does anyone have any idea where I can find this file?
Or can someone provide this file
?

Best regards,

Manuel

Alessandro Peloni

unread,
Dec 6, 2013, 10:14:44 AM12/6/13
to psopt-us...@googlegroups.com
Sorry Manuel I don't know...I don't find the file LIBC.lib


Regards,
Alessandro
Reply all
Reply to author
Forward
Message has been deleted
0 new messages