[petsc-users] install Slepc wth Arpack

Lorenzo Zanon zanon at aices.rwth-aachen.de
Wed Apr 23 10:02:13 CDT 2014


I would like to install Slepc with Arpack, but the procedure I'm using 
is not working.

I downloaded arpack-ng and configured like this:

./configure --prefix=$HOME/Desktop/arpack_dir

So the libraries can be found inside arpack_dir. Then I set the 
PETSC_DIR, PETSC_ARCH and SLEPC_DIR. Following the instructions on the 
website, inside the Slepc3.4.4 directory, I configure with:

./configure --with-arpack-dir=$HOME/Desktop/arpack_dir/lib 
--with-arpack-flags='-lparpack -larpack'

which unfortunately doesn't work:

Checking environment...
Checking PETSc installation...
Checking ARPACK library...
ERROR: Unable to link with library ARPACK
ERROR: In directories /home/lz474069/Desktop/arpack_dir/lib
ERROR: With flags -L/home/lz474069/Desktop/arpack_dir/lib -lparpack 

ERROR: See "arch-linux2-c-debug/conf/configure.log" file for details

Can anybody see where am I making a mistake?


Lorenzo Zanon, M.Sc.
Doctoral Candidate

Graduate School AICES
RWTH Aachen University
Schinkelstraße 2
52062 Aachen

zanon at aices.rwth-aachen.de
+49 (0)241 80 99 147

More information about the petsc-users mailing list