[Coin-ipopt] Re: Empty ipoma.f file???

Dominique Orban Dominique.Orban at polymtl.ca
Thu Feb 2 12:14:37 EST 2006


John,

Why is your file called ipoma.o? It should be ipoptma.o and it is coming 
from ipoptma.f, part of CUTEr and found in 
$CUTER/common/src/tools/ipoptma.f.

Dominique

John Hedengren wrote:
> I've installed CUTEr and IPOPT and am trying to run some test problems.  
> I'm using gcc and ifort compilers.  At the linking stage there is an 
> undefined reference to MAIN__.  I'm guessing that it is due to a blank 
> ipoma.f file that is currently in the tarball distribution of ipopt v3.  
> Is that file supposed to be empty?  If not, could someone post the file?
> 
> Thanks,
> John
> 
> ************************* Execution ******************************
> [john ~/cute/ipopt/test]$ sdipo ROSENBR
> 
>  Problem name: ROSENBR
> 
>  Double precision version will be formed.
> 
>  The objective function uses        1 linear group
>  The objective function uses        1 nonlinear group
> 
>  There are        2 free variables
> 
> /opt/intel/fc/9.0/lib/for_main
> .o(.text+0x41): In function `main':
> ./src/libfor/for_main.c: undefined reference to `MAIN__'
> /home/john/cute/ipopt/test/ipomin: Command not found.
> ******************************************************************
> 
> 
> ******************* Verbose Execution ****************************
> $LOAD $FFLAGS -o ${PAC}min ELFUN.o GROUP.o RANGE.o $EXTER $DRIVER $SUBR 
> $ALT_LIB_PATH -L$LIBDIR $SYSLIBS -lcuter $BLAS $LAPACK
> ifort -no-ipo -FI -Vaxlib -O -w -cm -o ipomin ELFUN.o GROUP.o RANGE.o 
> /home/john/cute/cuter/CUTEr.large.pc.lnx.ifr/double/bin/ipoma.o 
> -L/home/john/cute/cuter/CUTEr.large.pc.lnx.ifr/double/lib 
> -L/home/john/ipopt/ipopt_v3/lib -lipopt -lblas -lstdc++ -lm -lgcc 
> -lcuter /home/john/cute/cuter/CUTEr.large.pc.lnx.ifr/double/bin/linpac.o
> /opt/intel/fc/9.0/lib/for_main.o(.text+0x41): In function `main':
> ./src/libfor/for_main.c: undefined reference to `MAIN__'
> 
> if ( $cwd != $EXEC ) $MV ${PAC}min $EXEC/${PAC}min
> if ( /home/john/cute/ipopt/test != /home/john/cute/ipopt/test ) /bin/mv 
> ipomin /home/john/cute/ipopt/test/ipomin
> ******************************************************************
> 
> 
> Could this be caused by an empty ipoma.f file?
> 
> ****************** ls -l *****************************************
> -rw-rw-r--  1 john john 26918 Jan 25 00:04 CUTErInterface.f
> -rwxrwxr-x  1 john john  6557 Feb  1 15:50 ipo
> *************** blank file
> -rw-rw-r--  1 john john     0 Jan 25 00:04 ipoma.f
> ***************
> -rw-rw-r--  1 john john   649 Jan 25 16:59 ipoma.o
> -rw-rw-r--  1 john john  3071 Jan 25 00:04 ipo.pro <http://ipo.pro/>
> -rw-rw-r--  1 john john   782 Jan 25 16:59 libdummy.a
> -rw-rw-r--  1 john john 13528 Jan 31 15:21 Makefile
> -rw-rw-r--  1 john john  1157 Jan 25 00:04 Makefile.am <http://makefile.am/>
> -rw-rw-r--  1 john john 13197 Jan 25 00:04 Makefile.in <http://makefile.in/>
> -rwxrwxr-x  1 john john  4342 Feb  1 15:50 sdipo
> -rw-rw-r--  1 john john   856 Jan 25 00:04 sdipo.pro <http://sdipo.pro/>
> ******************************************************************
> 
> I checked the current tarball distribution for ipopt v3 and the file is 
> also zero bytes.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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