[Trilinos-Users] Belos/Eptra: Seeding RNG

Nico Schlömer nico.schloemer at gmail.com
Sat Mar 28 09:31:18 MDT 2015


I'm just worried that Seed() is not doing what its name suggests, namely
seeding the RNG. It appears to merely return the seed value, in which case
all the
```
X->Seed();
```
calls are utterly useless. The fixes would have to go into Belos.

–Nico

On Sat, Mar 28, 2015 at 4:29 PM Heroux, Michael A <maherou at sandia.gov>
wrote:

>  Nico,
>
>  Are you seeing that the Belos traits wrapper is not working, or Epetra
> itself?
>
>  Mike
>
>   From: Nico Schlömer <nico.schloemer at gmail.com>
> Date: Saturday, March 28, 2015 at 10:16 AM
> To: "trilinos-users at software.sandia.gov" <
> trilinos-users at software.sandia.gov>
> Subject: [EXTERNAL] [Trilinos-Users] Belos/Eptra: Seeding RNG
>
>    I find
>  ```
>  X->Seed();
>     X->Random();
>  ```
>  in Belos a couple of times, probably intending to seed the random number.
>  When looking at the code, however, I find that the seed only returns a
> variable rather than actually seeding the RNG.
>
>  How is this supposed to be used correctly?
>
>  Cheers,
>  Nico
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20150328/2c90eb51/attachment.html>


More information about the Trilinos-Users mailing list