[Coin-ipopt] How to instal IPOPT with Pardiso (2)

Andreas Waechter andreasw at watson.ibm.com
Wed May 10 14:02:44 EDT 2006


Hi Danh,

I agree with Olaf's interpretation of the error message in config.log.

In the section "Detailed Installation Information" of the documentation 
for the C++ version of Ipopt I wrote how I tell configure to compile 64bit 
code on AIX:

------------- 8< --------------------------------

Compilation in 64bit mode sometimes requires some special consideration. 
For example, for compilation of 64bit code on AIX, we recommend the 
following configuration

./configure AR='ar -X64' AR_X='ar -X64 x' \
CC='xlc -q64' F77='xlf -q64' CXX='xlC -q64' \
CFLAGS='-O3 -bmaxdata:0x3f0000000' \
FFLAGS='-O3 -bmaxdata:0x3f0000000' \
CXXFLAGS='-qrtti=dyna -O3 -bmaxdata:0x3f0000000'

------------- 8< --------------------------------

Hope this helps,

Andreas


On Tue, 9 May 2006 Olaf.Schenk at unibas.ch wrote:

> Hi Danh,
>
>> 1501-510  Compilation successful for file conftest.f.
>> ld: 0711-736 ERROR: Input file /home/andanh/Pardiso/libpardiso_P4AIX51_64_P.so:
>> 	XCOFF64 object files are not allowed in 32-bit mode.
>> configure:11517: $? = 8
>> configure: failed program was:
>> |       program main
>> |       call PARDISO()
>> |       end
>> configure:11538: error: Pardiso library -qsmp=omp
>> /home/andanh/Pardiso/libpardiso_P4AIX51_64_P.so does not seem to work
>
>
> I can see from the config.log file that you have compiled IPOPT in 32-bit mode
> --- please use in this case the 32-bit IBM PARDISO libraries
> (libpardiso_P4AIX51_32.so) from PARDISO and not the 64.bit libaries. If you
> would like to run both IPOPT and PARDISO in 64-bit mode, you need one
> additional C and Fortran flag: "-q64".
>
> Best regards,
> Olaf
>
>
>
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>



More information about the Coin-ipopt mailing list