← Back to team overview

dorsal team mailing list archive

Re: Problem building against SCOTCH

 

On Mon, Aug 23, 2010 at 04:15:14PM +0200, Anders Logg wrote:
> On Mon, Aug 23, 2010 at 03:08:56PM +0100, Garth N. Wells wrote:
> > On Mon, 2010-08-23 at 15:49 +0200, Anders Logg wrote:
> > > Linking against DOLFIN currently fails on Lucid:
> > >
> > > /usr/bin/ld: /usr/local/lib/libscotch.a(parser.o): relocation
> > > R_X86_64_32 against `.rodata' can not be used when making a shared
> > > object; recompile with -fPIC
> > > /usr/local/lib/libscotch.a: could not read symbols: Bad value
> > >
> > > Should -fPIC be added somewhere?
> > >
> >
> > Check that it's picking up the right platform-dependent Makefile.
> >
> > Garth
>
> I'm using i686_pc_linux2.
>
> Is that the correct file for Lucid?

I should probably be using

  x86-64_pc_linux2 (Lucid, 64 bit)
  i686_pc_linux2   (Lucid, 32 bit)

How do I make the choice between the two?

--
Anders



References