On Mon, 2009-05-18 at 13:25 -0500, Dirk Eddelbuettel wrote:
> On 18 May 2009 at 19:57, Christophe Prud'homme wrote:
> | Adam
> | 
> | here is what I get at link time with the current (3.0) petsc version
> | 
> | /usr/lib/libpetsc.a(sprng.o): In function 
> | `PetscRandomGetValueImaginary_Sprng':
> | (.text+0xe1): undefined reference to `get_rn_dbl_simple_mpi'
> | /usr/lib/libpetsc.a(sprng.o): In function 
> | `PetscRandomGetValueImaginary_Sprng':
> | (.text+0xfa): undefined reference to `get_rn_dbl_simple_mpi'
> | /usr/lib/libpetsc.a(sprng.o): In function `PetscRandomGetValueReal_Sprng':
> | (.text+0x142): undefined reference to `get_rn_dbl_simple_mpi'
> | /usr/lib/libpetsc.a(sprng.o): In function `PetscRandomGetValueReal_Sprng':
> | (.text+0x15b): undefined reference to `get_rn_dbl_simple_mpi'
> | /usr/lib/libpetsc.a(sprng.o): In function `PetscRandomGetValue_Sprng':
> | (.text+0x1a3): undefined reference to `get_rn_dbl_simple_mpi'
> | /usr/lib/libpetsc.a(sprng.o):(.text+0x1bc): more undefined references to 
> | `get_rn_dbl_simple_mpi' follow
> | /usr/lib/libpetsc.a(sprng.o): In function `PetscRandomSeed_Sprng':
> | (.text+0x1ef): undefined reference to `init_rng_simple_mpi'
> | 
> | Given Dirk's comment regarding sprng, perhaps we should disable it for now ?

Yup, it's disabled in my current build.  Will upload when I finish
testing.

> So is the following a concise summary
> 
>    sprng2         available in debian, and used by r-cran-rsprng

But built without MPI.

>    sprng4         _not yet_ available in debian, but possibly useful 
>                   for PetSc ?
> 
> I.e. no overlap?  As I understand the sprong website, versions 2 and 4 are
> not plug-and-play.  So if you guys have use of for sprng _version 4_ you may
> just have to package it, no?    I could then try to port the R package
> forward and we could all get rid of the old sprng2

Actually, PETSc's linkage is made for version 1 (made some changes to
try to support version 2), so we shouldn't be a factor in this decision.
I wanted to do some RNG stuff and added the link, but it seems that was
misguided.

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to