[Ipopt-tickets] [Ipopt] #239: Configuration issue when linking Intel MKL BLAS on 64-bit Windows 7 & Cygwin
Ipopt
coin-trac at coin-or.org
Wed Jul 16 17:34:15 EDT 2014
#239: Configuration issue when linking Intel MKL BLAS on 64-bit Windows 7 &
Cygwin
---------------------+------------------------
Reporter: aero1 | Owner: ipopt-team
Type: defect | Status: new
Priority: normal | Component: Ipopt
Version: 3.11 | Severity: normal
Resolution: | Keywords:
---------------------+------------------------
Comment (by aero1):
That did not seem to remedy the issue, although I believe it changed the
output a little (and maybe it would've been a problem later on). I seem to
be running into the following error:
{{{
make[3]: Entering directory
'/home/jherman/coinipopt/build/Ipopt/src/Common'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I`echo ../../../../Ipopt/src/Common` -O3 -pipe -DNDEBUG -pedantic-
errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c -o IpDebug.lo ../../../../Ipopt/src/Common/IpDebug.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -O3 -pipe -DNDEBUG
-pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-
arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c ../../../../Ipopt/src/Common/IpDebug.cpp -o IpDebug.o
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I`echo ../../../../Ipopt/src/Common` -O3 -pipe -DNDEBUG -pedantic-
errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c -o IpJournalist.lo
../../../../Ipopt/src/Common/IpJournalist.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -O3 -pipe -DNDEBUG
-pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-
arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c ../../../../Ipopt/src/Common/IpJournalist.cpp -o
IpJournalist.o
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I`echo ../../../../Ipopt/src/Common` -O3 -pipe -DNDEBUG -pedantic-
errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c -o IpObserver.lo
../../../../Ipopt/src/Common/IpObserver.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -O3 -pipe -DNDEBUG
-pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-
arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c ../../../../Ipopt/src/Common/IpObserver.cpp -o
IpObserver.o
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I`echo ../../../../Ipopt/src/Common` -O3 -pipe -DNDEBUG -pedantic-
errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c -o IpOptionsList.lo
../../../../Ipopt/src/Common/IpOptionsList.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -O3 -pipe -DNDEBUG
-pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-
arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c ../../../../Ipopt/src/Common/IpOptionsList.cpp -o
IpOptionsList.o
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I`echo ../../../../Ipopt/src/Common` -O3 -pipe -DNDEBUG -pedantic-
errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c -o IpRegOptions.lo
../../../../Ipopt/src/Common/IpRegOptions.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -O3 -pipe -DNDEBUG
-pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-
arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c ../../../../Ipopt/src/Common/IpRegOptions.cpp -o
IpRegOptions.o
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I`echo ../../../../Ipopt/src/Common` -O3 -pipe -DNDEBUG -pedantic-
errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c -o IpTaggedObject.lo
../../../../Ipopt/src/Common/IpTaggedObject.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -O3 -pipe -DNDEBUG
-pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-
arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c ../../../../Ipopt/src/Common/IpTaggedObject.cpp -o
IpTaggedObject.o
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I`echo ../../../../Ipopt/src/Common` -O3 -pipe -DNDEBUG -pedantic-
errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c -o IpUtils.lo ../../../../Ipopt/src/Common/IpUtils.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -O3 -pipe -DNDEBUG
-pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-
arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
-DIPOPT_BUILD -c ../../../../Ipopt/src/Common/IpUtils.cpp -o IpUtils.o
../../../../Ipopt/src/Common/IpUtils.cpp:178:5: error: #error "don't have
function for random number generator"
# error "don't have function for random number generator"
^
../../../../Ipopt/src/Common/IpUtils.cpp:195:5: error: #error "don't have
function for random number generator"
# error "don't have function for random number generator"
^
../../../../Ipopt/src/Common/IpUtils.cpp: In function 'Ipopt::Number
Ipopt::IpRandom01()':
../../../../Ipopt/src/Common/IpUtils.cpp:182:3: warning: no return
statement in function returning non-void [-Wreturn-type]
}
^
Makefile:509: recipe for target 'IpUtils.lo' failed
make[3]: *** [IpUtils.lo] Error 1
make[3]: Leaving directory
'/home/jherman/coinipopt/build/Ipopt/src/Common'
Makefile:404: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/home/jherman/coinipopt/build/Ipopt/src/Common'
Makefile:666: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jherman/coinipopt/build/Ipopt'
Makefile:316: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
}}}
I found a single unanswered question about this error that seemed to
relate it to "the parallel version of IPOPT" here: http://list.coin-
or.org/pipermail/ipopt-tickets/2010-July/000403.html
Hence, I tried running this without the -fopenmp flag, but no change. I
don't seem to find any other mention of this problem. Any more helpful
hints?
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/239#comment:10>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list