[Trilinos-Users] blacs (scalapack) linking issue

Nico Schlömer nico.schloemer at ua.ac.be
Thu Jun 25 04:25:23 MDT 2009


Hi all,

I'm trying to get Trilinos to run with Scalapack, hence I need to link the 
thing against BLACS. Now, the BLACS library is pretty old and not very well 
maintained anymore, which results in a strange dependency clash not being 
resolved for many years. As outlined on

http://icl.cs.utk.edu/lapack-
forum/viewtopic.php?p=700&sid=0d590cab4834b1ca0d1674f509f5f48b

for example, at linking stage one of the libraries needs to be called *twice*, 
that is

--with-libs="/opt/blacs-1.1/LINUX_MPI_64BIT/lib/blacs_MPI-LINUX-0.a \
                 /opt/blacs-1.1/LINUX_MPI_64BIT/lib/blacsCinit_MPI-LINUX-0.a \
               /opt/blacs-1.1/LINUX_MPI_64BIT/lib/blacsF77init_MPI-LINUX-0.a \
               /opt/blacs-1.1/LINUX_MPI_64BIT/lib/blacs_MPI-LINUX-0.a"

for Trilinos' configure.
Unfortunately, Trilinos (9.0.3) seems to be smart enough to find duplicates in 
the list, and erases them. Usually desired, but not in this case!

Anyone with a similar experience, or even better a successful Scalapack 
compile?

Cheers,
Nico





More information about the Trilinos-Users mailing list