[Coin-ipopt] example perform?
Andreas Waechter
andreasw at watson.ibm.com
Fri Apr 21 12:33:45 EDT 2006
Hi Zhyi,
This error message is strange. If you downloaded the d1mach.f code from
netlib (at http://www.netlib.org/blas/d1mach.f), there is no symbol called
"seterr". Please make sure that you use the right version of d1mach.f.
Other than that, the problem could be that you are using different
compilers to compile Ipopt and the Example? (If you use th eMakefile in
the Example directory that is generated by the Ipopt configuration, it
should be the same...)
Hope this helps,
Andreas
On Thu, 20 Apr 2006, zhyi wrote:
> Hi,
> I performed the fortran example but failed, the
> following is the error message, why? And I have copie
> the seterr.f to the directory where d1mach is. the
> same!
> -----------------------------
> [root at localhost Fortran_example]# make
> bla=;\
> for file in example.o; do bla="$bla `echo $file`";
> done; \
> f77 -O3 -funroll-loops -o example $bla
> -L/home/liu/mnt/COIN/Ipopt/lib -lipopt -llapack -lblas
> /home/liu/mnt/COIN/Ipopt/lib/libipopt.a(d1mach.o)(.text+0x35):
> In function `d1mach_':
> : undefined reference to `seterr_'
> collect2: ld returned 1 exit status
> make: *** [example] Error 1
>
>
> Regards
> zhyi
>
> ------------------------
>
> ZIP code: 210098
> Addr: School of Sciences, Hohai University, Nanjing, China
> Tel: 0086-25-52147823
> zhyi100 at yahoo.com.cn
> zhyi at hhu.edu.cn
>
> ------------------------
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Coin-ipopt mailing list
> Coin-ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-ipopt
>
More information about the Coin-ipopt
mailing list