[Coin-ipopt] Re: Empty ipoma.f file???
John Hedengren
john.hedengren at gmail.com
Thu Feb 2 17:47:19 EST 2006
Andreas,
I used the 'make clean' before trying 'make cuter' again and it got me to
the next problem...but it is progress. Now it cannot find the file
fort.60in the run directory. I'll dig into it tomorrow to see where
file UNIT=60
is generated but I thought others may have run into this before. I've
tested this in multiple run directories and with multiple SIF problems.
Here is the output:
[john ~/cute/ipopt/test]$ sdipo HS100
Problem name: HS100
Double precision version will be formed.
The objective function uses 4 nonlinear groups
There are 4 nonlinear inequality constraints
There are 7 free variables
forrtl: No such file or directory
forrtl: severe (29): file not found, unit 60, file
/home/john/cute/ipopt/test/fort.60
Image PC Routine Line Source
ipomin 081E6B54 Unknown Unknown Unknown
ipomin 081E572C Unknown Unknown Unknown
ipomin 081C3CA5 Unknown Unknown Unknown
ipomin 081A4710 Unknown Unknown Unknown
ipomin 081A4BE7 Unknown Unknown Unknown
ipomin 081B1B3F Unknown Unknown Unknown
ipomin 0819488E Unknown Unknown Unknown
ipomin 0804C2BB Unknown Unknown Unknown
ipomin 0804BCA9 Unknown Unknown Unknown
Unknown 00AAFDE6 Unknown Unknown Unknown
ipomin 0804BBE1 Unknown Unknown Unknown
Many thanks,
John
2006/2/2, Andreas Waechter <andreasw at watson.ibm.com>:
>
> Hi John and Dominique,
>
> John:
>
> Please try if 'make cuter' (in the main Ipopt directory, where you also
> typed 'make install') helps (you might have to type 'make clean' in the
> subdirectory Apps/CUTErInterface first...).
>
> The command 'make cuter' creates the file ipoma.f, compiles it, and puts
> it into the correct directory in your CUTEr installation. (This assumes
> that you have the environment variables CUTER and MYCUTER set correctly.)
>
> Currently, the documentation doesn't say yet that you have to do that,
> sorry...
>
> Dominique:
>
> The name of the file is indeed ipoma.f for the new C++ verion. This is to
> avoid conflicts with ipoptma.f from the Fortran version. Both files are
> created by the Ipopt makefiles, compiled, and then copied into
> $MYCUTER/double/bin.
>
> Regards,
>
> Andreas
>
> On Thu, 2 Feb 2006, Dominique Orban wrote:
>
> > 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
> > _______________________________________________
> > Coin-ipopt mailing list
> > Coin-ipopt at list.coin-or.org
> > http://list.coin-or.org/mailman/listinfo/coin-ipopt
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20060202/6f805af2/attachment.html
More information about the Coin-ipopt
mailing list