Andreas,<br>
<br>
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.60 in 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.<br>
<br>
Here is the output:<br>
<br>
[john ~/cute/ipopt/test]$ sdipo HS100<br>
<br>
Problem name: HS100<br>
<br>
Double precision version will be formed.<br>
<br>
The objective function uses 4 nonlinear groups<br>
<br>
There are 4 nonlinear inequality constraints<br>
<br>
There are 7 free variables<br>
<br>
<br>
forrtl: No such file or directory<br>
forrtl: severe (29): file not found, unit 60, file /home/john/cute/ipopt/test/fort.60<br>
Image
PC
Routine
Line Source<br>
ipomin
081E6B54
Unknown
Unknown Unknown<br>
ipomin
081E572C
Unknown
Unknown Unknown<br>
ipomin
081C3CA5
Unknown
Unknown Unknown<br>
ipomin
081A4710
Unknown
Unknown Unknown<br>
ipomin
081A4BE7
Unknown
Unknown Unknown<br>
ipomin
081B1B3F
Unknown
Unknown Unknown<br>
ipomin
0819488E
Unknown
Unknown Unknown<br>
ipomin
0804C2BB
Unknown
Unknown Unknown<br>
ipomin
0804BCA9
Unknown
Unknown Unknown<br>
Unknown
00AAFDE6
Unknown
Unknown Unknown<br>
ipomin
0804BBE1
Unknown
Unknown Unknown<br>
<br>
<br>Many thanks,<br>
<br>
John<br>
<br>
<br><div><span class="gmail_quote">2006/2/2, Andreas Waechter <<a href="mailto:andreasw@watson.ibm.com">andreasw@watson.ibm.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi John and Dominique,<br><br>John:<br><br>Please try if 'make cuter' (in the main Ipopt directory, where you also<br>typed 'make install') helps (you might have to type 'make clean' in the<br>subdirectory Apps/CUTErInterface first...).
<br><br>The command 'make cuter' creates the file ipoma.f, compiles it, and puts<br>it into the correct directory in your CUTEr installation. (This assumes<br>that you have the environment variables CUTER and MYCUTER set correctly.)
<br><br>Currently, the documentation doesn't say yet that you have to do that,<br>sorry...<br><br>Dominique:<br><br>The name of the file is indeed ipoma.f for the new C++ verion. This is to<br>avoid conflicts with ipoptma.f
from the Fortran version. Both files are<br>created by the Ipopt makefiles, compiled, and then copied into<br>$MYCUTER/double/bin.<br><br>Regards,<br><br>Andreas<br><br>On Thu, 2 Feb 2006, Dominique Orban wrote:<br><br>
> John,<br>><br>> Why is your file called ipoma.o? It should be ipoptma.o and it is coming<br>> from ipoptma.f, part of CUTEr and found in<br>> $CUTER/common/src/tools/ipoptma.f.<br>><br>> Dominique<br>
><br>> John Hedengren wrote:<br>> > I've installed CUTEr and IPOPT and am trying to run some test problems.<br>> > I'm using gcc and ifort compilers. At the linking stage there is an<br>> > undefined reference to MAIN__. I'm guessing that it is due to a blank
<br>> > ipoma.f file that is currently in the tarball distribution of ipopt v3.<br>> > Is that file supposed to be empty? If not, could someone post the file?<br>> ><br>> > Thanks,<br>> > John
<br>> ><br>> > ************************* Execution ******************************<br>> > [john ~/cute/ipopt/test]$ sdipo ROSENBR<br>> ><br>> > Problem name: ROSENBR<br>> ><br>> > Double precision version will be formed.
<br>> ><br>> > The objective function uses 1 linear group<br>> > The objective function uses 1 nonlinear group<br>> ><br>> > There are 2 free variables<br>> ><br>
> > /opt/intel/fc/9.0/lib/for_main<br>> > .o(.text+0x41): In function `main':<br>> > ./src/libfor/for_main.c: undefined reference to `MAIN__'<br>> > /home/john/cute/ipopt/test/ipomin: Command not found.
<br>> > ******************************************************************<br>> ><br>> ><br>> > ******************* Verbose Execution ****************************<br>> > $LOAD $FFLAGS -o ${PAC}min
ELFUN.o GROUP.o RANGE.o $EXTER $DRIVER $SUBR<br>> > $ALT_LIB_PATH -L$LIBDIR $SYSLIBS -lcuter $BLAS $LAPACK<br>> > ifort -no-ipo -FI -Vaxlib -O -w -cm -o ipomin ELFUN.o GROUP.o RANGE.o<br>> > /home/john/cute/cuter/CUTEr.large.pc.lnx.ifr/double/bin/ipoma.o
<br>> > -L/home/john/cute/cuter/CUTEr.large.pc.lnx.ifr/double/lib<br>> > -L/home/john/ipopt/ipopt_v3/lib -lipopt -lblas -lstdc++ -lm -lgcc<br>> > -lcuter /home/john/cute/cuter/CUTEr.large.pc.lnx.ifr/double/bin/linpac.o
<br>> > /opt/intel/fc/9.0/lib/for_main.o(.text+0x41): In function `main':<br>> > ./src/libfor/for_main.c: undefined reference to `MAIN__'<br>> ><br>> > if ( $cwd != $EXEC ) $MV ${PAC}min $EXEC/${PAC}min
<br>> > if ( /home/john/cute/ipopt/test != /home/john/cute/ipopt/test ) /bin/mv<br>> > ipomin /home/john/cute/ipopt/test/ipomin<br>> > ******************************************************************<br>
> ><br>> ><br>> > Could this be caused by an empty ipoma.f file?<br>> ><br>> > ****************** ls -l *****************************************<br>> > -rw-rw-r-- 1 john john 26918 Jan 25 00:04
CUTErInterface.f<br>> > -rwxrwxr-x 1 john john 6557 Feb 1 15:50 ipo<br>> > *************** blank file<br>> > -rw-rw-r-- 1 john john 0 Jan 25 00:04 ipoma.f<br>> > ***************<br>> > -rw-rw-r-- 1 john john 649 Jan 25 16:59
ipoma.o<br>> > -rw-rw-r-- 1 john john 3071 Jan 25 00:04 <a href="http://ipo.pro">ipo.pro</a> <<a href="http://ipo.pro/">http://ipo.pro/</a>><br>> > -rw-rw-r-- 1 john john 782 Jan 25 16:59 libdummy.a
<br>> > -rw-rw-r-- 1 john john 13528 Jan 31 15:21 Makefile<br>> > -rw-rw-r-- 1 john john 1157 Jan 25 00:04 <a href="http://Makefile.am">Makefile.am</a> <<a href="http://makefile.am/">http://makefile.am/</a>
><br>> > -rw-rw-r-- 1 john john 13197 Jan 25 00:04 <a href="http://Makefile.in">Makefile.in</a> <<a href="http://makefile.in/">http://makefile.in/</a>><br>> > -rwxrwxr-x 1 john john 4342 Feb 1 15:50 sdipo
<br>> > -rw-rw-r-- 1 john john 856 Jan 25 00:04 <a href="http://sdipo.pro">sdipo.pro</a> <<a href="http://sdipo.pro/">http://sdipo.pro/</a>><br>> > ******************************************************************
<br>> ><br>> > I checked the current tarball distribution for ipopt v3 and the file is<br>> > also zero bytes.<br>> ><br>> ><br>> > ------------------------------------------------------------------------
<br>> ><br>> > _______________________________________________<br>> > Coin-ipopt mailing list<br>> > <a href="mailto:Coin-ipopt@list.coin-or.org">Coin-ipopt@list.coin-or.org</a><br>> > <a href="http://list.coin-or.org/mailman/listinfo/coin-ipopt">
http://list.coin-or.org/mailman/listinfo/coin-ipopt</a><br>> _______________________________________________<br>> Coin-ipopt mailing list<br>> <a href="mailto:Coin-ipopt@list.coin-or.org">Coin-ipopt@list.coin-or.org
</a><br>> <a href="http://list.coin-or.org/mailman/listinfo/coin-ipopt">http://list.coin-or.org/mailman/listinfo/coin-ipopt</a><br>><br><br></blockquote></div><br>