My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 8: undefined symbol: _gfortran_st_write_done
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2009


 
Reported by Andrew.B...@gmail.com, Jun 3, 2009
What steps will reproduce the problem?
1. Compile ipopt from source
2. Compile pyipopt from source
3. Run example

I basically followed the same procedure as  issue 5 , including adding the
links to blas and lapack on my system. Currently using the MA27 library for
the linear system solve.

What is the expected output? What do you see instead?

Expected: the standard ipopt output file, through the Python interface
(again, same as  issue 5 )

Actual: 
Traceback (most recent call last):
  File "/home/andrew/pyipopt/example.py", line 6, in <module>
    import pyipopt
ImportError: /usr/lib/libipopt.so.0: undefined symbol: _gfortran_st_write_done

What version of the product are you using? On what operating system?

pyipopt version 0.7
Ubuntu 8.04 x86_64 operating system

Please provide any additional information below.

I know this error is mentioned specifically in your documentation. I tried
compiling the test problem packaged with ipopt and the problem runs
correctly on *all 3 interfaces*. Thus, I'm pretty certain ipopt runs
correctly on its own.

Jun 4, 2009
#1 Andrew.B...@gmail.com
I solved it!

Similar to - again -  issue 5 , you need to add a link to gfortran in the list of
linking flags in pyipopt's makefile. For me that particular line in the makefile
looks like this:

LDFLAGS = -lipopt -lg2c -lm -lblas -llapack -lgfortran

I also get a couple of deprecation warnings with the output, but this is a separate
issue.
Aug 25, 2009
Project Member #2 xu.mathena
Thanks for reporting this:)
Since it's fixed, issue closed. 

I will add this to the doc
Status: Fixed

Powered by Google Project Hosting