[Ipopt] Help installing pardiso w ipopt
Andreas Waechter
awaechter.iems at gmail.com
Wed Sep 12 16:24:37 EDT 2012
Or maybe the pardiso lib should be after libipopt.so?
On Sep 12, 2012, at 15:06, Stefan Vigerske <stefan at math.hu-berlin.de> wrote:
> Hi,
>
> Could be an issue with fortran naming conventions.
> You could check what are the names for the pardiso functions by doing
> nm /opt/ipopt/3102p/libpardiso412-GNU450-X86-64.so
> If that is the problem, some small adjustments in IpPardisoSolverInterface.cpp should get you around this.
>
> Stefan
>
> On 09/12/2012 02:52 AM, Rishi Amrit wrote:
>> Hello everyone,
>>
>> I've been trying to make the latest (the only version available) of
>> pardiso with Ipopt. Following the instructions, when I run make, I get the
>> following error:
>>
>>
>> g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type
>> -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion
>> -Wno-unknown-pragmas -Wno-long-long -fPIC -fexceptions -DIPOPT_BUILD
>> -o .libs/ipopt ampl_ipopt.o -fopenmp
>> /opt/ipopt/3102p/libpardiso412-GNU450-X86-64.so
>> ./.libs/libipoptamplinterface.so ../../Interfaces/.libs/libipopt.so
>> /opt/ipopt/3102p/ThirdParty/ASL/.libs/libcoinasl.so
>> /opt/ipopt/3102p/ThirdParty/Mumps/.libs/libcoinmumps.so
>> -L/usr/lib/gcc/x86_64-linux-gnu/4.6
>> -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu
>> -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib
>> -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/../lib
>> -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../.. -lpthread
>> /opt/ipopt/3102p/ThirdParty/HSL/.libs/libcoinhsl.so
>> /opt/ipopt/3102p/ThirdParty/Metis/.libs/libcoinmetis.so -lgfortran
>> -lgcc_s -lquadmath -llapack -lblas -lm -ldl -Wl,--rpath
>> -Wl,/opt/ipopt/3102/install/lib
>> ../../Interfaces/.libs/libipopt.so: undefined reference to `pardiso_'
>> ../../Interfaces/.libs/libipopt.so: undefined reference to `pardisoinit_'
>> collect2: ld returned 1 exit status
>> make[3]: *** [ipopt] Error 1
>> make[3]: Leaving directory `/opt/ipopt/3102p/Ipopt/src/Apps/AmplSolver'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/opt/ipopt/3102p/Ipopt/src/Apps'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/opt/ipopt/3102p/Ipopt'
>>
>>
>> Not sure why it is not able to find those symbols in the library file that
>> I provided. Any help would be greatly appreciated.
>>
>> Thanks,
>>
>> Kind regards,
>> Rishi
>>
>>
>>
>> _______________________________________________
>> Ipopt mailing list
>> Ipopt at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/ipopt
>>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
More information about the Ipopt
mailing list