[Ipopt] Using ipopt with PARDISO
Renata Leitao Dias da Silva
renata at mat.uc.pt
Wed Aug 20 17:38:09 EDT 2008
Hi,
Everything works fine now. I just needed to use the command:
% configure --with-pardiso="-fopenmp $HOME/PARDISO/libpardiso.so"
--with-lapack="$HOME/LAPACK/liblapack.a"
So the lapack library was missing. I thought the command "./get.Lapack"
was sufficient to install the Lapack necessary subroutines but I was
wrong.
Thanks very much to all of you, Andrey, Olaf, and Stefan, who kindly
answer to my question.
Cheers,
Renata
--
Renata Silva
Department of Mathematics
University of Coimbra
On Wed, 20 Aug 2008, Olaf.Schenk at unibas.ch wrote:
> Hi Renata,
>
> >% configure --with-pardiso="$HOME/PARDISO/libpardiso.so"
> >checking whether -lblas has BLAS... yes
> >checking whether LAPACK is already available with BLAS library... no
> >checking whether -llapack has LAPACK... no
> >configure: Checking for Harwell subroutine library
> >checking whether user-supplied Pardiso library
> >"/users/extras/renata/PARDISO/libpardiso.so" works... configure: error:
> >Pardiso library /users/extras/renata/PARDISO/libpardiso.so does not seem
> >to work
>
> The PARDISO solver needs the (optimized!) BLAS and LAPACK routines. Please try
> the following e.g.
>
> ./configure --with-pardiso="libpardiso_GNU_AMD64_INT64_P.so"
> --with-blas="-L/opt/Intel/mkl/current/lib/em64t -lmkl_lapack -lmkl_p4n -v
> -L/usr/lib64/ -lpthread /usr/lib64/libgfortran.a -lg2c -lpthread
> /usr/local/gcc/4.2.0/lib64/libgomp.a -lm" F77="gfortran42" CC=gcc42
> CFLAGS="/usr/local/gcc/4.2.0/lib64/libgomp.a -O3 -lpthread"
> FFLAGS="/usr/local/gcc/4.2.0/lib64/libgomp.a -fopenmp -O3 -lpthread
> -fno-second-underscore"
>
> and let me know the result.
>
> Olaf
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
More information about the Ipopt
mailing list