[Coin-ipopt] Difficulities in installation on SunOS

Nguyen An Danh andanh at iam.rwth-aachen.de
Thu Aug 18 12:01:50 EDT 2005


Hi Andreas,
Are you still online?

1.  I have just tried 
./configure F77=mpf77 FFLAGS='-O5 -xtarget=native'
Unfortunately, it does not fix the problem. :-((

SUNOS:sunc26:COIN/Ipopt/EXAMPLES/Fortran_example[30]$ make
mpf77 -O -xtarget=native -c -o example.o `test -f 'example.f' || echo 
'./'`example.f
NOTICE: Invoking /opt/SUNWspro/bin/f90 -f77 -ftrap=%none -I/opt/SUNWhpc/
include -O -xtarget=native -c -o example.o example.f
f90: Warning: -xarch=native has been explicitly specified, or implicitly 
specified by a macro option, -xarch=native on this architecture implies 
-xarch=v8plusb which generates code that does not run on pre UltraSPARC III 
processors
example.f:
 MAIN example:
        ev_f:
        ev_g:
        ev_c:
        ev_a:
        ev_h:
bla=;\
for file in example.o; do bla="$bla `echo $file`"; done; \
mpf77 -O -xtarget=native -o example $bla -L/home/gn046ng/COIN/Ipopt/lib 
-lipopt
NOTICE: Invoking /opt/SUNWspro/bin/f90 -f77 -ftrap=%none -L/home/gn046ng/COIN/
Ipopt/lib -I/opt/SUNWhpc/include -R/opt/SUNWhpc/lib -L/opt/SUNWhpc/lib -O 
-xtarget=native -o example example.o -lipopt
f90: Warning: -xarch=native has been explicitly specified, or implicitly 
specified by a macro option, -xarch=native on this architecture implies 
-xarch=v8plusb which generates code that does not run on pre UltraSPARC III 
processors
Undefined                       first referenced
 symbol                             in file
ddot_                               /home/gn046ng/COIN/Ipopt/lib/
libipopt.a(linesearch.o)
...
dspevx_                             /home/gn046ng/COIN/Ipopt/lib/
libipopt.a(get_pz_cg.o)
idamax_                             /home/gn046ng/COIN/Ipopt/lib/
libipopt.a(linesearch.o)
ld: fatal: Symbol referencing errors. No output written to example
*** Error code 1
make: Fatal error: Command failed for target `example'

2. Then I decided to test on Linux-cluster, and here is message:
LINUX:linuxoc01:/home/gn046ng/COIN/Ipopt[55]$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking for icc... icc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.

In config.log it reports that :
LINUX:linuxoc01:/home/gn046ng/COIN/Ipopt[55]$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking for icc... icc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.

Danh.




More information about the Coin-ipopt mailing list