[Ipopt] Fwd: problems in compiling ipopt
Andreas Waechter
andreasw at watson.ibm.com
Mon Dec 14 10:40:00 EST 2009
Hi Veronica,
It looks like you didn't include all MA57 dependencies in the ma57ad.f
file, as it is described in the INSTALL.HSL file.
Regards
Andreas
On Mon, 14 Dec 2009, Veronica Piccialli wrote:
> Hi again,
> I tried to run configure with the option F77= gfortran and the
> configuration looked fine, but then I ran make and this is what I get:
>
> Making all in AmplSolver
> make[3]: ingresso nella directory
> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Apps/AmplSolver»
> /bin/bash ../../../../libtool --tag=CXX --mode=link g++ -O3
> -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
> -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
> -Wwrite-strings -Wconversion -Wno-unknown-pragmas -o ipopt
> ampl_ipopt.o libamplinterface.la ../../Interfaces/libipopt.la
> /home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/ASL/amplsolver.a
> -ldl -lpthread -lm -ldl -L/usr/lib/gcc/i486-linux-gnu/4.4.1
> -L/usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib -L/lib/../lib
> -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.1/../../..
> -L/usr/lib/i486-linux-gnu -lgfortranbegin -lgfortran -lm -lgcc_s -ldl
> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors
> -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall
> -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -o
> .libs/ipopt ampl_ipopt.o ./.libs/libamplinterface.a
> ../../Interfaces/.libs/libipopt.so
> /home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/ASL/amplsolver.a
> -lpthread -L/usr/lib/gcc/i486-linux-gnu/4.4.1
> -L/usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib -L/lib/../lib
> -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.1/../../..
> -L/usr/lib/i486-linux-gnu -lgfortranbegin -lgfortran -lm -lgcc_s -ldl
> -Wl,--rpath -Wl,/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/lib
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc34ad_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc47bd_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc64wd_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to `fd15ad_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc71ad_'
> collect2: ld returned 1 exit status
> make[3]: *** [ipopt] Errore 1
> make[3]: uscita dalla directory
> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Apps/AmplSolver»
> make[2]: *** [all-recursive] Errore 1
> make[2]: uscita dalla directory
> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Apps»
> make[1]: *** [all-recursive] Errore 1
> make[1]: uscita dalla directory
> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt»
> make: *** [all-recursive] Errore 1
>
>
> Any idea?
> Thanks a lot!
>
> Veronica
>
>
>
>
>
>
>
>
>
>
>
>
> 2009/12/11 Andreas Waechter <andreasw at watson.ibm.com>:
>> Hi Veronica
>>
>>
>> Don't change the configure file itself, just run it with that additional
>> argument. Your error message is strange, and Fortran compiler issue is the
>> only thing I can think of, beside that you might just have to redo
>> everything from scratch, if at some earlier point you did something in a
>> different way and it wasn't cleaned up properly.
>>
>> Andreas
>>
>> On Fri, 11 Dec 2009, Veronica Piccialli wrote:
>>
>>> Hi Andreas,
>>> thanks for the suggestion I will try it on monday (I am at home and
>>> the problem is on the computer in my office). I actually have gfortran
>>> installed, should I change only the configure file?Or also some other
>>> files?To be sure that I am using the same compiler everywhere!
>>> Thanks
>>>
>>> Veronica
>>>
>>> 2009/12/11 Andreas Waechter <andreasw at watson.ibm.com>:
>>>>
>>>> Hi Veronica,
>>>>
>>>> It seems to be a Fortran compiler issue, it seems that it is using two
>>>> different Fortran compilers (g77 and gfortran). I assume you have
>>>> gfortran
>>>> installed? What happens if you run configure with F77=gfortran added, as
>>>> in
>>>>
>>>> [path]/configure F77=gfortran [your remainig options]
>>>>
>>>> ?
>>>>
>>>> Make sure you get a completely clean copy before you rerun configure this
>>>> way (e.g., make distclean or unpacking sources from scratch again).
>>>>
>>>> Hopefully this helps,
>>>>
>>>> Andreas
>>>>
>>>> On Fri, 11 Dec 2009, Veronica Piccialli wrote:
>>>>
>>>>> Hallo,
>>>>> I am trying to install Ipopt 3.8.1 on a pc with linux operative system
>>>>> (ubuntu 9.10)
>>>>>
>>>>> The configure command works well, but when I type the command make,
>>>>> this is what I get
>>>>>
>>>>>
>>>>> veronica at ipazia:~/Documenti/hazmat/codice/Ipopt-3.8.1/build$ make
>>>>> Making all in ThirdParty/Blas
>>>>> make[1]: ingresso nella directory
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/Blas»
>>>>> make[1]: Non c'è da fare nulla per «all»
>>>>> make[1]: uscita dalla directory
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/Blas»
>>>>> Making all in ThirdParty/Lapack
>>>>> make[1]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/Lapack»
>>>>> make[1]: Non c'è da fare nulla per «all»
>>>>> make[1]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/Lapack»
>>>>> Making all in ThirdParty/HSL
>>>>> make[1]: ingresso nella directory
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/HSL»
>>>>> make[1]: Non c'è da fare nulla per «all»
>>>>> make[1]: uscita dalla directory
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/HSL»
>>>>> Making all in ThirdParty/ASL
>>>>> make[1]: ingresso nella directory
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/ASL»
>>>>> make[1]: Non c'è da fare nulla per «all»
>>>>> make[1]: uscita dalla directory
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/ASL»
>>>>> Making all in ThirdParty/Mumps
>>>>> make[1]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/Mumps»
>>>>> make[1]: Non c'è da fare nulla per «all»
>>>>> make[1]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/Mumps»
>>>>> Making all in Ipopt
>>>>> make[1]: ingresso nella directory
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt»
>>>>> Making all in src/Common
>>>>> make[2]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Common»
>>>>> make[2]: Non c'è da fare nulla per «all»
>>>>> make[2]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Common»
>>>>> Making all in src/LinAlg
>>>>> make[2]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/LinAlg»
>>>>> Making all in TMatrices
>>>>> make[3]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/LinAlg/TMatrices»
>>>>> make[3]: Non c'è da fare nulla per «all»
>>>>> make[3]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/LinAlg/TMatrices»
>>>>> make[3]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/LinAlg»
>>>>> make[3]: Non c'è da fare nulla per «all-am»
>>>>> make[3]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/LinAlg»
>>>>> make[2]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/LinAlg»
>>>>> Making all in src/Algorithm
>>>>> make[2]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Algorithm»
>>>>> Making all in LinearSolvers
>>>>> make[3]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Algorithm/LinearSolvers»
>>>>> make[3]: Non c'è da fare nulla per «all»
>>>>> make[3]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Algorithm/LinearSolvers»
>>>>> Making all in Inexact
>>>>> make[3]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Algorithm/Inexact»
>>>>> make[3]: Non c'è da fare nulla per «all»
>>>>> make[3]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Algorithm/Inexact»
>>>>> make[3]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Algorithm»
>>>>> make[3]: Non c'è da fare nulla per «all-am»
>>>>> make[3]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Algorithm»
>>>>> make[2]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Algorithm»
>>>>> Making all in src/contrib/CGPenalty
>>>>> make[2]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/contrib/CGPenalty»
>>>>> make[2]: Non c'è da fare nulla per «all»
>>>>> make[2]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/contrib/CGPenalty»
>>>>> Making all in src/contrib/LinearSolverLoader
>>>>> make[2]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/contrib/LinearSolverLoader»
>>>>> make[2]: Non c'è da fare nulla per «all»
>>>>> make[2]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/contrib/LinearSolverLoader»
>>>>> Making all in src/Interfaces
>>>>> make[2]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Interfaces»
>>>>> make[2]: Non c'è da fare nulla per «all»
>>>>> make[2]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Interfaces»
>>>>> Making all in src/Apps
>>>>> make[2]: ingresso nella directory
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Apps»
>>>>> Making all in CUTErInterface
>>>>> make[3]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Apps/CUTErInterface»
>>>>> make[3]: Non c'è da fare nulla per «all»
>>>>> make[3]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Apps/CUTErInterface»
>>>>> Making all in AmplSolver
>>>>> make[3]: ingresso nella directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Apps/AmplSolver»
>>>>> /bin/bash ../../../../libtool --tag=CXX --mode=link g++ -O3
>>>>> -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
>>>>> -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
>>>>> -Wwrite-strings -Wconversion -Wno-unknown-pragmas -o ipopt
>>>>> ampl_ipopt.o libamplinterface.la ../../Interfaces/libipopt.la
>>>>>
>>>>>
>>>>> /home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/ASL/amplsolver.a
>>>>> -ldl -lm -ldl -ldl
>>>>> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors
>>>>> -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall
>>>>> -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -o
>>>>> .libs/ipopt ampl_ipopt.o ./.libs/libamplinterface.a
>>>>> ../../Interfaces/.libs/libipopt.so
>>>>>
>>>>>
>>>>> /home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/ThirdParty/ASL/amplsolver.a
>>>>> -lm -ldl -Wl,--rpath
>>>>> -Wl,/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/lib
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc34ad_'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `e_wsfi'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `s_stop'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `s_wsfe'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `s_cmp'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `e_wsfe'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc47bd_'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc64wd_'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `fd15ad_'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `s_cat'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc71ad_'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `pow_di'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `i_nint'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `s_copy'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `d_sign'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `pow_dd'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `do_fio'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `i_sign'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to
>>>>> `metis_nodend__'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `i_dnnt'
>>>>> ../../Interfaces/.libs/libipopt.so: undefined reference to `s_wsfi'
>>>>> collect2: ld returned 1 exit status
>>>>> make[3]: *** [ipopt] Errore 1
>>>>> make[3]: uscita dalla directory
>>>>>
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Apps/AmplSolver»
>>>>> make[2]: *** [all-recursive] Errore 1
>>>>> make[2]: uscita dalla directory
>>>>>
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt/src/Apps»
>>>>> make[1]: *** [all-recursive] Errore 1
>>>>> make[1]: uscita dalla directory
>>>>> «/home/veronica/Documenti/hazmat/codice/Ipopt-3.8.1/build/Ipopt»
>>>>> make: *** [all-recursive] Errore 1
>>>>>
>>>>> Any idea of what I should do?
>>>>> Thank you
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Veronica
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Ipopt mailing list
>>>>> Ipopt at list.coin-or.org
>>>>> http://list.coin-or.org/mailman/listinfo/ipopt
>>>>>
>>>>>
>>>>
>>>
>>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
>
>
More information about the Ipopt
mailing list