[petsc-dev] small patch for sprng

Barry Smith bsmith at mcs.anl.gov
Mon Jan 28 07:30:05 CST 2013


  Nathan,

    Thanks. Now fixed.

   Barry

On Jan 28, 2013, at 5:45 AM, Nathan Collier <nathaniel.collier at gmail.com> wrote:

> FYI,
> 
> Seems an include is moved in petsc-dev and causes compile problems when configuring PETSc to use sprng.
> 
> --- a/src/sys/classes/random/impls/sprng/sprng.c	Mon Jan 28 00:15:00 2013 -0600
> +++ b/src/sys/classes/random/impls/sprng/sprng.c	Mon Jan 28 14:38:46 2013 +0300
> @@ -1,5 +1,5 @@
>  
> -#include <../src/sys/random/randomimpl.h>
> +#include <../src/sys/classes/random/randomimpl.h>
>  #if defined (PETSC_HAVE_STDLIB_H)
>  #include <stdlib.h>
>  #endif
> 
> 
> -- 
> Nathan Collier
> Research Scientist
> Center for Numerical Porous Media
> King Abdullah University of Science and Technology (KAUST)
> http://www.mendeley.com/profiles/nathan-collier/




More information about the petsc-dev mailing list