[petsc-users] SLepc configure with Arpack

Jose E. Roman jroman at dsic.upv.es
Fri May 3 10:33:35 CDT 2013


El 03/05/2013, a las 17:11, Dharmendar Reddy escribió:

> Hello,
>          I am trying to configure slpec with arpack. I installed the arpack-ng-3.2 in my home directory : $HOME/arpack
> 
> i configure slpec as:
> 
> ./configure --with-arpack-dir=$HOME/arpack/lib --with-arpack-flags='-lparpack -larpack"
> 
> The configure wroks, i could compile the code. However, tests fails. 
> I do not have $HOME/arpack/lib in the LD_LIBRARY_PATH. Tests pas iff i add arpack lib path to LD_LIB_PATH. 
> 
> I do not want to do that, i want to the configure to take care of the rpath
> 
> I tried  --with-arpack-flags="-Wl, rpath, $HOME/arpack/lib -L$HOME/arpack/lib -lparpack -larpack" 
> 
> This does not work.
> 
> What should i do ?
> 
> thanks
> Reddy
> 

I think you have to add a dash before rpath and remove the blank before $HOME/arpack/lib. See examples here
http://stackoverflow.com/questions/6562403/i-dont-understand-wl-rpath-wl

Jose



More information about the petsc-users mailing list